Item
Also removed ItemForcedInsideWorld set, instead all items are forced inside world
This commit is contained in:
1 parent
4b4205a862
commit
345eb475f1
7 files changed
+77
-88
No files matched your search
@@ -1435,8 +1435,7 @@ namespace CalamityMod.Items
|
||||
#region PostUpdate
|
||||
public override void PostUpdate(Item item)
|
||||
{
|
||||
if (CalamityItemSets.ItemForcedInsideWorld[item.type])
|
||||
CalamityUtils.ForceItemIntoWorld(item);
|
||||
CalamityUtils.ForceItemIntoWorld(item);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -24,12 +24,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public static int AftershotCooldownFrames = 17;
|
||||
public static int FullChargeFrames = 88;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
CalamityItemSets.ShowScalingCritDamageTooltip[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 112;
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.staff[Type] = true;
|
||||
CalamityItemSets.ShowScalingCritDamageTooltip[Type] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,11 +13,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override int ProjectileType => ModContent.ProjectileType<GildedProboscisProj>();
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
CalamityItemSets.ShowScalingCritDamageTooltip[Type] = true;
|
||||
}
|
||||
public override bool SizeModifiers => false;
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -18,10 +18,6 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
CalamityItemSets.ShowScalingCritDamageTooltip[Type] = true;
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 40;
|
||||
|
||||
@@ -31,16 +31,16 @@ namespace CalamityMod.Systems.Collections
|
||||
/// </summary>
|
||||
public static bool[] BuffedByAmalgam = Factory.CreateNamedSet("BuffedByAmalgam")
|
||||
.Description("Allows this buff to have its duration extended with The Amalgam equipped. Also used to remove buffs when contacting the Whispering Maelstrom in Get fixed boi.")
|
||||
.RegisterBoolSet(BuffID.ObsidianSkin, BuffID.Regeneration, BuffID.Swiftness, BuffID.Gills, BuffID.Ironskin, BuffID.ManaRegeneration,
|
||||
BuffID.MagicPower, BuffID.Featherfall, BuffID.Spelunker, BuffID.Invisibility, BuffID.Shine, BuffID.NightOwl, BuffID.Battle, BuffID.Thorns, BuffID.WaterWalking,
|
||||
BuffID.Archery, BuffID.Hunter, BuffID.Gravitation, BuffID.Tipsy, BuffID.WellFed, BuffID.WellFed2, BuffID.WellFed3, BuffID.Honey, BuffID.WeaponImbueVenom,
|
||||
BuffID.WeaponImbueCursedFlames, BuffID.WeaponImbueFire, BuffID.WeaponImbueGold, BuffID.WeaponImbueIchor, BuffID.WeaponImbueNanites, BuffID.WeaponImbueConfetti,
|
||||
BuffID.WeaponImbuePoison, BuffID.Lucky, BuffID.Mining, BuffID.Heartreach, BuffID.Calm, BuffID.Builder, BuffID.Titan, BuffID.Flipper, BuffID.Summoning, BuffID.Dangersense,
|
||||
BuffID.AmmoReservation, BuffID.Lifeforce, BuffID.Endurance, BuffID.Rage, BuffID.Inferno, BuffID.Wrath, BuffID.Lovestruck, BuffID.Stinky, BuffID.Fishing, BuffID.Sonar,
|
||||
BuffID.Crate, BuffID.Warmth, BuffID.SugarRush, BuffType<AnechoicCoatingBuff>(), BuffType<AstralInjectionBuff>(), BuffType<BaguetteBuff>(), BuffType<BloodfinBoost>(),
|
||||
BuffType<BoundingBuff>(), BuffType<CalciumBuff>(), BuffType<CeaselessHunger>(), BuffType<GravityNormalizerBuff>(), BuffType<Omniscience>(), BuffType<PhotosynthesisBuff>(),
|
||||
BuffType<ShadowBuff>(), BuffType<Soaring>(), BuffType<SulphurskinBuff>(), BuffType<WeaponImbueBrimstone>(), BuffType<WeaponImbueCrumbling>(), BuffType<WeaponImbueHolyFlames>(),
|
||||
BuffType<Zen>(), BuffType<Zerg>(), BuffType<BaconOilBuff>(), BuffType<BloodyMaryBuff>(), BuffType<CaribbeanRumBuff>(), BuffType<CinnamonRollBuff>(), BuffType<EverclearBuff>(), BuffType<EvergreenGinBuff>(),
|
||||
.RegisterBoolSet(BuffID.ObsidianSkin, BuffID.Regeneration, BuffID.Swiftness, BuffID.Gills, BuffID.Ironskin, BuffID.ManaRegeneration, BuffID.MagicPower, BuffID.Featherfall,
|
||||
BuffID.Spelunker, BuffID.Invisibility, BuffID.Shine, BuffID.NightOwl, BuffID.Battle, BuffID.Thorns, BuffID.WaterWalking, BuffID.Archery, BuffID.Hunter, BuffID.Gravitation,
|
||||
BuffID.Tipsy, BuffID.WellFed, BuffID.WellFed2, BuffID.WellFed3, BuffID.Honey, BuffID.WeaponImbueVenom, BuffID.WeaponImbueCursedFlames, BuffID.WeaponImbueFire,
|
||||
BuffID.WeaponImbueGold, BuffID.WeaponImbueIchor, BuffID.WeaponImbueNanites, BuffID.WeaponImbueConfetti, BuffID.WeaponImbuePoison, BuffID.Lucky, BuffID.Mining,
|
||||
BuffID.Heartreach, BuffID.Calm, BuffID.Builder, BuffID.Titan, BuffID.Flipper, BuffID.Summoning, BuffID.Dangersense, BuffID.AmmoReservation, BuffID.Lifeforce, BuffID.Endurance,
|
||||
BuffID.Rage, BuffID.Inferno, BuffID.Wrath, BuffID.Lovestruck, BuffID.Stinky, BuffID.Fishing, BuffID.Sonar, BuffID.Crate, BuffID.Warmth, BuffID.SugarRush,
|
||||
BuffType<AnechoicCoatingBuff>(), BuffType<AstralInjectionBuff>(), BuffType<BaguetteBuff>(), BuffType<BloodfinBoost>(), BuffType<BoundingBuff>(), BuffType<CalciumBuff>(),
|
||||
BuffType<CeaselessHunger>(), BuffType<GravityNormalizerBuff>(), BuffType<Omniscience>(), BuffType<PhotosynthesisBuff>(), BuffType<ShadowBuff>(), BuffType<Soaring>(),
|
||||
BuffType<SulphurskinBuff>(), BuffType<WeaponImbueBrimstone>(), BuffType<WeaponImbueCrumbling>(), BuffType<WeaponImbueHolyFlames>(), BuffType<Zen>(), BuffType<Zerg>(),
|
||||
BuffType<BaconOilBuff>(), BuffType<BloodyMaryBuff>(), BuffType<CaribbeanRumBuff>(), BuffType<CinnamonRollBuff>(), BuffType<EverclearBuff>(), BuffType<EvergreenGinBuff>(),
|
||||
BuffType<PurpleHazeBuff>(), BuffType<FireballBuff>(), BuffType<GrapeBeerBuff>(), BuffType<MargaritaBuff>(), BuffType<MoonshineBuff>(), BuffType<MoscowMuleBuff>(),
|
||||
BuffType<RedWineBuff>(), BuffType<RumBuff>(), BuffType<ScrewdriverBuff>(), BuffType<StarBeamRyeBuff>(), BuffType<TequilaBuff>(), BuffType<TequilaSunriseBuff>(),
|
||||
BuffType<Trippy>(), BuffType<VodkaBuff>(), BuffType<WhiskeyBuff>(), BuffType<WhiteWineBuff>());
|
||||
@@ -52,12 +52,12 @@ namespace CalamityMod.Systems.Collections
|
||||
/// </summary>
|
||||
public static bool[] IsPersistentBuff = Factory.CreateNamedSet("IsPersistentBuff")
|
||||
.Description("Prevents persistent buffs from having their persistence removed by The Amalgam when it is unequipped.")
|
||||
.RegisterBoolSet(BuffID.WeaponImbueVenom, BuffID.WeaponImbueCursedFlames, BuffID.WeaponImbueFire, BuffID.WeaponImbueGold,
|
||||
BuffID.WeaponImbueIchor, BuffID.WeaponImbueNanites, BuffID.WeaponImbueConfetti, BuffID.WeaponImbuePoison, BuffType<WeaponImbueBrimstone>(),
|
||||
BuffType<WeaponImbueCrumbling>(), BuffType<WeaponImbueHolyFlames>(), BuffType<BaconOilBuff>(), BuffType<BloodyMaryBuff>(), BuffType<CaribbeanRumBuff>(), BuffType<CinnamonRollBuff>(), BuffType<EverclearBuff>(),
|
||||
BuffType<EvergreenGinBuff>(), BuffType<FireballBuff>(), BuffType<GrapeBeerBuff>(), BuffType<ManhattanBuff>(), BuffType<MargaritaBuff>(), BuffType<MoonshineBuff>(),
|
||||
BuffType<MoscowMuleBuff>(), BuffType<OldFashionedBuff>(), BuffType<PurpleHazeBuff>(), BuffType<RedWineBuff>(), BuffType<RumBuff>(), BuffType<ScrewdriverBuff>(),
|
||||
BuffType<StarBeamRyeBuff>(), BuffType<TequilaBuff>(), BuffType<TequilaSunriseBuff>(), BuffType<VodkaBuff>(), BuffType<WhiskeyBuff>(), BuffType<WhiteWineBuff>());
|
||||
.RegisterBoolSet(BuffID.WeaponImbueVenom, BuffID.WeaponImbueCursedFlames, BuffID.WeaponImbueFire, BuffID.WeaponImbueGold, BuffID.WeaponImbueIchor, BuffID.WeaponImbueNanites,
|
||||
BuffID.WeaponImbueConfetti, BuffID.WeaponImbuePoison, BuffType<WeaponImbueBrimstone>(), BuffType<WeaponImbueCrumbling>(), BuffType<WeaponImbueHolyFlames>(),
|
||||
BuffType<BaconOilBuff>(), BuffType<BloodyMaryBuff>(), BuffType<CaribbeanRumBuff>(), BuffType<CinnamonRollBuff>(), BuffType<EverclearBuff>(), BuffType<EvergreenGinBuff>(),
|
||||
BuffType<FireballBuff>(), BuffType<GrapeBeerBuff>(), BuffType<ManhattanBuff>(), BuffType<MargaritaBuff>(), BuffType<MoonshineBuff>(), BuffType<MoscowMuleBuff>(),
|
||||
BuffType<OldFashionedBuff>(), BuffType<PurpleHazeBuff>(), BuffType<RedWineBuff>(), BuffType<RumBuff>(), BuffType<ScrewdriverBuff>(), BuffType<StarBeamRyeBuff>(),
|
||||
BuffType<TequilaBuff>(), BuffType<TequilaSunriseBuff>(), BuffType<VodkaBuff>(), BuffType<WhiskeyBuff>(), BuffType<WhiteWineBuff>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for a buff type, then that buff is considered to be a debuff.<br/>
|
||||
@@ -66,17 +66,17 @@ namespace CalamityMod.Systems.Collections
|
||||
/// </summary>
|
||||
public static bool[] IsDebuff = Factory.CreateNamedSet("IsDebuff")
|
||||
.Description("General-purpose set with several different uses, including Crown Jewel line regen, removal via Cleansing Jelly line aura, etc.")
|
||||
.RegisterBoolSet(BuffID.Poisoned, BuffID.Darkness, BuffID.Cursed, BuffID.OnFire, BuffID.Bleeding, BuffID.Confused, BuffID.Slow, BuffID.Weak,
|
||||
BuffID.Silenced, BuffID.BrokenArmor, BuffID.CursedInferno, BuffID.Frostburn, BuffID.Chilled, BuffID.Frozen, BuffID.Burning, BuffID.Suffocation, BuffID.Ichor,
|
||||
BuffID.Venom, BuffID.Blackout, BuffID.Electrified, BuffID.Rabies, BuffID.Webbed, BuffID.Stoned, BuffID.Dazed, BuffID.VortexDebuff, BuffID.WitheredArmor, BuffID.WitheredWeapon, BuffID.ShadowFlame,
|
||||
BuffID.OgreSpit, BuffID.BetsysCurse, BuffID.Wet, BuffID.Slimed, BuffID.OnFire3, BuffID.Frostburn2, BuffType<SulphuricPoisoning>(), BuffType<Shadowflame>(), BuffType<Daybroken>(), BuffType<BrimstoneFlames>(), BuffType<BurningBlood>(),
|
||||
BuffType<BrainRot>(), BuffType<ElementalMix>(), BuffType<GodSlayerInferno>(), BuffType<AstralInfectionDebuff>(), BuffType<HolyFlames>(),
|
||||
BuffType<Irradiated>(), BuffType<Plague>(), BuffType<CrushDepth>(), BuffType<HadopelagicPressure>(), BuffType<RiptideDebuff>(), BuffType<MarkedforDeath>(),
|
||||
BuffType<HeavyBleeding>(), BuffType<Laceration>(), BuffType<AbsorberAffliction>(), BuffType<ArmorCrunch>(), BuffType<Crumbling>(), BuffType<Vaporfied>(), BuffType<Eutrophication>(),
|
||||
BuffType<Dragonfire>(), BuffType<VermillionFlux>(), BuffType<AuricRebuke>(), BuffType<StaticDischarge>(), BuffType<Nightwither>(), BuffType<Voidfrost>(),
|
||||
BuffType<VulnerabilityHex>(), BuffType<MiracleBlight>(), BuffType<WhisperingDeath>(), BuffType<FrozenLungs>(), BuffType<FishAlert>(), BuffType<HolyInferno>(),
|
||||
BuffType<IcarusFolly>(), BuffType<DoGExtremeGravity>(), BuffType<PopoNoselessBuff>(), BuffType<SagePoison>(), BuffType<SearingLava>(), BuffType<WeakBrimstoneFlames>(), BuffType<Withered>(), BuffType<ManaBurn>(),
|
||||
BuffType<DemonicFlames>(), BuffType<Bane>(), BuffType<Shred>(), BuffType<WindChilled>());
|
||||
.RegisterBoolSet(BuffID.Poisoned, BuffID.Darkness, BuffID.Cursed, BuffID.OnFire, BuffID.Bleeding, BuffID.Confused, BuffID.Slow, BuffID.Weak, BuffID.Silenced, BuffID.BrokenArmor,
|
||||
BuffID.CursedInferno, BuffID.Frostburn, BuffID.Chilled, BuffID.Frozen, BuffID.Burning, BuffID.Suffocation, BuffID.Ichor, BuffID.Venom, BuffID.Blackout, BuffID.Electrified,
|
||||
BuffID.Rabies, BuffID.Webbed, BuffID.Stoned, BuffID.Dazed, BuffID.VortexDebuff, BuffID.WitheredArmor, BuffID.WitheredWeapon, BuffID.ShadowFlame, BuffID.OgreSpit, BuffID.BetsysCurse,
|
||||
BuffID.Wet, BuffID.Slimed, BuffID.OnFire3, BuffID.Frostburn2, BuffType<SulphuricPoisoning>(), BuffType<Shadowflame>(), BuffType<Daybroken>(), BuffType<BrimstoneFlames>(), BuffType<BurningBlood>(),
|
||||
BuffType<BrainRot>(), BuffType<ElementalMix>(), BuffType<GodSlayerInferno>(), BuffType<AstralInfectionDebuff>(), BuffType<HolyFlames>(), BuffType<Irradiated>(),
|
||||
BuffType<Plague>(), BuffType<CrushDepth>(), BuffType<HadopelagicPressure>(), BuffType<RiptideDebuff>(), BuffType<MarkedforDeath>(), BuffType<HeavyBleeding>(),
|
||||
BuffType<Laceration>(), BuffType<AbsorberAffliction>(), BuffType<ArmorCrunch>(), BuffType<Crumbling>(), BuffType<Vaporfied>(), BuffType<Eutrophication>(), BuffType<Dragonfire>(),
|
||||
BuffType<VermillionFlux>(), BuffType<AuricRebuke>(), BuffType<StaticDischarge>(), BuffType<Nightwither>(), BuffType<Voidfrost>(), BuffType<VulnerabilityHex>(),
|
||||
BuffType<MiracleBlight>(), BuffType<WhisperingDeath>(), BuffType<FrozenLungs>(), BuffType<FishAlert>(), BuffType<HolyInferno>(), BuffType<IcarusFolly>(),
|
||||
BuffType<DoGExtremeGravity>(), BuffType<PopoNoselessBuff>(), BuffType<SagePoison>(), BuffType<SearingLava>(), BuffType<WeakBrimstoneFlames>(), BuffType<Withered>(),
|
||||
BuffType<ManaBurn>(), BuffType<DemonicFlames>(), BuffType<Bane>(), BuffType<Shred>(), BuffType<WindChilled>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for a buff type, then that buff is a whip tag buff on the player.<br/>
|
||||
|
||||
@@ -35,63 +35,68 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an item type, prevents an item from removing Calamity's summon damage penalty mechanic despite having tool power.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] WeaponWithToolPowerAffectedBySummonPenalty = Factory.CreateBoolSet(ItemID.ButchersChainsaw, ItemID.LucyTheAxe, ItemID.Rockfish,
|
||||
ItemType<AxeofPurity>(), ItemType<HydraulicVoltCrasher>(), ItemType<InfernaCutter>(), ItemType<PhotonRipper>(), ItemType<Respiteblock>());
|
||||
public static bool[] WeaponWithToolPowerAffectedBySummonPenalty = Factory.CreateNamedSet("WeaponWithToolPowerAffectedBySummonPenalty")
|
||||
.Description("Makes items with tool power still trigger the summon damage penalty.")
|
||||
.RegisterBoolSet(ItemID.ButchersChainsaw, ItemID.LucyTheAxe, ItemID.Rockfish, ItemType<AxeofPurity>(), ItemType<HydraulicVoltCrasher>(), ItemType<InfernaCutter>(),
|
||||
ItemType<PhotonRipper>(), ItemType<Respiteblock>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, manually disables Calamity's summon damage penalty mechanic while that item type is held.<br/>
|
||||
/// Unused by Calamity itself, and is only used for external mods to add to through mod calls.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] ItemWhichDisablesSummonerNerf = Factory.CreateBoolSet();
|
||||
public static bool[] ItemWhichDisablesSummonerNerf = Factory.CreateNamedSet("ItemWhichDisablesSummonerNerf")
|
||||
.Description("Makes holding this item manually disable the summon damage penalty.")
|
||||
.RegisterBoolSet();
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, holding the item sets <see cref="Player.accFishingLine"/> to true, preventing fishing lines from breaking.<br/>
|
||||
/// Should only be set on fishing poles.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] FishingPoleThatNeverBreaks = Factory.CreateBoolSet(ItemID.GoldenFishingRod, ItemType<EarlyBloomRod>(), ItemType<TheDevourerofCods>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, forces a dropped item of this type to remain within the bounds of the world if it is spawned outside of it.<br/>
|
||||
/// Set this for items which are dropped by enemies or bosses which spawn on the edges of the world.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] ItemForcedInsideWorld = Factory.CreateBoolSet(ItemID.FishronWings, ItemID.Flairon, ItemID.Tsunami, ItemID.BubbleGun, ItemID.RazorbladeTyphoon,
|
||||
ItemID.TempestStaff, ItemID.FishronBossBag, ItemID.GreaterHealingPotion, ItemID.SoulofFlight, ItemType<SubmarineShocker>(), ItemType<Barinautical>(), ItemType<Downpour>(),
|
||||
ItemType<DeepseaStaff>(), ItemType<ScourgeoftheSeas>(), ItemType<SeasSearing>(), ItemType<InsidiousImpaler>(), ItemType<SepticSkewer>(), ItemType<FetidEmesis>(),
|
||||
ItemType<VitriolicViper>(), ItemType<CadaverousCarrion>(), ItemType<MutatedTruffle>(), ItemType<ToxicantTwister>(), ItemType<TheOldReaper>(), ItemType<Greentide>(),
|
||||
ItemType<Leviatitan>(), ItemType<Atlantis>(), ItemType<AnahitasArpeggio>(), ItemType<Whitewater>(), ItemType<LeviathanTeeth>(), ItemType<GastricBelcherStaff>(),
|
||||
ItemType<PearlofEnthrallment>(), ItemType<AquaticScourgeBag>(), ItemType<OldDukeBag>(), ItemType<LeviathanBag>(), ItemType<OldDukeMask>(), ItemType<LeviathanMask>(),
|
||||
ItemType<AnahitaMask>(), ItemType<AquaticScourgeMask>(), ItemType<OldDukeTrophy>(), ItemType<LeviathanTrophy>(), ItemType<AquaticScourgeTrophy>(), ItemType<LoreAquaticScourge>(),
|
||||
ItemType<LoreLeviathanAnahita>(), ItemType<LoreSulphurSea>(), ItemType<LoreAbyss>(), ItemType<LoreOldDuke>(), ItemType<OldDukeRelic>(), ItemType<LeviathanAnahitaRelic>(),
|
||||
ItemType<AquaticScourgeRelic>(), ItemType<AeroStone>(), ItemType<CorrosiveSpine>(), ItemType<TheCommunity>(), ItemType<DeepSeaAnchor>(), ItemType<BrinyBaron>(),
|
||||
ItemType<DukesDecapitator>(), ItemType<SulphurousSand>(), ItemType<SupremeHealingPotion>(), ItemType<EssenceofSunlight>(), ItemType<ThankYouPainting>());
|
||||
public static bool[] FishingPoleThatNeverBreaks = Factory.CreateNamedSet("FishingPoleThatNeverBreaks")
|
||||
.Description("Makes holding this item set Player.accFishingLine, preventing fishing lines from breaking.")
|
||||
.RegisterBoolSet(ItemID.GoldenFishingRod, ItemType<EarlyBloomRod>(), ItemType<TheDevourerofCods>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, prevents this rogue weapon from triggering Venerated Locket's clone projectile effect when used.<br/>
|
||||
/// Primarily used for weapons which shoot short-distance projectiles.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] DisablesVeneratedLocketEffect = Factory.CreateBoolSet(ItemType<SlickCane>(), ItemType<Mycoroot>(), ItemType<CosmicKunai>());
|
||||
public static bool[] DisablesVeneratedLocketEffect = Factory.CreateNamedSet("DisablesVeneratedLocketEffect")
|
||||
.Description("Prevents this item from triggering Venerated Locket's clone projectiles.")
|
||||
.RegisterBoolSet(ItemType<SlickCane>(), ItemType<Mycoroot>(), ItemType<CosmicKunai>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, this item is considered to be a magic gun.<br/>
|
||||
/// Used for applying Calamity's reworked Meteor armor set bonus.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] MagicGun = Factory.CreateBoolSet(ItemID.BeeGun, ItemID.BubbleGun, ItemID.ChargedBlasterCannon, ItemID.HeatRay, ItemID.LaserMachinegun, ItemID.LaserRifle,
|
||||
ItemID.LeafBlower, ItemID.RainbowGun, ItemID.SpaceGun, ItemID.WaspGun, ItemID.ZapinatorGray, ItemID.ZapinatorOrange, ItemType<AbyssShocker>(), ItemType<AcidGun>(),
|
||||
ItemType<AethersWhisper>(), ItemType<AetherfluxCannon>(), ItemType<ApoctosisArray>(), ItemType<Cryophobia>(), ItemType<Effervescence>(), ItemType<EidolicWail>(),
|
||||
ItemType<Genesis>(), ItemType<IonBlaster>(), ItemType<NanoPurge>(), ItemType<Omicron>(), ItemType<PlasmaCaster>(), ItemType<PlasmaRifle>(), ItemType<PulsePistol>(),
|
||||
ItemType<PurgeGuzzler>(), ItemType<RainbowPartyCannon>(), ItemType<SHPC>(), ItemType<TeslaCannon>(), ItemType<TheSwarmer>(), ItemType<Volterion>(), ItemType<Vulcan>(), ItemType<Wingman>());
|
||||
public static bool[] MagicGun = Factory.CreateNamedSet("MagicGun")
|
||||
.Description("Labels this item as a magic gun, for Meteor armor's set bonus.")
|
||||
.RegisterBoolSet(ItemID.BeeGun, ItemID.BubbleGun, ItemID.ChargedBlasterCannon, ItemID.HeatRay, ItemID.LaserMachinegun, ItemID.LaserRifle, ItemID.LeafBlower, ItemID.RainbowGun,
|
||||
ItemID.SpaceGun, ItemID.WaspGun, ItemID.ZapinatorGray, ItemID.ZapinatorOrange, ItemType<AbyssShocker>(), ItemType<AcidGun>(), ItemType<AethersWhisper>(), ItemType<AetherfluxCannon>(),
|
||||
ItemType<ApoctosisArray>(), ItemType<Cryophobia>(), ItemType<Effervescence>(), ItemType<EidolicWail>(), ItemType<Genesis>(), ItemType<IonBlaster>(), ItemType<NanoPurge>(),
|
||||
ItemType<Omicron>(), ItemType<PlasmaCaster>(), ItemType<PlasmaRifle>(), ItemType<PulsePistol>(), ItemType<PurgeGuzzler>(), ItemType<RainbowPartyCannon>(), ItemType<SHPC>(),
|
||||
ItemType<TeslaCannon>(), ItemType<TheSwarmer>(), ItemType<Volterion>(), ItemType<Vulcan>(), ItemType<Wingman>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, this item is guaranteed to critically strike and converts critical strike chance boosts into extra damage.<br/>
|
||||
/// Used to replace the item's critical strike chance tooltip line with one about critical damage.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] ShowScalingCritDamageTooltip = Factory.CreateNamedSet("ShowScalingCritDamageTooltip")
|
||||
.Description("Replaces the item's critical strike chance tooltip line with a line about critical damage.")
|
||||
.RegisterBoolSet(ItemType<GildedProboscis>(), ItemType<HeliumFlash>(), ItemType<ThreadOfEradication>(), ItemType<VenusianTrident>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, this item is considered to be a rogue bomb.<br/>
|
||||
/// Currently unused, and exists as an objective classification for the sake of the Wiki.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] RogueBomb = Factory.CreateBoolSet(ItemType<BallisticPoisonBomb>(), ItemType<BlastBarrel>(), ItemType<ContaminatedBile>(), ItemType<ConsecratedWater>(), ItemType<CraniumSmasher>(),
|
||||
public static bool[] RogueBomb = Factory.CreateNamedSet("RogueBomb")
|
||||
.Description("Labels this item as a rogue bomb, only exists for objective classification.")
|
||||
.RegisterBoolSet(ItemType<BallisticPoisonBomb>(), ItemType<BlastBarrel>(), ItemType<ContaminatedBile>(), ItemType<ConsecratedWater>(), ItemType<CraniumSmasher>(),
|
||||
ItemType<DesecratedWater>(), ItemType<DuststormInABottle>(), ItemType<Exorcism>(), ItemType<LemonNade>(), ItemType<LeonidProgenitor>(), ItemType<MeteorFist>(), ItemType<Penumbra>(), ItemType<Plaguenade>(),
|
||||
ItemType<PlasmaGrenade>(), ItemType<PulseGrenade>(), ItemType<Pumpkaboom>(), ItemType<SeafoamBomb>(), ItemType<SealedSingularity>(), ItemType<SkyfinBombers>(), ItemType<SpentFuelContainer>(),
|
||||
ItemType<StarofDestruction>(), ItemType<Supernova>(), ItemType<TotalityBreakers>(), ItemType<WavePounder>(), ItemType<Whitewater>());
|
||||
@@ -101,8 +106,10 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Currently unused, and exists as an objective classification for the sake of the Wiki.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] RogueBoomerang = Factory.CreateBoolSet(ItemType<AerialTracker>(), ItemType<Brimblade>(), ItemType<Celestus>(), ItemType<DefectiveSphere>(), ItemType<DimensionTearingDisk>(),
|
||||
ItemType<DynamicPursuer>(), ItemType<EnchantedAxe>(), ItemType<EpidemicShredder>(), ItemType<Equanimity>(), ItemType<FishboneBoomerang>(), ItemType<FrostcrushValari>(), ItemType<GhoulishGouger>(),
|
||||
public static bool[] RogueBoomerang = Factory.CreateNamedSet("RogueBoomerang")
|
||||
.Description("Labels this item as a rogue boomerang, only exists for objective classification.")
|
||||
.RegisterBoolSet(ItemType<AerialTracker>(), ItemType<Brimblade>(), ItemType<Celestus>(), ItemType<DefectiveSphere>(), ItemType<DimensionTearingDisk>(), ItemType<DynamicPursuer>(),
|
||||
ItemType<EnchantedAxe>(), ItemType<EpidemicShredder>(), ItemType<Equanimity>(), ItemType<FishboneBoomerang>(), ItemType<FrostcrushValari>(), ItemType<GhoulishGouger>(),
|
||||
ItemType<Icebreaker>(), ItemType<InfestedClawmerang>(), ItemType<KelvinCatalyst>(), ItemType<Kylie>(), ItemType<MangroveChakram>(), ItemType<MoltenAmputator>(), ItemType<NanoblackReaper>(),
|
||||
ItemType<ReboundingRainbow>(), ItemType<SamsaraSlicer>(), ItemType<SubductionSlicer>(), ItemType<ToxicantTwister>(), ItemType<Valediction>());
|
||||
|
||||
@@ -111,9 +118,11 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Currently unused, and exists as an objective classification for the sake of the Wiki.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] RogueDagger = Factory.CreateBoolSet(ItemType<AshenStalactite>(), ItemType<Cinquedea>(), ItemType<Crystalline>(), ItemType<FeatherKnife>(), ItemType<GelDart>(),
|
||||
ItemType<GildedDagger>(), ItemType<GleamingDagger>(), ItemType<InfernalKris>(), ItemType<Mycoroot>(), ItemType<ShinobiBlade>(), ItemType<SporeKnife>(), ItemType<WulfrumKnife>(),
|
||||
ItemType<CobaltKunai>(), ItemType<CorpusAvertor>(), ItemType<CursedDagger>(), ItemType<LeviathanTeeth>(), ItemType<Malachite>(), ItemType<MythrilKnife>(), ItemType<OrichalcumSpikedGemstone>(),
|
||||
public static bool[] RogueDagger = Factory.CreateNamedSet("RogueDagger")
|
||||
.Description("Labels this item as a rogue dagger, only exists for objective classification.")
|
||||
.RegisterBoolSet(ItemType<AshenStalactite>(), ItemType<Cinquedea>(), ItemType<Crystalline>(), ItemType<FeatherKnife>(), ItemType<GelDart>(), ItemType<GildedDagger>(),
|
||||
ItemType<GleamingDagger>(), ItemType<InfernalKris>(), ItemType<Mycoroot>(), ItemType<ShinobiBlade>(), ItemType<SporeKnife>(), ItemType<WulfrumKnife>(), ItemType<CobaltKunai>(),
|
||||
ItemType<CorpusAvertor>(), ItemType<CursedDagger>(), ItemType<LeviathanTeeth>(), ItemType<Malachite>(), ItemType<MythrilKnife>(), ItemType<OrichalcumSpikedGemstone>(),
|
||||
ItemType<Prismalline>(), ItemType<RadiantStar>(), ItemType<StellarKnife>(), ItemType<StormfrontRazor>(), ItemType<TerrorTalons>(), ItemType<CosmicKunai>(), ItemType<JawsOfOblivion>(),
|
||||
ItemType<LunarKunai>(), ItemType<Sacrifice>(), ItemType<Seraphim>(), ItemType<ShatteredDawn>(), ItemType<TarragonThrowingDart>(), ItemType<TimeBolt>(), ItemType<TwistingThunder>(),
|
||||
ItemType<UtensilPoker>());
|
||||
@@ -123,22 +132,19 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Currently unused, and exists as an objective classification for the sake of the Wiki.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] RogueJavelin = Factory.CreateBoolSet(ItemType<AntlionSkewer>(), ItemType<CrystalPiercer>(), ItemType<EclipsesFall>(), ItemType<IchorSpear>(), ItemType<Vega>(),
|
||||
ItemType<PalladiumJavelin>(), ItemType<PhantasmalRuin>(), ItemType<ProfanedPartisan>(), ItemType<RealityRupture>(), ItemType<ScarletDevil>(), ItemType<ScourgeoftheDesert>(),
|
||||
ItemType<ScourgeoftheSeas>(), ItemType<ShardofAntumbra>(), ItemType<SpearofDestiny>(), ItemType<SpearofPaleolith>(), ItemType<Turbulance>(), ItemType<TheAtomSplitter>(), ItemType<WaveSkipper>(),
|
||||
ItemType<Wrathwing>());
|
||||
public static bool[] RogueJavelin = Factory.CreateNamedSet("RogueJavelin")
|
||||
.Description("Labels this item as a rogue javelin, only exists for objective classification.")
|
||||
.RegisterBoolSet(ItemType<AntlionSkewer>(), ItemType<CrystalPiercer>(), ItemType<EclipsesFall>(), ItemType<IchorSpear>(), ItemType<Vega>(), ItemType<PalladiumJavelin>(),
|
||||
ItemType<PhantasmalRuin>(), ItemType<ProfanedPartisan>(), ItemType<RealityRupture>(), ItemType<ScarletDevil>(), ItemType<ScourgeoftheDesert>(), ItemType<ScourgeoftheSeas>(),
|
||||
ItemType<ShardofAntumbra>(), ItemType<SpearofDestiny>(), ItemType<SpearofPaleolith>(), ItemType<Turbulance>(), ItemType<TheAtomSplitter>(), ItemType<WaveSkipper>(), ItemType<Wrathwing>());
|
||||
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an item type, this item is considered to be a rogue spiky ball.<br/>
|
||||
/// Currently unused, and exists as an objective classification for the sake of the Wiki.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
public static bool[] RogueSpikyBall = Factory.CreateBoolSet(ItemType<BurningStrife>(), ItemType<GodsParanoia>(), ItemType<MetalMonstrosity>(), ItemType<NastyCholla>(), ItemType<SystemBane>(),
|
||||
ItemType<WebBall>());
|
||||
|
||||
public static bool[] ShowScalingCritDamageTooltip = Factory
|
||||
.CreateNamedSet("ShowScalingCritDamageTooltip")
|
||||
.Description("Replaces Crit Chance tooltip line with Crit Damage, getting 2% crit dmg per 1% crit chance")
|
||||
.RegisterBoolSet();
|
||||
public static bool[] RogueSpikyBall = Factory.CreateNamedSet("RogueSpikyBall")
|
||||
.Description("Labels this item as a rogue spiky ball, only exists for objective classification.")
|
||||
.RegisterBoolSet(ItemType<BurningStrife>(), ItemType<GodsParanoia>(), ItemType<MetalMonstrosity>(), ItemType<NastyCholla>(), ItemType<SystemBane>(), ItemType<WebBall>());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user