Re-publicize set declarations after discussion with tomat
This commit is contained in:
1 parent
6f3c00edc7
commit
4c01f3c99d
5 files changed
+44
-57
No files matched your search
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Buffs;
|
||||
using CalamityMod.Buffs;
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
using CalamityMod.Buffs.Cooldowns;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
@@ -29,7 +28,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Also used to remove buffs when contacting the Whispering Maelstrom in the Get fixed boi seed.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] BuffedByAmalgam = Factory.CreateNamedSet("BuffedByAmalgam")
|
||||
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,
|
||||
@@ -50,7 +49,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used by The Amalgam to prevent removing their persistence when the accessory is unequipped.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsPersistentBuff = Factory.CreateNamedSet("IsPersistentBuff")
|
||||
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>(),
|
||||
@@ -64,7 +63,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This general-purpose set has several different uses, including Crown Jewel and its upgrades' debuff effects, and removing debuffs with Cleansing Jelly and its upgrades' auras.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsDebuff = Factory.CreateNamedSet("IsDebuff")
|
||||
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,
|
||||
@@ -83,7 +82,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used to prevent "whip stacking", the ability to grant the player multiple whip buff effects at once.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsSummonTagBuff = Factory.CreateNamedSet("IsSummonTagBuff")
|
||||
public static bool[] IsSummonTagBuff = Factory.CreateNamedSet("IsSummonTagBuff")
|
||||
.Description("Whip tag buffs for the player, used to prevent whip stacking.")
|
||||
.RegisterBoolSet(BuffID.CoolWhipPlayerBuff, BuffID.ScytheWhipPlayerBuff, BuffID.SwordWhipPlayerBuff, BuffID.ThornWhipPlayerBuff, BuffType<ProfanedCrystalWhipBuff>());
|
||||
|
||||
@@ -91,7 +90,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Associates a buff type with its <see cref="SummonTag"/> structure. If a buff type is not a key in this dictionary, then it has no associated <see cref="SummonTag"/>.<br/>
|
||||
/// Used for several different effects, such as applying tag effects to NPCs, preventing "whip stacking" on NPCs, and drawing the tag effect icon below the NPC.
|
||||
/// </summary>
|
||||
internal static SummonTag[] SummonTagDebuff = Factory.CreateNamedSet("SummonTagDebuff")
|
||||
public static SummonTag[] SummonTagDebuff = Factory.CreateNamedSet("SummonTagDebuff")
|
||||
.Description("Associates a buff type with its SummonTag structure. Used for several different effects, such as applying tag effects to NPCs, preventing whip stacking on NPCs, and drawing the tag effect icon below the NPC.")
|
||||
.RegisterCustomSet<SummonTag>(null,
|
||||
BuffID.BlandWhipEnemyDebuff, SummonTag.LeatherWhip,
|
||||
@@ -110,7 +109,7 @@ namespace CalamityMod.Systems.Collections
|
||||
);
|
||||
|
||||
private static DebuffData Alch(int level) => new DebuffData() { AlcoholLevel = level };
|
||||
internal static DebuffData[] DebuffDataset = BuffID.Sets.Factory.CreateNamedSet("DebuffData")
|
||||
public static DebuffData[] DebuffDataset = BuffID.Sets.Factory.CreateNamedSet("DebuffData")
|
||||
.Description("Stores DebuffData for a particular debuff")
|
||||
.RegisterCustomSet<DebuffData>(null,
|
||||
BuffID.OnFire, DebuffData.OnFire,
|
||||
|
||||
@@ -1,22 +1,10 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Fishing.FishingRods;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Abyss;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.Monoliths;
|
||||
using CalamityMod.Items.Placeables.Furniture.Paintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Fishing.FishingRods;
|
||||
using CalamityMod.Items.Tools;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.DraedonsArsenal;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using ReLogic.Reflection;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -35,7 +23,7 @@ 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>
|
||||
internal static bool[] WeaponWithToolPowerAffectedBySummonPenalty = Factory.CreateNamedSet("WeaponWithToolPowerAffectedBySummonPenalty")
|
||||
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>());
|
||||
@@ -45,7 +33,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Unused by Calamity itself, and is only used for external mods to add to through mod calls.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ItemWhichDisablesSummonerNerf = Factory.CreateNamedSet("ItemWhichDisablesSummonerNerf")
|
||||
public static bool[] ItemWhichDisablesSummonerNerf = Factory.CreateNamedSet("ItemWhichDisablesSummonerNerf")
|
||||
.Description("Makes holding this item manually disable the summon damage penalty.")
|
||||
.RegisterBoolSet();
|
||||
|
||||
@@ -54,7 +42,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Should only be set on fishing poles.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] FishingPoleThatNeverBreaks = Factory.CreateNamedSet("FishingPoleThatNeverBreaks")
|
||||
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>());
|
||||
|
||||
@@ -63,7 +51,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Primarily used for weapons which shoot short-distance projectiles.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] DisablesVeneratedLocketEffect = Factory.CreateNamedSet("DisablesVeneratedLocketEffect")
|
||||
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>());
|
||||
|
||||
@@ -72,7 +60,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used for applying Calamity's reworked Meteor armor set bonus.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] MagicGun = Factory.CreateNamedSet("MagicGun")
|
||||
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>(),
|
||||
@@ -85,7 +73,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used to replace the item's critical strike chance tooltip line with one about critical damage.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ShowScalingCritDamageTooltip = Factory.CreateNamedSet("ShowScalingCritDamageTooltip")
|
||||
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>());
|
||||
|
||||
@@ -94,7 +82,7 @@ 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>
|
||||
internal static bool[] RogueBomb = Factory.CreateNamedSet("RogueBomb")
|
||||
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>(),
|
||||
@@ -106,7 +94,7 @@ 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>
|
||||
internal static bool[] RogueBoomerang = Factory.CreateNamedSet("RogueBoomerang")
|
||||
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>(),
|
||||
@@ -118,7 +106,7 @@ 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>
|
||||
internal static bool[] RogueDagger = Factory.CreateNamedSet("RogueDagger")
|
||||
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>(),
|
||||
@@ -132,7 +120,7 @@ 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>
|
||||
internal static bool[] RogueJavelin = Factory.CreateNamedSet("RogueJavelin")
|
||||
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>(),
|
||||
@@ -143,7 +131,7 @@ 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>
|
||||
internal static bool[] RogueSpikyBall = Factory.CreateNamedSet("RogueSpikyBall")
|
||||
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>());
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an NPC type, makes this NPC be susceptible to <see cref="BuffID.Confused"/>.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] CalamityNPCNotImmuneToConfused = Factory.CreateNamedSet("CalamityNPCNotImmuneToConfused")
|
||||
public static bool[] CalamityNPCNotImmuneToConfused = Factory.CreateNamedSet("CalamityNPCNotImmuneToConfused")
|
||||
.Description("Makes this NPC be susceptible to Confused.")
|
||||
.RegisterBoolSet(NPCType<AeroSlime>(), NPCType<AstralachneaGround>(), NPCType<AstralachneaWall>(), NPCType<BloomSlime>(), NPCType<Bohldohr>(), NPCType<CalamityEye>(),
|
||||
NPCType<CrimulanBlightSlime>(), NPCType<Cryon>(), NPCType<CryoSlime>(), NPCType<DespairStone>(), NPCType<EbonianBlightSlime>(), NPCType<FearlessGoldfishWarrior>(),
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an NPC type, forces this NPC to draw Calamity's debuff display, even if it is not a boss.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ForceDrawDebuffDisplay = Factory.CreateNamedSet("ForceDrawDebuffDisplay")
|
||||
public static bool[] ForceDrawDebuffDisplay = Factory.CreateNamedSet("ForceDrawDebuffDisplay")
|
||||
.Description("Allows drawing Calamity's debuff display, even if not a boss.")
|
||||
.RegisterBoolSet(NPCID.TargetDummy, NPCID.WallofFleshEye, NPCType<SuperDummyNPC>());
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used to make them immune to enemy damage.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] BoundTownNPC = Factory.CreateNamedSet("BoundTownNPC")
|
||||
public static bool[] BoundTownNPC = Factory.CreateNamedSet("BoundTownNPC")
|
||||
.Description("Labels this NPC as a bound town NPC, to prevent them from taking hostile damage.")
|
||||
.RegisterBoolSet(NPCID.BoundGoblin, NPCID.BoundWizard, NPCID.BoundMechanic, NPCID.SleepingAngler, NPCID.BartenderUnconscious, NPCID.WebbedStylist, NPCID.GolferRescue);
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Primarily used by worm boss body and tail segments to prevent Rage being extraordinarily easy to get.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] BossSegmentThatDoesNotGenerateRageFaster = Factory.CreateNamedSet("BossSegmentThatDoesNotGenerateRageFaster")
|
||||
public static bool[] BossSegmentThatDoesNotGenerateRageFaster = Factory.CreateNamedSet("BossSegmentThatDoesNotGenerateRageFaster")
|
||||
.Description("Prevent this boss NPC from generating Rage faster.")
|
||||
.RegisterBoolSet(NPCType<DesertScourgeBody>(), NPCType<DesertScourgeTail>(), NPCType<AquaticScourgeBody>(), NPCType<AquaticScourgeBodyAlt>(), NPCType<AquaticScourgeTail>(),
|
||||
NPCType<AstrumDeusBody>(), NPCType<AstrumDeusTail>(), NPCType<StormWeaverBody>(), NPCType<StormWeaverTail>(), NPCType<DevourerofGodsBody>(), NPCType<DevourerofGodsTail>(),
|
||||
@@ -95,7 +95,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Also allows the NPC to receive health scaling from having multiple players in Expert+.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ScalesHealthLikeBoss = Factory.CreateNamedSet("ScalesHealthLikeBoss")
|
||||
public static bool[] ScalesHealthLikeBoss = Factory.CreateNamedSet("ScalesHealthLikeBoss")
|
||||
.Description("Allows scaling health from vanilla Expert+ multiplayer scaling and Boss Health Boost Percentage config, even if not a boss.")
|
||||
.RegisterBoolSet(NPCID.EaterofWorldsHead, NPCID.EaterofWorldsBody, NPCID.EaterofWorldsTail, NPCID.SkeletronHand, NPCID.WallofFleshEye, NPCID.TheDestroyerBody, NPCID.TheDestroyerTail,
|
||||
NPCID.PrimeCannon, NPCID.PrimeLaser, NPCID.PrimeVice, NPCID.PrimeSaw, NPCID.GolemHead, NPCID.GolemHeadFree, NPCID.GolemFistRight, NPCID.GolemFistLeft, NPCID.Sharkron,
|
||||
@@ -118,7 +118,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an NPC type, then that NPC will have its contact damage set to 0.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] DealsZeroContactDamage = Factory.CreateNamedSet("DealsZeroContactDamage")
|
||||
public static bool[] DealsZeroContactDamage = Factory.CreateNamedSet("DealsZeroContactDamage")
|
||||
.Description("Makes this NPC deal 0 contact damage.")
|
||||
.RegisterBoolSet(NPCID.AngryNimbus, NPCID.DarkCaster, NPCID.FireImp, NPCID.Tim, NPCID.DesertDjinn, NPCID.DiabolistRed, NPCID.DiabolistWhite,
|
||||
NPCID.Necromancer, NPCID.NecromancerArmored, NPCID.RaggedCaster, NPCID.RaggedCasterOpenCoat, NPCID.RuneWizard, NPCID.GoblinSorcerer, NPCID.GoblinSummoner, NPCID.NebulaBrain,
|
||||
@@ -129,7 +129,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an NPC type, then that NPC will have its damage reduced by 25% if the world is in Hardmode.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] NerfDamageInHardmode = Factory.CreateNamedSet("NerfDamageInHardmode")
|
||||
public static bool[] NerfDamageInHardmode = Factory.CreateNamedSet("NerfDamageInHardmode")
|
||||
.Description("Makes this NPC have its contact damage reduced by 25% if the world is in Hardmode.")
|
||||
.RegisterBoolSet(NPCID.AnglerFish, NPCID.AngryTrapper, NPCID.Arapaima, NPCID.BlackRecluse, NPCID.BlackRecluseWall, NPCID.BloodJelly, NPCID.FungoFish, NPCID.GreenJellyfish,
|
||||
NPCID.Clinger, NPCID.ArmoredSkeleton, NPCID.ArmoredViking, NPCID.Mummy, NPCID.DarkMummy, NPCID.LightMummy, NPCID.BloodFeeder, NPCID.DesertBeast, NPCID.ChaosElemental,
|
||||
@@ -153,7 +153,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Second, it multiplies their max health by 2.5x and increases their damage by a flat 30 if Moon Lord has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedDungeonEnemy = Factory.CreateNamedSet("IsBuffedDungeonEnemy")
|
||||
public static bool[] IsBuffedDungeonEnemy = Factory.CreateNamedSet("IsBuffedDungeonEnemy")
|
||||
.Description("Makes this NPC directly drop Ectoplasm on death, and buffs its health and damage after defeating Moon Lord.")
|
||||
.RegisterBoolSet(NPCID.SkeletonSniper, NPCID.TacticalSkeleton, NPCID.SkeletonCommando, NPCID.Paladin, NPCID.GiantCursedSkull, NPCID.BoneLee, NPCID.DiabolistWhite,
|
||||
NPCID.DiabolistRed, NPCID.NecromancerArmored, NPCID.Necromancer, NPCID.RaggedCasterOpenCoat, NPCID.RaggedCaster, NPCID.HellArmoredBonesSword, NPCID.HellArmoredBonesMace,
|
||||
@@ -165,7 +165,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This will multiply their max health by 3.5x and increase their damage by a flat 30 if Devourer of Gods has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedPumpkinMoonEnemy = Factory.CreateNamedSet("IsBuffedPumpkinMoonEnemy")
|
||||
public static bool[] IsBuffedPumpkinMoonEnemy = Factory.CreateNamedSet("IsBuffedPumpkinMoonEnemy")
|
||||
.Description("Makes this Pumpkin Moon enemy have buffed health and damage after defeating Devourer of Gods.")
|
||||
.RegisterBoolSet(NPCID.Scarecrow1, NPCID.Scarecrow2, NPCID.Scarecrow3, NPCID.Scarecrow4, NPCID.Scarecrow5, NPCID.Scarecrow6, NPCID.Scarecrow7, NPCID.Scarecrow8, NPCID.Scarecrow9,
|
||||
NPCID.Scarecrow10, NPCID.HeadlessHorseman, NPCID.MourningWood, NPCID.Splinterling, NPCID.Pumpking, NPCID.PumpkingBlade, NPCID.Hellhound, NPCID.Poltergeist);
|
||||
@@ -175,7 +175,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This will multiply their max health by 2.5x and increase their damage by a flat 30 if Devourer of Gods has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedFrostMoonEnemy = Factory.CreateNamedSet("IsBuffedFrostMoonEnemy")
|
||||
public static bool[] IsBuffedFrostMoonEnemy = Factory.CreateNamedSet("IsBuffedFrostMoonEnemy")
|
||||
.Description("Makes this Frost Moon enemy have buffed health and damage after defeating Devourer of Gods.")
|
||||
.RegisterBoolSet(NPCID.ZombieElf, NPCID.ZombieElfBeard, NPCID.ZombieElfGirl, NPCID.PresentMimic, NPCID.GingerbreadMan, NPCID.Yeti, NPCID.Everscream, NPCID.IceQueen,
|
||||
NPCID.SantaNK1, NPCID.ElfCopter, NPCID.Nutcracker, NPCID.NutcrackerSpinning, NPCID.ElfArcher, NPCID.Krampus, NPCID.Flocko);
|
||||
@@ -185,7 +185,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This will multiply their max health by 5x and increase their damage by a flat 30 if Devourer of Gods has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedSolarEclipseEnemy = Factory.CreateNamedSet("IsBuffedSolarEclipseEnemy")
|
||||
public static bool[] IsBuffedSolarEclipseEnemy = Factory.CreateNamedSet("IsBuffedSolarEclipseEnemy")
|
||||
.Description("Makes this Solar Eclipse enemy have buffed health and damage after defeating Devourer of Gods.")
|
||||
.RegisterBoolSet(NPCID.Eyezor, NPCID.Reaper, NPCID.Frankenstein, NPCID.SwampThing, NPCID.Vampire, NPCID.VampireBat, NPCID.Butcher, NPCID.CreatureFromTheDeep, NPCID.Fritz,
|
||||
NPCID.Nailhead, NPCID.Psycho, NPCID.DeadlySphere, NPCID.DrManFly, NPCID.ThePossessed, NPCID.Mothron, NPCID.MothronEgg, NPCID.MothronSpawn);
|
||||
@@ -195,7 +195,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Also used to prevent weapon pulling effects and Anarchy Blade's ability to instantly kill enemies that are below 50% health.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ImmuneToSlowsAndOtherSpecialEffects = Factory.CreateNamedSet("ImmuneToSlowsAndOtherSpecialEffects")
|
||||
public static bool[] ImmuneToSlowsAndOtherSpecialEffects = Factory.CreateNamedSet("ImmuneToSlowsAndOtherSpecialEffects")
|
||||
.Description("Makes this NPC immune to slowing debuffs and specific weapon effects.")
|
||||
.RegisterBoolSet(NPCID.KingSlime, NPCType<KingSlimeJewelRuby>(), NPCID.EyeofCthulhu, NPCID.EaterofWorldsHead, NPCID.EaterofWorldsBody, NPCID.EaterofWorldsTail,
|
||||
NPCID.BrainofCthulhu, NPCID.Creeper, NPCID.QueenBee, NPCID.Deerclops, NPCID.SkeletronHead, NPCID.SkeletronHand, NPCID.WallofFlesh, NPCID.WallofFleshEye,
|
||||
@@ -221,7 +221,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// <summary>
|
||||
/// If <see langword="true"/> for an NPC type, <see cref="ModNPC.CheckDead"/> or <see cref="GlobalNPC.CheckDead(NPC)"/> will be called on this NPC even if <see cref="NPC.realLife"/> is set.
|
||||
/// </summary>
|
||||
internal static bool[] DoCheckDeadRegardlessRealLife = Factory.CreateNamedSet("DoCheckDeadRegardlessRealLife")
|
||||
public static bool[] DoCheckDeadRegardlessRealLife = Factory.CreateNamedSet("DoCheckDeadRegardlessRealLife")
|
||||
.Description("Makes this NPC always call CheckDead, even if it sets realLife.")
|
||||
.RegisterBoolSet(NPCType<DevourerofGodsBody>(), NPCType<DevourerofGodsTail>());
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for an NPC type, <see cref="CalamityUtils.IsAnEnemy(NPC, bool, bool, bool)"/> will not count this NPC as an enemy.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] DontCountAsEnemy = Factory.CreateNamedSet("DontCountAsEnemy")
|
||||
public static bool[] DontCountAsEnemy = Factory.CreateNamedSet("DontCountAsEnemy")
|
||||
.Description("Prevents Calamity's IsAnEnemy method from considering this NPC an enemy.")
|
||||
.RegisterBoolSet(NPCID.TargetDummy, NPCType<SuperDummyNPC>());
|
||||
|
||||
|
||||
@@ -24,14 +24,14 @@ namespace CalamityMod.Systems.Collections
|
||||
private static IdDictionary Search = IdDictionary.Create<NPCID, int>();
|
||||
|
||||
// Used for dropping Ancient Bone Dust, vanilla has a Skeleton NPCID set which has more unwanted enemies in it
|
||||
internal static bool[] Skeleton = Factory.CreateNamedSet("Skeleton")
|
||||
public static bool[] Skeleton = Factory.CreateNamedSet("Skeleton")
|
||||
.Description("Contains different IDs from vanilla's Skeleton set. Used for dropping Ancient Bone Dust.")
|
||||
.RegisterBoolSet(NPCID.Skeleton, NPCID.HeadacheSkeleton, NPCID.MisassembledSkeleton, NPCID.PantlessSkeleton, NPCID.BoneThrowingSkeleton, NPCID.BoneThrowingSkeleton2,
|
||||
NPCID.BoneThrowingSkeleton3, NPCID.BoneThrowingSkeleton4, NPCID.SkeletonTopHat, NPCID.SkeletonAstonaut, NPCID.SkeletonAlien, NPCID.ArmoredSkeleton, NPCID.SkeletonArcher,
|
||||
NPCID.GreekSkeleton, NPCID.SporeSkeleton);
|
||||
|
||||
// Unused, though is more restrictive than the vanilla Zombie NPCID set
|
||||
internal static bool[] Zombie = Factory.CreateNamedSet("Zombie")
|
||||
public static bool[] Zombie = Factory.CreateNamedSet("Zombie")
|
||||
.Description("Contains different IDs from vanilla's Zombie set. Unused.")
|
||||
.RegisterBoolSet(NPCID.Zombie, NPCID.ArmedZombie, NPCID.BaldZombie, NPCID.PincushionZombie, NPCID.ArmedZombiePincussion, NPCID.SlimedZombie,
|
||||
NPCID.ArmedZombieSlimed, NPCID.SwampZombie, NPCID.ArmedZombieSwamp, NPCID.TwiggyZombie, NPCID.ArmedZombieTwiggy, NPCID.FemaleZombie, NPCID.ArmedZombieCenx,
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Unused by Calamity itself, and is only used for external mods to add to through mod calls.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] MinionWhichIgnoresSummonerNerf = Factory.CreateNamedSet("MinionWhichIgnoresSummonerNerf")
|
||||
public static bool[] MinionWhichIgnoresSummonerNerf = Factory.CreateNamedSet("MinionWhichIgnoresSummonerNerf")
|
||||
.Description("Makes this minion ignore the summon damage penalty.")
|
||||
.RegisterBoolSet();
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This increases the projectile's damage by a flat 30 if Moon Lord has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedDungeonProjectile = Factory.CreateNamedSet("IsBuffedDungeonProjectile")
|
||||
public static bool[] IsBuffedDungeonProjectile = Factory.CreateNamedSet("IsBuffedDungeonProjectile")
|
||||
.Description("Makes this Dungeon projectile get a damage buff after defeating Moon Lord.")
|
||||
.RegisterBoolSet(ProjectileID.PaladinsHammerHostile, ProjectileID.ShadowBeamHostile, ProjectileID.InfernoHostileBolt, ProjectileID.InfernoHostileBlast,
|
||||
ProjectileID.LostSoulHostile, ProjectileID.SniperBullet, ProjectileID.RocketSkeleton, ProjectileID.BulletDeadeye, ProjectileID.Shadowflames);
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// This increases the projectile's damage by a flat 15 during those events if Devourer of Gods has been defeated.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsBuffedEventProjectile = Factory.CreateNamedSet("IsBuffedEventProjectile")
|
||||
public static bool[] IsBuffedEventProjectile = Factory.CreateNamedSet("IsBuffedEventProjectile")
|
||||
.Description("Makes this Pumpkin Moon, Frost Moon, or Solar Eclipse projectile get a damage buff after defeating Devourer of Gods.")
|
||||
.RegisterBoolSet(ProjectileID.FlamingWood, ProjectileID.GreekFire1, ProjectileID.GreekFire2, ProjectileID.GreekFire3, ProjectileID.FlamingScythe, ProjectileID.FlamingArrow,
|
||||
ProjectileID.PineNeedleHostile, ProjectileID.OrnamentHostile, ProjectileID.OrnamentHostileShrapnel, ProjectileID.FrostWave, ProjectileID.FrostShard, ProjectileID.Missile,
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used to allow the projectile to inflict Plague while wearing the Plaguebringer armor.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] IsFriendlyBeeProjectile = Factory.CreateNamedSet("IsFriendlyBeeProjectile")
|
||||
public static bool[] IsFriendlyBeeProjectile = Factory.CreateNamedSet("IsFriendlyBeeProjectile")
|
||||
.Description("Labels this projectile as a friendly bee, used to make it inflict Plague with Plaguebringer armor.")
|
||||
.RegisterBoolSet(ProjectileID.GiantBee, ProjectileID.Bee, ProjectileID.Wasp, ProjectileID.Hornet,ProjectileID.HornetStinger, ProjectileType<PlaguenadeBee>(),
|
||||
ProjectileType<PlaguePrincess>(), ProjectileType<BabyPlaguebringer>(), ProjectileType<PlagueBeeSmall>(), ProjectileType<BetterHornetStinger>(), ProjectileType<BasicPlagueBee>());
|
||||
@@ -62,7 +62,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Used to provide early-game worm bosses a resistance to their explosive damage.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ResistedExplosiveProjectile = Factory.CreateNamedSet("ResistedExplosiveProjectile")
|
||||
public static bool[] ResistedExplosiveProjectile = Factory.CreateNamedSet("ResistedExplosiveProjectile")
|
||||
.Description("Makes this grenade/bomb/dynamite projectile be resisted by earlygame worm bosses.")
|
||||
.RegisterBoolSet(ProjectileID.Grenade, ProjectileID.StickyGrenade, ProjectileID.BouncyGrenade, ProjectileID.Bomb, ProjectileID.StickyBomb, ProjectileID.BouncyBomb,
|
||||
ProjectileID.Dynamite, ProjectileID.StickyDynamite, ProjectileID.BouncyDynamite, ProjectileID.Explosives, ProjectileID.ExplosiveBunny, ProjectileID.PartyGirlGrenade,
|
||||
@@ -74,7 +74,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Only needs to be set for hostile projectiles, as these effects already have a check to ensure they never trigger in PvP.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] ShouldNotBeReflected = Factory.CreateNamedSet("ShouldNotBeReflected")
|
||||
public static bool[] ShouldNotBeReflected = Factory.CreateNamedSet("ShouldNotBeReflected")
|
||||
.Description("Prevents this projectile from being reflected by armor or accessory effects.")
|
||||
.RegisterBoolSet(ProjectileID.SaucerDeathray, ProjectileID.PhantasmalDeathray, ProjectileType<BrimstoneMonster>(), ProjectileType<InfernadoRevenge>(),
|
||||
ProjectileType<OverlyDramaticDukeSummoner>(), ProjectileType<ProvidenceHolyRay>(), ProjectileType<OldDukeVortex>(), ProjectileType<BrimstoneRay>(),
|
||||
@@ -85,7 +85,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for a projectile type, then that projectile will be blacklisted from receiving the homing effect of Grape Beer.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] DoesNotGetHomingWithGrapeBeer = Factory.CreateNamedSet("DoesNotGetHomingWithGrapeBeer")
|
||||
public static bool[] DoesNotGetHomingWithGrapeBeer = Factory.CreateNamedSet("DoesNotGetHomingWithGrapeBeer")
|
||||
.Description("Prevents this projectile from receiving homing from Grape Beer.")
|
||||
.RegisterBoolSet(ProjectileType<NukeOfBliss>(), ProjectileType<PrismaticEnergyBlast>(), ProjectileType<PrismEnergyBullet>(), ProjectileType<PrismMine>(),
|
||||
ProjectileType<ScorchedEarthRocket>(), ProjectileType<UltimaRay>(), ProjectileType<SproutingArrowMain>());
|
||||
@@ -94,7 +94,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// If <see langword="true"/> for a projectile type, then that projectile will be unable to trigger Daawnlight Spirit Origin's bullseyes.<br/>
|
||||
/// Defaults to <see langword="false"/>.
|
||||
/// </summary>
|
||||
internal static bool[] DaawnlightBlacklist = Factory.CreateNamedSet("DaawnlightBlacklist")
|
||||
public static bool[] DaawnlightBlacklist = Factory.CreateNamedSet("DaawnlightBlacklist")
|
||||
.Description("Prevents this projectile from triggering Daawnlight Spirit Origin's bullseyes.")
|
||||
.RegisterBoolSet(ProjectileType<SeasSearingSpout>(), ProjectileType<WaterSpout>(), ProjectileType<TyphoonBubble>());
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace CalamityMod.Systems.Collections
|
||||
/// Determines what other projectiles this projectile will share ID-static immunity frames with. Defaults to -1, which means that it does not share immunity frames.<br/>
|
||||
/// Each "set" of projectile which shares immunity frames is registered to point to the same ID reference, usually the first projectile in the set. If a projectile with this reference hits an NPC, all other projectiles with that reference also have their ID-static immunity cooldown set for that NPC.
|
||||
/// </summary>
|
||||
internal static int[] SharedIDStaticIFrames = Factory.CreateNamedSet("SharedIDStaticIFrames")
|
||||
public static int[] SharedIDStaticIFrames = Factory.CreateNamedSet("SharedIDStaticIFrames")
|
||||
.Description("Determines what other projectiles this projectile will share ID-static immunity frames with. Defaults to -1, which means that it does not share immunity frames.")
|
||||
.RegisterIntSet(-1,
|
||||
// Vanilla bees
|
||||
|
||||
Reference in new issue
Block a user