using System; using System.Collections.Generic; using CalamityMod.NPCs.AcidRain; using CalamityMod.NPCs.AquaticScourge; using CalamityMod.NPCs.AstrumAureus; using CalamityMod.NPCs.AstrumDeus; using CalamityMod.NPCs.BrimstoneElemental; using CalamityMod.NPCs.Bumblebirb; using CalamityMod.NPCs.CalClone; using CalamityMod.NPCs.CeaselessVoid; using CalamityMod.NPCs.Crabulon; using CalamityMod.NPCs.Cryogen; using CalamityMod.NPCs.DesertScourge; using CalamityMod.NPCs.DevourerofGods; using CalamityMod.NPCs.ExoMechs.Apollo; using CalamityMod.NPCs.ExoMechs.Ares; using CalamityMod.NPCs.ExoMechs.Artemis; using CalamityMod.NPCs.ExoMechs.Thanatos; using CalamityMod.NPCs.HiveMind; using CalamityMod.NPCs.Leviathan; using CalamityMod.NPCs.NormalNPCs; using CalamityMod.NPCs.OldDuke; using CalamityMod.NPCs.Perforator; using CalamityMod.NPCs.PlaguebringerGoliath; using CalamityMod.NPCs.Polterghast; using CalamityMod.NPCs.PrimordialWyrm; using CalamityMod.NPCs.ProfanedGuardians; using CalamityMod.NPCs.Providence; using CalamityMod.NPCs.Ravager; using CalamityMod.NPCs.Signus; using CalamityMod.NPCs.SlimeGod; using CalamityMod.NPCs.StormWeaver; using CalamityMod.NPCs.SupremeCalamitas; using CalamityMod.NPCs.Yharon; using CalamityMod.Projectiles.Boss; using CalamityMod.Projectiles.Enemy; using CalamityMod.World; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod { // TODO -- This can be made into a ModSystem with simple OnModLoad and Unload hooks. public static partial class NPCStats { private const double ExpertContactVanillaMultiplier = 2D; private const double MasterContactVanillaMultiplier = 3D; private const double NormalProjectileVanillaMultiplier = 2D; private const double ExpertProjectileVanillaMultiplier = 4D; private const double MasterProjectileVanillaMultiplier = 6D; #region Enemy Stats Container Struct internal partial struct EnemyStats { public static SortedDictionary ExpertDamageMultiplier; public static SortedDictionary ContactDamageValues; public static SortedDictionary, int[]> ProjectileDamageValues; }; #endregion #region Stat Retrieval Methods public static void GetNPCDamage(this NPC npc) { double damageAdjustment = GetExpertDamageMultiplier(npc) * (Main.masterMode ? MasterContactVanillaMultiplier : ExpertContactVanillaMultiplier); // Safety check: If for some reason the contact damage array is not initialized yet, set the NPC's damage to 1. bool exists = EnemyStats.ContactDamageValues.TryGetValue(npc.type, out int[] contactDamage); if (!exists) npc.damage = 1; int normalDamage = contactDamage[0]; int expertDamage = contactDamage[1] == -1 ? -1 : (int)Math.Round(contactDamage[1] / damageAdjustment); int revengeanceDamage = contactDamage[2] == -1 ? -1 : (int)Math.Round(contactDamage[2] / damageAdjustment); int deathDamage = contactDamage[3] == -1 ? -1 : (int)Math.Round(contactDamage[3] / damageAdjustment); int masterDamage = contactDamage[4] == -1 ? -1 : (int)Math.Round(contactDamage[4] / damageAdjustment); // If the assigned value would be -1, don't actually assign it. This allows for conditionally disabling the system. int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage; if (damageToUse != -1) npc.damage = damageToUse; } // Gets the amount of damage a given projectile should do from this NPC. // Automatically compensates for Terraria's internal spaghetti scaling. public static int GetProjectileDamage(this NPC npc, int projType) { double damageAdjustment = Main.masterMode ? MasterProjectileVanillaMultiplier : Main.expertMode ? ExpertProjectileVanillaMultiplier : NormalProjectileVanillaMultiplier; // Safety check: If for some reason the projectile damage array is not initialized yet, return 1. bool exists = EnemyStats.ProjectileDamageValues.TryGetValue(new Tuple(npc.type, projType), out int[] projectileDamage); if (!exists) return 1; int normalDamage = (int)Math.Round(projectileDamage[0] / damageAdjustment); int expertDamage = (int)Math.Round(projectileDamage[1] / damageAdjustment); int revengeanceDamage = (int)Math.Round(projectileDamage[2] / damageAdjustment); int deathDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment); int masterDamage = (int)Math.Round(projectileDamage[4] / damageAdjustment); int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage; return damageToUse; } // Gets the amount of damage this projectile should do from a given NPC. // Automatically compensates for Terraria's internal spaghetti scaling. public static int GetProjectileDamage(this Projectile projectile, int npcType) { double damageAdjustment = Main.masterMode ? MasterProjectileVanillaMultiplier : Main.expertMode ? ExpertProjectileVanillaMultiplier : NormalProjectileVanillaMultiplier; // Safety check: If for some reason the projectile damage array is not initialized yet, return 1. bool exists = EnemyStats.ProjectileDamageValues.TryGetValue(new Tuple(npcType, projectile.type), out int[] projectileDamage); if (!exists) return 1; int normalDamage = (int)Math.Round(projectileDamage[0] / damageAdjustment); int expertDamage = (int)Math.Round(projectileDamage[1] / damageAdjustment); int revengeanceDamage = (int)Math.Round(projectileDamage[2] / damageAdjustment); int deathDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment); int masterDamage = (int)Math.Round(projectileDamage[4] / damageAdjustment); int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage; return damageToUse; } // Gets the raw amount of damage a projectile should do from this NPC. // That is, this doesn't adjust the value to compensate for Terraria's internal spaghetti scaling. public static int GetProjectileDamageNoScaling(this NPC npc, int projType) { bool exists = EnemyStats.ProjectileDamageValues.TryGetValue(new Tuple(npc.type, projType), out int[] projectileDamage); return !exists ? 1 // Base case for safety, in case the array is not initialized yet. : Main.masterMode ? projectileDamage[4] : CalamityWorld.death ? projectileDamage[3] : CalamityWorld.revenge ? projectileDamage[2] : Main.expertMode ? projectileDamage[1] : projectileDamage[0]; } /// /// Gets the Expert/Master Mode damage multiplier for the specified boss NPC. /// Useful for determining the base damage a boss NPC should have prior to being run through the Expert/Master scaling code. /// /// The NPC you want to get the damage multiplier for /// Whether Master Mode is enabled or not /// public static double GetExpertDamageMultiplier(this NPC npc, bool? master = null) { bool exists = EnemyStats.ExpertDamageMultiplier.TryGetValue(npc.type, out double damageMult); return exists ? damageMult : 1D; } #endregion #region Load/Unload internal static void Load() { LoadEnemyStats(); LoadDebuffs(); } internal static void Unload() { UnloadEnemyStats(); UnloadDebuffs(); } // A static function, called exactly once, which initializes the EnemyStats struct at a predictable time. // This is necessary to ensure this dictionary is populated as early as possible. internal static void LoadEnemyStats() { EnemyStats.ExpertDamageMultiplier = new SortedDictionary { { NPCID.KingSlime, 0.8 }, { ModContent.NPCType(), 1.1 }, { ModContent.NPCType(), 0.8 }, { NPCID.EaterofWorldsHead, 1.1 }, { NPCID.EaterofWorldsBody, 0.8 }, { NPCID.EaterofWorldsTail, 0.8 }, { NPCID.BrainofCthulhu, 0.9 }, { ModContent.NPCType(), 0.9 }, { ModContent.NPCType(), 0.9 }, { NPCID.QueenBee, 0.9 }, { NPCID.Bee, 0.6 }, { NPCID.BeeSmall, 0.6 }, { NPCID.SkeletronHead, 1.1 }, { NPCID.SkeletronHand, 1.1 }, { NPCID.WallofFlesh, 1.5 }, { NPCID.WallofFleshEye, 1.5 }, { ModContent.NPCType(), 1.15 }, { NPCID.Spazmatism, 0.85 }, { NPCID.Retinazer, 0.85 }, { ModContent.NPCType(), 0.85 }, { ModContent.NPCType(), 1.1 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { NPCID.TheDestroyer, 2 }, { NPCID.TheDestroyerBody, 0.85 }, { NPCID.TheDestroyerTail, 0.85 }, { ModContent.NPCType(), 0.8 }, { NPCID.SkeletronPrime, 0.85 }, { ModContent.NPCType(), 0.85 }, { NPCID.PrimeCannon, 0.85 }, { NPCID.PrimeLaser, 0.85 }, { NPCID.PrimeSaw, 0.85 }, { NPCID.PrimeVice, 0.85 }, { ModContent.NPCType(), 0.8 }, { NPCID.Plantera, 1.15 }, { NPCID.PlanterasTentacle, 1.15 }, { ModContent.NPCType(), 1.15 }, { NPCID.HallowBoss, 0.6875 }, { ModContent.NPCType(), 1.2 }, { ModContent.NPCType(), 0.8 }, { NPCID.DetonatingBubble, 0.75 }, { ModContent.NPCType(), 1.1 }, { NPCID.Golem, 0.8 }, { NPCID.GolemHead, 0.8 }, { NPCID.GolemFistLeft, 0.8 }, { NPCID.GolemFistRight, 0.8 }, { ModContent.NPCType(), 0.9 }, { NPCID.DukeFishron, 0.7 }, { NPCID.Sharkron, 0.75 }, { NPCID.Sharkron2, 0.75 }, { ModContent.NPCType(), 0.8 }, { NPCID.CultistDragonHead, 0.75 }, { NPCID.CultistDragonBody1, 0.75 }, { NPCID.CultistDragonBody2, 0.75 }, { NPCID.CultistDragonBody3, 0.75 }, { NPCID.CultistDragonBody4, 0.75 }, { NPCID.CultistDragonTail, 0.75 }, { NPCID.AncientDoom, 0.75 }, { NPCID.AncientLight, 0.75 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.9 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.9 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.85 }, { ModContent.NPCType(), 0.85 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 }, { ModContent.NPCType(), 0.8 } }; EnemyStats.ContactDamageValues = new SortedDictionary { { NPCID.KingSlime, new int[] { 40, 64, 80, 96, 144 } }, { ModContent.NPCType(), new int[] { 30, 44, 60, 76, 114 } }, { ModContent.NPCType(), new int[] { 45, 66, 88, 110, 165 } }, { ModContent.NPCType(), new int[] { 24, 32, 40, 48, 72 } }, { ModContent.NPCType(), new int[] { 18, 24, 30, 36, 54 } }, { ModContent.NPCType(), new int[] { 30, 44, 60, 76, 114 } }, { ModContent.NPCType(), new int[] { 21, 28, 32, 36, 63 } }, { ModContent.NPCType(), new int[] { 12, 16, 20, 24, 36 } }, { ModContent.NPCType(), new int[] { 30, 44, 60, 76, 114 } }, { ModContent.NPCType(), new int[] { 21, 28, 32, 36, 63 } }, { ModContent.NPCType(), new int[] { 12, 16, 20, 24, 36 } }, { NPCID.EyeofCthulhu, new int[] { 24, // 36 in phase 2 30, // 45 in phase 2 40, // 48 in phase 2, 56 in phase 3 50, // 60 in phase 2, 70 in phase 3 75 } }, // Vanilla: 113 in phase 2; Rev+: 90 in phase 2, 105 in phase 3 { NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 36, 54 } }, { ModContent.NPCType(), new int[] { 20, 26, 34, 42, 63 } }, // In phase 2: 26, 34, 44, 55, 82 { ModContent.NPCType(), new int[] { 40, 64, 80, 96, 144 } }, { ModContent.NPCType(), new int[] { 25, 50, 62, 74, 111 } }, { NPCID.EaterofWorldsHead, new int[] { 38, 55, 77, 99, 165 } }, { NPCID.EaterofWorldsBody, new int[] { 18, 24, 32, 40, 60 } }, { NPCID.EaterofWorldsTail, new int[] { 12, 16, 24, 32, 48 } }, { NPCID.VileSpitEaterOfWorlds, new int[] { -1, 64, 64, 64, 96 } }, { NPCID.BrainofCthulhu, new int[] { 36, 54, 81, 108, 162 } }, { NPCID.Creeper, new int[] { 24, 36, 66, 96, 144 } }, { ModContent.NPCType(), new int[] { 42, 63, 81, 99, 162 } }, { ModContent.NPCType(), new int[] { 30, 50, 62, 74, 111 } }, { ModContent.NPCType(), new int[] { 36, 54, 63, 72, 108 } }, { ModContent.NPCType(), new int[] { 54, 90, 108, 126, 189 } }, { ModContent.NPCType(), new int[] { 28, 48, 56, 64, 96 } }, { ModContent.NPCType(), new int[] { 22, 36, 42, 48, 72 } }, { ModContent.NPCType(), new int[] { 42, 70, 84, 98, 147 } }, { ModContent.NPCType(), new int[] { 24, 42, 50, 58, 87 } }, { ModContent.NPCType(), new int[] { 18, 28, 34, 40, 60 } }, { ModContent.NPCType(), new int[] { 36, 60, 72, 84, 126 } }, { ModContent.NPCType(), new int[] { 20, 36, 42, 48, 72 } }, { ModContent.NPCType(), new int[] { 14, 20, 26, 32, 48 } }, { NPCID.QueenBee, new int[] { 36, 54, 81, 108, 162 } }, { NPCID.Bee, new int[] { 20, 24, 48, 72, 108 } }, { NPCID.BeeSmall, new int[] { 15, 18, 36, 54, 81 } }, { NPCID.SkeletronHead, new int[] { 42, // 55 while spinning 77, // 100 while spinning 88, // 114 while spinning 99, // 128 while spinning 165 } }, // 215 while spinning { NPCID.SkeletronHand, new int[] { 32, 44, 77, 110, 165 } }, { NPCID.Deerclops, new int[] { 20, 40, 50, 60, 90 } }, { ModContent.NPCType(), new int[] { 48, 80, 96, 112, 168 } }, { ModContent.NPCType(), new int[] { 54, 90, 108, 126, 189 } }, { ModContent.NPCType(), new int[] { 48, 80, 96, 112, 168 } }, { ModContent.NPCType(), new int[] { 60, 100, 120, 140, 210 } }, { ModContent.NPCType(), new int[] { 54, 90, 108, 126, 189 } }, { ModContent.NPCType(), new int[] { 36, 60, 72, 84, 126 } }, { ModContent.NPCType(), new int[] { 24, 40, 48, 56, 84 } }, { ModContent.NPCType(), new int[] { 42, 70, 84, 98, 147 } }, { ModContent.NPCType(), new int[] { 30, 50, 60, 70, 105 } }, { NPCID.WallofFlesh, new int[] { 100, 150, 180, 210, 315 } }, { NPCID.WallofFleshEye, new int[] { 100, 150, 180, 210, 315 } }, { NPCID.TheHungry, new int[] { 30, // Ranges from 30 to 75 depending on WoF life 60, // Ranges from 60 to 150 depending on WoF life 60, // Ranges from 60 to 150 depending on WoF life 60, // Ranges from 60 to 150 depending on WoF life 90 } }, // Ranges from 90 to 225 depending on WoF life { NPCID.TheHungryII, new int[] { 30, 60, 74, 88, 132 } }, { NPCID.LeechHead, new int[] { 26, 52, 62, 72, 108 } }, { NPCID.LeechBody, new int[] { 22, 44, 52, 60, 90 } }, { NPCID.LeechTail, new int[] { 18, 36, 42, 48, 72 } }, { NPCID.QueenSlimeBoss, new int[] { 80, 120, 150, 180, 270 } }, { NPCID.QueenSlimeMinionBlue, new int[] { 60, 80, 100, 120, 180 } }, { NPCID.QueenSlimeMinionPink, new int[] { 60, 80, 100, 120, 180 } }, { NPCID.QueenSlimeMinionPurple, new int[] { 70, 100, 120, 140, 210 } }, { ModContent.NPCType(), new int[] { 90, 138, 161, 184, 276 } }, { ModContent.NPCType(), new int[] { 80, 120, 138, 156, 240 } }, { NPCID.Spazmatism, new int[] { 70, // 105 in phase 2 102, // 153 in phase 2 119, // 178 in phase 2 136, // 204 in phase 2 204 } }, // 306 in phase 2 { NPCID.Retinazer, new int[] { 55, // 83 in phase 2 85, // 127 in phase 2 102, // 153 in phase 2 119, // 178 in phase 2 153 } }, // 229 in phase 2 { ModContent.NPCType(), new int[] { 62, // 93 in phase 2 94, // 141 in phase 2 110, // 165 in phase 2 128, // 192 in phase 2 178 } }, // 267 in phase 2 { ModContent.NPCType(), new int[] { 110, 176, 187, 198, 330 } }, { ModContent.NPCType(), new int[] { 75, 112, 136, 160, 240 } }, { ModContent.NPCType(), new int[] { 70, 104, 112, 120, 192 } }, { ModContent.NPCType(), new int[] { 65, 96, 104, 112, 168 } }, { NPCID.TheDestroyer, new int[] { 140, 280, 300, 320, 480 } }, { NPCID.TheDestroyerBody, new int[] { 70, 102, 136, 170, 255 } }, { NPCID.TheDestroyerTail, new int[] { 45, 68, 102, 136, 204 } }, { ModContent.NPCType(), new int[] { 75, 112, 136, 160, 240 } }, { NPCID.SkeletronPrime, new int[] { 50, // 100 while spinning 85, // 170 while spinning 102, // 204 while spinning 119, // 238 while spinning 153 } }, // 306 while spinning { ModContent.NPCType(), new int[] { 50, // 100 while spinning 85, // 170 while spinning 102, // 204 while spinning 119, // 238 while spinning 153 } }, // 306 while spinning { NPCID.PrimeVice, new int[] { 70, 102, 136, 170, 255 } }, { NPCID.PrimeSaw, new int[] { 70, 102, 136, 170, 255 } }, { NPCID.PrimeCannon, new int[] { 30, 51, 68, 85, 102 } }, { NPCID.PrimeLaser, new int[] { 30, 51, 68, 85, 102 } }, { ModContent.NPCType(), new int[] { 95, 144, 168, 192, 288 } }, { ModContent.NPCType(), new int[] { 80, 120, 138, 156, 240 } }, { ModContent.NPCType(), new int[] { 85, 130, 150, 170, 255 } }, { NPCID.Plantera, new int[] { 70, // 98 in phase 2 100, // 140 in phase 2 138, // 193 in phase 2 176, // 246 in phase 2 276 } }, // 386 in phase 2 { NPCID.PlanterasTentacle, new int[] { 90, 138, 161, 184, 276 } }, { ModContent.NPCType(), new int[] { 90, 138, 161, 184, 276 } }, { NPCID.Spore, new int[] { 90, 140, 160, 180, 270 } }, { NPCID.HallowBoss, new int[] { 80, // 120 during charge 110, // 165 during charge 143, // 215 during charge 176, // 264 during charge 264 } }, // 396 during charge { ModContent.NPCType(), new int[] { 140, 216, 240, 264, 414 } }, { ModContent.NPCType(), new int[] { 75, // 113 during charge 112, // 168 during charge 136, // 204 during charge 160, // 240 during charge 240 } }, // 360 during charge { ModContent.NPCType(), new int[] { 70, 110, 126, 142, 210 } }, { NPCID.DetonatingBubble, new int[] { 100, 150, 180, 210, 315 } }, { ModContent.NPCType(), new int[] { 90, 140, 160, 180, 270 } }, { ModContent.NPCType(), new int[] { 145, 220, 242, 264, 429 } }, { ModContent.NPCType(), new int[] { 75, 112, 128, 144, 225 } }, { NPCID.Golem, new int[] { 95, 144, 176, 208, 312 } }, { NPCID.GolemHead, new int[] { 85, 128, 144, 160, 240 } }, { NPCID.GolemFistLeft, new int[] { 75, 112, 144, 176, 264 } }, { NPCID.GolemFistRight, new int[] { 75, 112, 144, 176, 264 } }, { ModContent.NPCType(), new int[] { 120, 180, 216, 252, 378 } }, { ModContent.NPCType(), new int[] { 120, 180, 210, 240, 360 } }, { ModContent.NPCType(), new int[] { 130, 200, 240, 280, 420 } }, { NPCID.DukeFishron, new int[] { 100, // 120 in phase 2 140, // 202 in phase 2, 185 in phase 3 168, // 242 in phase 2, 222 in phase 3 196, // 282 in phase 2, 259 in phase 3 294 } }, // 423 in phase 2, 388 in phase 3 { NPCID.Sharkron, new int[] { 100, 150, 180, 210, 315 } }, { NPCID.Sharkron2, new int[] { 120, 180, 210, 240, 360 } }, { ModContent.NPCType(), new int[] { 130, 192, 224, 256, 384 } }, { ModContent.NPCType(), new int[] { 105, 160, 180, 200, 315 } }, { ModContent.NPCType(), new int[] { 105, 160, 180, 200, 315 } }, { ModContent.NPCType(), new int[] { 130, 192, 224, 256, 390 } }, { ModContent.NPCType(), new int[] { 105, 160, 192, 224, 336 } }, { NPCID.CultistDragonHead, new int[] { 120, 180, 210, 240, 360 } }, { NPCID.CultistDragonBody1, new int[] { 60, 90, 105, 120, 180 } }, { NPCID.CultistDragonBody2, new int[] { 60, 90, 105, 120, 180 } }, { NPCID.CultistDragonBody3, new int[] { 60, 90, 105, 120, 180 } }, { NPCID.CultistDragonBody4, new int[] { 60, 90, 105, 120, 180 } }, { NPCID.CultistDragonTail, new int[] { 60, 90, 105, 120, 180 } }, { NPCID.AncientCultistSquidhead, new int[] { 120, 180, 210, 240, 360 } }, { NPCID.AncientLight, new int[] { 120, 180, 210, 240, 360 } }, { ModContent.NPCType(), new int[] { 160, 240, 268, 296, 480 } }, { ModContent.NPCType(), new int[] { 105, 160, 192, 224, 336 } }, { ModContent.NPCType(), new int[] { 85, 128, 160, 192, 288 } }, { ModContent.NPCType(), new int[] { 150, 224, 256, 288, 444 } }, { ModContent.NPCType(), new int[] { 160, 240, 264, 288, 405 } }, { ModContent.NPCType(), new int[] { 100, 200, 220, 240, 300 } }, { ModContent.NPCType(), new int[] { 100, 200, 220, 232, 300 } }, { ModContent.NPCType(), new int[] { 170, 256, 288, 320, 504 } }, { ModContent.NPCType(), new int[] { 145, 220, 242, 264, 435 } }, { ModContent.NPCType(), new int[] { 240, 360, 396, 432, 720 } }, { ModContent.NPCType(), new int[] { 175, 260, 288, 316, 525 } }, { ModContent.NPCType(), new int[] { 240, 360, 396, 432, 720 } }, { ModContent.NPCType(), new int[] { 125, 192, 224, 256, 372 } }, { ModContent.NPCType(), new int[] { 105, 160, 192, 224, 312 } }, { ModContent.NPCType(), new int[] { 210, 315, 351, 387, 621 } }, { ModContent.NPCType(), new int[] { 175, 260, 288, 316, 525 } }, { ModContent.NPCType(), new int[] { 190, 280, 300, 320, 570 } }, { ModContent.NPCType(), new int[] { 160, // 192 in phase 2, 224 in phase 3 240, // 288 in phase 2, 336 in phase 3 264, // 317 in phase 2, 370 in phase 3 288, // 346 in phase 2, 403 in phase 3 480 } }, // 576 in phase 2, 672 in phase 3 { ModContent.NPCType(), new int[] { 224, 336, 370, 403, 672 } }, { ModContent.NPCType(), new int[] { 192, // 211 in phase 2, 230 in phase 3 288, // 317 in phase 2, 346 in phase 3 324, // 356 in phase 2, 389 in phase 3 360, // 396 in phase 2, 432 in phase 3 567 } }, // 624 in phase 2, 680 in phase 3 { ModContent.NPCType(), new int[] { 192, 288, 328, 368, 576 } }, { ModContent.NPCType(), new int[] { 192, 288, 328, 368, 576 } }, { ModContent.NPCType(), new int[] { 470, 700, 750, 800, 1410 } }, { ModContent.NPCType(), new int[] { 250, 374, 425, 476, 714 } }, { ModContent.NPCType(), new int[] { 204, 306, 340, 374, 612 } }, { ModContent.NPCType(), new int[] { 240, 360, 396, 432, 720 } }, { ModContent.NPCType(), new int[] { 175, 260, 290, 320, 525 } }, { ModContent.NPCType(), new int[] { 135, 200, 230, 260, 405 } }, { ModContent.NPCType(), new int[] { 300, 448, 480, 512, 900 } }, { ModContent.NPCType(), new int[] { 340, 512, 544, 576, 1020 } }, { ModContent.NPCType(), new int[] { 340, 512, 544, 576, 1020 } }, { ModContent.NPCType(), new int[] { 320, 480, 512, 544, 960 } }, { ModContent.NPCType(), new int[] { 375, 560, 592, 624, 1116 } }, { ModContent.NPCType(), new int[] { 320, 480, 512, 544, 960 } }, { ModContent.NPCType(), new int[] { 320, 480, 512, 544, 960 } }, { ModContent.NPCType(), new int[] { 270, 400, 424, 448, 804 } }, { ModContent.NPCType(), new int[] { 535, 800, 850, 900, 1596 } } }; EnemyStats.ProjectileDamageValues = new SortedDictionary, int[]> { { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 26, 36, 44, 52, 84 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 26, 36, 44, 52, 84 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 26, 36, 44, 52, 84 } }, { new Tuple(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 76, 114 } }, { new Tuple(ModContent.NPCType(), ProjectileID.BloodShot), new int[] { 26, 36, 44, 52, 84 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 32, 48, 60, 72, 108 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 32, 48, 60, 72, 108 } }, { new Tuple(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 26, 44, 60, 76, 114 } }, { new Tuple(NPCID.EaterofWorldsHead, ModContent.ProjectileType()), new int[] { 26, 36, 44, 52, 84 } }, { new Tuple(NPCID.BrainofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(NPCID.BrainofCthulhu, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 114 } }, { new Tuple(NPCID.Creeper, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 114 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 30, 48, 60, 72, 108 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 30, 48, 60, 72, 108 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 22, 36, 44, 52, 84 } }, { new Tuple(NPCID.QueenBee, ProjectileID.QueenBeeStinger), new int[] { 22, 44, 64, 84, 126 } }, { new Tuple(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 72, 84, 96, 144 } }, { new Tuple(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 36, 72, 88, 104, 156 } }, { new Tuple(NPCID.SkeletronHand, ProjectileID.Skull), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(NPCID.Deerclops, ProjectileID.DeerclopsIceSpike), new int[] { 26, 52, 76, 100, 150 } }, { new Tuple(NPCID.Deerclops, ProjectileID.DeerclopsRangedProjectile), new int[] { 36, 72, 88, 104, 156 } }, { new Tuple(NPCID.Deerclops, ProjectileID.InsanityShadowHostile), new int[] { 20, 40, 60, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 42, 68, 84, 100, 150 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 92, 138 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 42, 68, 84, 100, 150 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 92, 138 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 92, 138 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 34, 52, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 80, 120 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 24, 48, 60, 72, 108 } }, { new Tuple(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] { 36, 72, 88, 104, 156 } }, { new Tuple(NPCID.WallofFlesh, ProjectileID.DemonSickle), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(NPCID.WallofFlesh, ProjectileID.Fireball), new int[] { 36, 72, 88, 104, 156 } }, { new Tuple(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeGelAttack), new int[] { 60, 120, 136, 152, 228 } }, { new Tuple(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeSmash), new int[] { 80, 160, 188, 216, 324 } }, { new Tuple(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(NPCID.QueenSlimeMinionBlue, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(NPCID.QueenSlimeMinionPink, ProjectileID.QueenSlimeMinionPinkBall), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 120, 136, 152, 228 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 60, 100, 120, 140, 210 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 52, 92, 112, 132, 198 } }, { new Tuple(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 140, 210 } }, { new Tuple(NPCID.Retinazer, ProjectileID.DeathLaser), new int[] { 50, // 38 in rapid fire 108, // 81 in rapid fire 132, // 99 in rapid fire 156, // 117 in rapid fire 234 } }, // 176 in rapid fire { new Tuple(NPCID.Retinazer, ModContent.ProjectileType()), new int[] { 70, 120, 136, 152, 228 } }, { new Tuple(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 140, 210 } }, { new Tuple(NPCID.Spazmatism, ModContent.ProjectileType()), new int[] { 60, 120, 148, 176, 264 } }, { new Tuple(NPCID.Spazmatism, ModContent.ProjectileType()), new int[] { 70, 120, 148, 176, 264 } }, { new Tuple(NPCID.Spazmatism, ModContent.ProjectileType()), new int[] { 60, 100, 128, 156, 234 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 50, 108, 132, 156, 234 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 120, 148, 176, 264 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 120, 148, 176, 264 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 60, 100, 120, 140, 210 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 120, 136, 152, 228 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 66, 112, 128, 144, 216 } }, { new Tuple(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 204 } }, { new Tuple(NPCID.TheDestroyer, ModContent.ProjectileType()), new int[] { 46, 108, 128, 148, 222 } }, { new Tuple(NPCID.TheDestroyer, ModContent.ProjectileType()), new int[] { 48, 116, 136, 156, 234 } }, { new Tuple(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 204 } }, { new Tuple(NPCID.TheDestroyerBody, ModContent.ProjectileType()), new int[] { 46, 108, 128, 148, 222 } }, { new Tuple(NPCID.TheDestroyerBody, ModContent.ProjectileType()), new int[] { 48, 116, 136, 156, 234 } }, { new Tuple(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 100, 112, 168 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 112, 128, 144, 216 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 200, 240, 280, 420 } }, // Split shots: 72, 120, 144, 168, 252 { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 112, 128, 144, 216 } }, { new Tuple(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 140, 210 } }, { new Tuple(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 210 } }, { new Tuple(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 264 } }, { new Tuple(ModContent.NPCType(), ProjectileID.Skull), new int[] { 50, 108, 124, 140, 210 } }, { new Tuple(ModContent.NPCType(), ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 180, 200, 300 } }, { new Tuple(ModContent.NPCType(), ProjectileID.FrostBeam), new int[] { 50, 108, 124, 140, 210 } }, { new Tuple(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 264 } }, { new Tuple(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 0, 300 } }, { new Tuple(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 210 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 112, 128, 144, 216 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 112, 128, 144, 216 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 70, 112, 128, 144, 216 } }, { new Tuple(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 160, 240 } }, { new Tuple(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 144, 172, 258 } }, { new Tuple(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 188, 282 } }, { new Tuple(NPCID.Plantera, ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(NPCID.Plantera, ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(NPCID.HallowBoss, ProjectileID.HallowBossRainbowStreak), new int[] { 100, 152, 172, 192, 300 } }, { new Tuple(NPCID.HallowBoss, ProjectileID.FairyQueenSunDance), new int[] { 120, 180, 204, 228, 360 } }, { new Tuple(NPCID.HallowBoss, ProjectileID.HallowBossLastingRainbow), new int[] { 100, 152, 172, 192, 300 } }, { new Tuple(NPCID.HallowBoss, ProjectileID.FairyQueenLance), new int[] { 130, 196, 216, 236, 390 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 100, 172, 208, 244, 366 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 80, 140, 160, 180, 270 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 84, 148, 172, 196, 294 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 100, 172, 208, 244, 366 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(NPCID.Golem, ProjectileID.Fireball), new int[] { 72, 132, 160, 188, 282 } }, { new Tuple(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } }, { new Tuple(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 160, 200, 300 } }, { new Tuple(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } }, { new Tuple(NPCID.GolemFistLeft, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(NPCID.GolemFistRight, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 160, 200, 300 } }, { new Tuple(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } }, { new Tuple(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 372 } }, { new Tuple(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 150, 200, 300 } }, { new Tuple(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 264, 480 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 180, 208, 236, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 180, 208, 236, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 90, 144, 172, 200, 300 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 180, 208, 236, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 90, 144, 172, 200, 300 } }, { new Tuple(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(NPCID.CultistBoss, ProjectileID.CultistBossIceMist), new int[] { 120, 180, 208, 236, 360 } }, { new Tuple(NPCID.CultistBoss, ProjectileID.CultistBossLightningOrb), new int[] { 120, 192, 220, 248, 372 } }, { new Tuple(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 90, 144, 172, 200, 300 } }, { new Tuple(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 88, 156, 184, 212, 318 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 90, 152, 176, 200, 300 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 180, 208, 236, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 100, 172, 192, 212, 318 } }, { new Tuple(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 200, 300, 380, 460, 690 } }, { new Tuple(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 300 } }, { new Tuple(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 90, 120, 160, 200, 300 } }, { new Tuple(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 120, 160, 220, 280, 420 } }, { new Tuple(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 300 } }, { new Tuple(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 100, 140, 180, 220, 330 } }, { new Tuple(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 100, 140, 180, 220, 330 } }, { new Tuple(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalSphere), new int[] { 132, 176, 220, 264, 396 } }, { new Tuple(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalDeathray), new int[] { 150, 200, 260, 320, 480 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 160, 320, 352, 384, 480 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 105, 171, 189, 207, 315 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 228, 252, 276, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 105, 171, 189, 207, 315 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 35, 50, 50, 0, 0 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 200, 300, 332, 364, 600 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 150, 264, 288, 312, 450 } }, // Split holy fire does: 113, 198, 216, 234, 338 { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 120, 192, 220, 248, 360 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 35, 50, 50, 0, 0 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 228, 252, 276, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 105, 171, 189, 207, 315 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 228, 252, 276, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 105, 171, 189, 207, 315 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 268, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 228, 252, 276, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 228, 252, 276, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 200, 400, 440, 480, 600 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ProjectileID.FrostWave), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 160, 276, 304, 332, 480 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 160, 276, 304, 332, 480 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 240, 264, 288, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 170, 296, 324, 352, 510 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 150, 264, 288, 312, 450 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 264, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 140, 220, 244, 264, 420 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 170, 296, 324, 352, 510 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 420, 460, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 170, 296, 324, 352, 510 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 180, 316, 348, 380, 540 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 170, 296, 324, 352, 510 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 180, 316, 348, 380, 540 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 200, 340, 376, 412, 600 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 180, 316, 348, 380, 540 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 300, 520, 548, 576, 900 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 220, 384, 424, 464, 660 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 220, 384, 424, 464, 660 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 220, 384, 424, 464, 660 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 220, 384, 424, 464, 660 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 300, 508, 528, 548, 900 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 350, 592, 624, 656, 1050 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 488, 750 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 300, 508, 528, 548, 900 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 468, 484, 500, 840 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 350, 592, 624, 656, 1050 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 300, 508, 528, 548, 900 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 300, 508, 528, 548, 900 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 240, 408, 432, 456, 720 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 400, 608, 640, 672, 1200 } }, { new Tuple(ModContent.NPCType(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 664, 1200 } }, { new Tuple(ModContent.NPCType(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 824, 1500 } }, { new Tuple(ModContent.NPCType(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 664, 1200 } }, { new Tuple(ModContent.NPCType(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 664, 1200 } } }; } // Destroys the EnemyStats struct to save memory because mod assemblies will not be fully unloaded until TML 1.4. internal static void UnloadEnemyStats() { EnemyStats.ExpertDamageMultiplier = null; EnemyStats.ContactDamageValues = null; EnemyStats.ProjectileDamageValues = null; } #endregion } }