Files
CalamityModPublic/Utilities/NPCStats.cs
T
Andrew Marheine 486604f9b3 1 - Removed Rare Variant rarity, replaced with Challenge Drop tooltip.
2 - Replaced Pharaoh Set in Pyramids with a Ruby Hook via IL Editing.
3 - Gave several split projectiles homing a set time after the primary projectile splits, these projectiles deal no damage for a short time and then begin homing once that time has passed.
4 - Reduced Rocket III and Rocket IV damage by 25%, buffed low damage launchers a bit to compensate.
5 - Reverted the nerf made to Snowman Cannon.
6 - Adjusted Scorpio to be a burst-fire weapon.
7 - Increased homing speed for many weapons but reduced homing range.
8 - Reworked Conference Call to target up to 12 enemies on your screen and fire bullets from the sky towards them.
9 - Crown Jewel and Teardrop Cleaver are now Challenge Drops.
10 - Magic Mirror, Ice Mirror, Recall Potions and Cell Phone have a tooltip to state that they can't be used during boss fights.
11 - Reduced Bohldohr damage and made them spawn more often.
12 - Adjusted Gem Crawler spawn rates.
13 - Earth Elemental drop pool changes and made them non-hostile and non-damageable unless approached.
14 - Providence no longer fires additional stars directly at the player given her guardians are alive and she's not at low HP.
15 - Pillar event spawns are now tiered, weaker enemies spawn while the shield is at high HP and more difficult enemies spawn as the HP lowers.
16 - Demon Altars drop 6 Souls of Night upon being broken.
17 - Added recipes for Pharaoh Set pieces.
2021-04-05 18:47:55 -05:00

787 lines
50 KiB
C#

using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.AstrumAureus;
using CalamityMod.NPCs.AstrumDeus;
using CalamityMod.NPCs.BrimstoneElemental;
using CalamityMod.NPCs.Bumblebirb;
using CalamityMod.NPCs.Calamitas;
using CalamityMod.NPCs.CeaselessVoid;
using CalamityMod.NPCs.Crabulon;
using CalamityMod.NPCs.Cryogen;
using CalamityMod.NPCs.DesertScourge;
using CalamityMod.NPCs.DevourerofGods;
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.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 System;
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod
{
public static partial class NPCStats
{
private const double ExpertContactVanillaMultiplier = 2D;
private const double NormalProjectileVanillaMultiplier = 2D;
private const double ExpertProjectileVanillaMultiplier = 4D;
#region Boss Stats Container Struct
internal partial struct BossStats
{
public static SortedDictionary<int, double> ExpertDamageMultiplier;
public static SortedDictionary<int, int[]> ContactDamageValues;
public static SortedDictionary<Tuple<int, int>, int[]> ProjectileDamageValues;
};
#endregion
#region Stat Retrieval Methods
public static void GetNPCDamage(this NPC npc)
{
double damageAdjustment = GetExpertDamageMultiplier(npc) * ExpertContactVanillaMultiplier;
// Safety check: If for some reason the contact damage array is not initialized yet, set the NPC's damage to 1.
bool exists = BossStats.ContactDamageValues.TryGetValue(npc.type, out int[] contactDamage);
if (!exists)
npc.damage = 1;
int normalDamage = contactDamage[0];
int expertDamage = (int)Math.Round(contactDamage[1] / damageAdjustment);
int revengeanceDamage = (int)Math.Round(contactDamage[2] / damageAdjustment);
int deathDamage = (int)Math.Round(contactDamage[3] / damageAdjustment);
int masterDamage = (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 = 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.expertMode ? ExpertProjectileVanillaMultiplier : NormalProjectileVanillaMultiplier;
// Safety check: If for some reason the projectile damage array is not initialized yet, return 1.
bool exists = BossStats.ProjectileDamageValues.TryGetValue(new Tuple<int, int>(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);
return CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
}
// 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.expertMode ? ExpertProjectileVanillaMultiplier : NormalProjectileVanillaMultiplier;
// Safety check: If for some reason the projectile damage array is not initialized yet, return 1.
bool exists = BossStats.ProjectileDamageValues.TryGetValue(new Tuple<int, int>(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);
return CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
}
// 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 = BossStats.ProjectileDamageValues.TryGetValue(new Tuple<int, int>(npc.type, projType), out int[] projectileDamage);
return !exists ? 1 // Base case for safety, in case the array is not initialized yet.
: CalamityWorld.death ? projectileDamage[3]
: CalamityWorld.revenge ? projectileDamage[2]
: Main.expertMode ? projectileDamage[1]
: projectileDamage[0];
}
/// <summary>
/// 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.
/// </summary>
/// <param name="npc">The NPC you want to get the damage multiplier for</param>
/// <param name="master">Whether Master Mode is enabled or not</param>
/// <returns></returns>
public static double GetExpertDamageMultiplier(this NPC npc, bool? master = null)
{
bool exists = BossStats.ExpertDamageMultiplier.TryGetValue(npc.type, out double damageMult);
return exists ? damageMult : 1D;
}
#endregion
#region Load/Unload
internal static void Load()
{
LoadBossStats();
LoadDebuffs();
}
internal static void Unload()
{
UnloadBossStats();
UnloadDebuffs();
}
// A static function, called exactly once, which initializes the BossStats struct at a predictable time.
// This is necessary to ensure this dictionary is populated as early as possible.
internal static void LoadBossStats()
{
BossStats.ExpertDamageMultiplier = new SortedDictionary<int, double>
{
{ NPCID.KingSlime, 0.8 },
{ ModContent.NPCType<DesertScourgeHead>(), 1.1 },
{ ModContent.NPCType<CrabulonIdle>(), 0.8 },
{ NPCID.EaterofWorldsHead, 1.1 },
{ NPCID.EaterofWorldsBody, 0.8 },
{ NPCID.EaterofWorldsTail, 0.8 },
{ NPCID.BrainofCthulhu, 0.9 },
{ ModContent.NPCType<HiveMind>(), 0.9 },
{ ModContent.NPCType<HiveMindP2>(), 0.9 },
{ ModContent.NPCType<PerforatorHive>(), 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<Cryogen>(), 1.15 },
{ NPCID.Spazmatism, 0.85 },
{ NPCID.Retinazer, 0.85 },
{ ModContent.NPCType<AquaticScourgeHead>(), 1.1 },
{ ModContent.NPCType<AquaticScourgeBody>(), 0.8 },
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), 0.8 },
{ ModContent.NPCType<AquaticScourgeTail>(), 0.8 },
{ NPCID.TheDestroyer, 2 },
{ NPCID.TheDestroyerBody, 0.85 },
{ NPCID.TheDestroyerTail, 0.85 },
{ ModContent.NPCType<BrimstoneElemental>(), 0.8 },
{ NPCID.SkeletronPrime, 0.85 },
{ NPCID.PrimeCannon, 0.85 },
{ NPCID.PrimeLaser, 0.85 },
{ NPCID.PrimeSaw, 0.85 },
{ NPCID.PrimeVice, 0.85 },
{ ModContent.NPCType<Calamitas>(), 0.8 },
{ ModContent.NPCType<CalamitasRun3>(), 0.8 },
{ NPCID.Plantera, 1.15 },
{ NPCID.PlanterasTentacle, 1.15 },
{ ModContent.NPCType<Leviathan>(), 1.2 },
{ ModContent.NPCType<Siren>(), 0.8 },
{ NPCID.DetonatingBubble, 0.75 },
{ ModContent.NPCType<AstrumAureus>(), 1.1 },
{ NPCID.Golem, 0.8 },
{ NPCID.GolemHead, 0.8 },
{ NPCID.GolemFistLeft, 0.8 },
{ NPCID.GolemFistRight, 0.8 },
{ ModContent.NPCType<PlaguebringerGoliath>(), 0.9 },
{ NPCID.DukeFishron, 0.7 },
{ NPCID.Sharkron, 0.75 },
{ NPCID.Sharkron2, 0.75 },
{ ModContent.NPCType<RavagerBody>(), 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<AstrumDeusBodySpectral>(), 0.8 },
{ ModContent.NPCType<AstrumDeusTailSpectral>(), 0.8 },
{ ModContent.NPCType<ProfanedGuardianBoss>(), 0.8 },
{ ModContent.NPCType<ProfanedGuardianBoss2>(), 0.8 },
{ ModContent.NPCType<ProfanedGuardianBoss3>(), 0.8 },
{ ModContent.NPCType<Bumblefuck>(), 0.8 },
{ ModContent.NPCType<StormWeaverBody>(), 0.8 },
{ ModContent.NPCType<StormWeaverTail>(), 0.8 },
{ ModContent.NPCType<StormWeaverBodyNaked>(), 0.8 },
{ ModContent.NPCType<StormWeaverTailNaked>(), 0.8 },
{ ModContent.NPCType<Signus>(), 0.9 },
{ ModContent.NPCType<Polterghast>(), 0.8 },
{ ModContent.NPCType<PolterPhantom>(), 0.8 },
{ ModContent.NPCType<OldDuke>(), 0.7 },
{ ModContent.NPCType<OldDukeToothBall>(), 0.75 },
{ ModContent.NPCType<OldDukeSharkron>(), 0.75 },
{ ModContent.NPCType<DevourerofGodsBody>(), 0.85 },
{ ModContent.NPCType<DevourerofGodsTail>(), 0.85 },
{ ModContent.NPCType<DevourerofGodsBodyS>(), 0.85 },
{ ModContent.NPCType<DevourerofGodsTailS>(), 0.85 },
{ ModContent.NPCType<Yharon>(), 0.8 },
{ ModContent.NPCType<SupremeCalamitas>(), 0.8 }
};
BossStats.ContactDamageValues = new SortedDictionary<int, int[]>
{
{ NPCID.KingSlime, new int[] { 40, 64, 80, 88, 96 } },
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 30, 66, 88, 99, 132 } },
{ ModContent.NPCType<DesertScourgeBody>(), new int[] { 16, 32, 40, 44, 60 } },
{ ModContent.NPCType<DesertScourgeTail>(), new int[] { 12, 24, 30, 32, 42 } },
{ ModContent.NPCType<DesertScourgeHeadSmall>(), new int[] { 20, 44, 60, 70, 90 } },
{ ModContent.NPCType<DesertScourgeBodySmall>(), new int[] { 14, 28, 32, 36, 45 } },
{ ModContent.NPCType<DesertScourgeTailSmall>(), new int[] { 8, 16, 20, 24, 30 } },
{ ModContent.NPCType<DriedSeekerHead>(), new int[] { 14, 28, 36, 40, 51 } },
{ ModContent.NPCType<DriedSeekerBody>(), new int[] { 8, 16, 20, 24, 30 } },
{ ModContent.NPCType<DriedSeekerTail>(), new int[] { 6, 12, 16, 18, 24 } },
{ NPCID.EyeofCthulhu, new int[] {
15, // 23 in phase 2
30, // 36 in phase 2, 40 in phase 3
40, // 48 in phase 2, 56 in phase 3
60, // Same for all phases
51 } }, // Vanilla: 54 in phase 2, 60 in phase 3; Rev: 61 in phase 2, 71 in phase 3; Death: 71 at all times
{ NPCID.ServantofCthulhu, new int[] { 12, 24, 30, 34, 42 } },
{ ModContent.NPCType<CrabulonIdle>(), new int[] { 40, 64, 80, 88, 120 } },
{ ModContent.NPCType<CrabShroom>(), new int[] { 25, 50, 62, 70, 75 } },
{ NPCID.EaterofWorldsHead, new int[] { 25, 55, 77, 88, 132 } },
{ NPCID.EaterofWorldsBody, new int[] { 15, 24, 32, 40, 60 } },
{ NPCID.EaterofWorldsTail, new int[] { 10, 16, 24, 32, 42 } },
{ NPCID.VileSpit, new int[] { -1, 64, 64, 64, 96 } },
{ NPCID.BrainofCthulhu, new int[] { 30, 54, 81, 99, 135 } },
{ NPCID.Creeper, new int[] { 20, 36, 54, 72, 90 } },
{ ModContent.NPCType<HiveMind>(), new int[] { 20, 36, 45, 54, 81 } },
{ ModContent.NPCType<HiveMindP2>(), new int[] { 35, 63, 81, 90, 135 } },
{ ModContent.NPCType<DankCreeper>(), new int[] { 25, 50, 62, 68, 90 } },
{ ModContent.NPCType<PerforatorHive>(), new int[] { 30, 54, 63, 72, 108 } },
{ ModContent.NPCType<PerforatorHeadLarge>(), new int[] { 45, 90, 108, 118, 150 } },
{ ModContent.NPCType<PerforatorBodyLarge>(), new int[] { 24, 48, 56, 60, 75 } },
{ ModContent.NPCType<PerforatorTailLarge>(), new int[] { 18, 36, 42, 46, 60 } },
{ ModContent.NPCType<PerforatorHeadMedium>(), new int[] { 35, 70, 84, 92, 126 } },
{ ModContent.NPCType<PerforatorBodyMedium>(), new int[] { 21, 42, 50, 54, 69 } },
{ ModContent.NPCType<PerforatorTailMedium>(), new int[] { 14, 28, 34, 38, 54 } },
{ ModContent.NPCType<PerforatorHeadSmall>(), new int[] { 30, 60, 72, 80, 102 } },
{ ModContent.NPCType<PerforatorBodySmall>(), new int[] { 18, 36, 42, 46, 60 } },
{ ModContent.NPCType<PerforatorTailSmall>(), new int[] { 10, 20, 26, 30, 45 } },
{ NPCID.QueenBee, new int[] { 30, 54, 81, 99, 135 } },
{ NPCID.Bee, new int[] { 20, 24, 30, 36, 54 } },
{ NPCID.BeeSmall, new int[] { 15, 18, 24, 30, 45 } },
{ NPCID.SkeletronHead, new int[] {
35, // Same for all phases
77, // 100 while spinning
88, // 114 while spinning
99, // 128 while spinning
132 } }, // 171 while spinning
{ NPCID.SkeletronHand, new int[] { 20, 44, 55, 66, 99 } },
{ NPCID.ChaosBall, new int[] { -1, -1, -1, 40, 60 } },
{ ModContent.NPCType<SlimeGodCore>(), new int[] { 40, 80, 96, 104, 135 } },
{ ModContent.NPCType<SlimeGod>(), new int[] { 45, 90, 108, 118, 150 } },
{ ModContent.NPCType<SlimeGodSplit>(), new int[] { 40, 80, 96, 104, 135 } },
{ ModContent.NPCType<SlimeGodRun>(), new int[] { 50, 100, 120, 130, 171 } },
{ ModContent.NPCType<SlimeGodRunSplit>(), new int[] { 45, 90, 108, 118, 150 } },
{ ModContent.NPCType<SlimeSpawnCorrupt>(), new int[] { 30, 60, 72, 78, 99 } },
{ ModContent.NPCType<SlimeSpawnCorrupt2>(), new int[] { 20, 40, 48, 52, 66 } },
{ ModContent.NPCType<SlimeSpawnCrimson>(), new int[] { 35, 70, 84, 92, 120 } },
{ ModContent.NPCType<SlimeSpawnCrimson2>(), new int[] { 25, 50, 60, 66, 84 } },
{ NPCID.WallofFlesh, new int[] { 50, 150, 180, 195, 225 } },
{ NPCID.WallofFleshEye, new int[] { 50, 150, 180, 195, 225 } },
{ 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, 80, 90 } },
{ NPCID.LeechHead, new int[] { 26, 52, 62, 68, 78 } },
{ NPCID.LeechBody, new int[] { 22, 44, 52, 56, 66 } },
{ NPCID.LeechTail, new int[] { 18, 36, 42, 44, 54 } },
{ ModContent.NPCType<Cryogen>(), new int[] { 50, 115, 138, 161, 207 } },
{ ModContent.NPCType<CryogenIce>(), new int[] { 50, 100, 120, 134, 150 } },
{ ModContent.NPCType<Cryocore>(), new int[] { 35, 70, 84, 92, 105 } },
{ ModContent.NPCType<Cryocore2>(), new int[] { 40, 80, 96, 106, 120 } },
{ ModContent.NPCType<IceMass>(), new int[] { 40, 80, 96, 106, 120 } },
{ NPCID.Spazmatism, new int[] {
60, // 90 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[] {
50, // 75 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<AquaticScourgeHead>(), new int[] { 80, 176, 187, 198, 264 } },
{ ModContent.NPCType<AquaticScourgeBody>(), new int[] { 65, 104, 128, 136, 168 } },
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), new int[] { 55, 88, 112, 120, 144 } },
{ ModContent.NPCType<AquaticScourgeTail>(), new int[] { 45, 72, 96, 104, 120 } },
{ NPCID.TheDestroyer, new int[] { 70, 280, 320, 340, 420 } },
{ NPCID.TheDestroyerBody, new int[] { 60, 102, 119, 136, 204 } },
{ NPCID.TheDestroyerTail, new int[] { 40, 68, 85, 102, 153 } },
{ ModContent.NPCType<BrimstoneElemental>(), new int[] { 60, 96, 120, 136, 180 } },
{ NPCID.SkeletronPrime, 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[] { 60, 102, 119, 136, 204 } },
{ NPCID.PrimeSaw, new int[] { 60, 102, 119, 136, 204 } },
{ NPCID.PrimeCannon, new int[] { 30, 51, 68, 85, 102 } },
{ NPCID.PrimeLaser, new int[] { 30, 51, 68, 85, 102 } },
{ ModContent.NPCType<Calamitas>(), new int[] { 55, 88, 104, 112, 144 } },
{ ModContent.NPCType<CalamitasRun3>(), new int[] { 70, 112, 128, 136, 168 } },
{ ModContent.NPCType<CalamitasRun>(), new int[] { 60, 120, 138, 148, 198 } },
{ ModContent.NPCType<CalamitasRun2>(), new int[] { 65, 130, 150, 162, 216 } },
{ NPCID.Plantera, new int[] {
50, // 70 in phase 2, vanilla is retarded and doesn't use the expert multiplier for plantera's damage
100, // 140 in phase 2, vanilla is retarded and doesn't use the expert multiplier for plantera's damage
138, // 193 in phase 2
161, // 225 in phase 2
207 } }, // Vanilla: Is retarded, so plantera does 150 in phase 1 and 210 in phase 2; Rev and Death: 289 in phase 2
{ NPCID.PlanterasTentacle, new int[] { 60, 138, 161, 207, 276 } },
{ NPCID.Spore, new int[] { 70, 140, 160, 170, 210 } },
{ ModContent.NPCType<Leviathan>(), new int[] { 90, 216, 240, 252, 324 } },
{ ModContent.NPCType<Siren>(), new int[] {
70, // 105 during charge
112, // 168 during charge
136, // 204 during charge
144, // 216 during charge
192 } }, // 288 during charge
{ ModContent.NPCType<SirenIce>(), new int[] { 55, 110, 126, 136, 165 } },
{ NPCID.DetonatingBubble, new int[] { 100, 150, 180, 195, 225 } },
{ ModContent.NPCType<AquaticAberration>(), new int[] { 55, 110, 126, 136, 165 } },
{ ModContent.NPCType<Parasea>(), new int[] { 50, 100, 116, 128, 150 } },
{ ModContent.NPCType<AstrumAureus>(), new int[] { 80, 176, 198, 209, 264 } },
{ ModContent.NPCType<AureusSpawn>(), new int[] { 65, 130, 150, 180, 240 } },
{ NPCID.Golem, new int[] { 90, 144, 176, 192, 240 } },
{ NPCID.GolemHead, new int[] { 80, 128, 144, 160, 192 } },
{ NPCID.GolemFistLeft, new int[] { 70, 112, 144, 160, 180 } },
{ NPCID.GolemFistRight, new int[] { 70, 112, 144, 160, 180 } },
{ ModContent.NPCType<PlaguebringerGoliath>(), new int[] { 100, 180, 216, 234, 297 } },
{ ModContent.NPCType<PlaguebringerShade>(), new int[] { 70, 140, 160, 170, 240 } },
{ ModContent.NPCType<PlagueHomingMissile>(), new int[] { 90, 180, 210, 224, 270 } },
{ ModContent.NPCType<PlagueMine>(), new int[] { 100, 200, 240, 260, 330 } },
{ ModContent.NPCType<PlagueBeeG>(), new int[] { 60, 120, 140, 150, 195 } },
{ ModContent.NPCType<PlagueBeeLargeG>(), new int[] { 65, 130, 150, 160, 210 } },
{ NPCID.DukeFishron, new int[] {
100, // 120 in phase 2
140, // 201 in phase 2, 184 in phase 3
168, // 241 in phase 2, 221 in phase 3
182, // 262 in phase 2, 240 in phase 3
210 } }, // 302 in phase 2, 277 in phase 3
{ NPCID.Sharkron, new int[] { 100, 150, 180, 195, 225 } },
{ NPCID.Sharkron2, new int[] { 120, 180, 210, 225, 270 } },
{ ModContent.NPCType<RavagerBody>(), new int[] { 120, 192, 224, 232, 288 } },
{ ModContent.NPCType<RavagerClawLeft>(), new int[] { 80, 160, 180, 200, 240 } },
{ ModContent.NPCType<RavagerClawRight>(), new int[] { 80, 160, 180, 200, 240 } },
{ ModContent.NPCType<RockPillar>(), new int[] { 120, 192, 224, 232, 288 } },
{ ModContent.NPCType<FlamePillar>(), new int[] { 100, 160, 192, 200, 216 } },
{ NPCID.CultistDragonHead, new int[] { 120, 180, 210, 225, 270 } },
{ NPCID.CultistDragonBody1, new int[] { 60, 90, 105, 120, 135 } },
{ NPCID.CultistDragonBody2, new int[] { 60, 90, 105, 120, 135 } },
{ NPCID.CultistDragonBody3, new int[] { 60, 90, 105, 120, 135 } },
{ NPCID.CultistDragonBody4, new int[] { 60, 90, 105, 120, 135 } },
{ NPCID.CultistDragonTail, new int[] { 60, 90, 105, 120, 135 } },
{ NPCID.AncientCultistSquidhead, new int[] { 90, 180, 210, 225, 270 } },
{ NPCID.AncientDoom, new int[] { 30, 45, 0, 0, 90 } }, // Vanilla: 90 in Master Mode; Rev and Death: 0 in Master Mode
{ NPCID.AncientLight, new int[] { 120, 180, 210, 225, 270 } },
{ ModContent.NPCType<AstrumDeusHeadSpectral>(), new int[] { 120, 240, 268, 280, 360 } },
{ ModContent.NPCType<AstrumDeusBodySpectral>(), new int[] { 100, 160, 192, 200, 240 } },
{ ModContent.NPCType<AstrumDeusTailSpectral>(), new int[] { 80, 128, 160, 168, 192 } },
{ ModContent.NPCType<ProfanedGuardianBoss>(), new int[] { 140, 224, 256, 280, 336 } },
{ ModContent.NPCType<ProfanedGuardianBoss2>(), new int[] { 110, 176, 200, 216, 264 } },
{ ModContent.NPCType<ProfanedGuardianBoss3>(), new int[] { 90, 144, 168, 184, 216 } },
{ ModContent.NPCType<Bumblefuck>(), new int[] { 160, 256, 288, 304, 384 } },
{ ModContent.NPCType<Bumblefuck2>(), new int[] { 110, 220, 242, 256, 330 } },
{ ModContent.NPCType<ProvSpawnOffense>(), new int[] { 120, 240, 264, 278, 336 } },
{ ModContent.NPCType<ProvSpawnDefense>(), new int[] { 100, 200, 220, 232, 270 } },
{ ModContent.NPCType<CeaselessVoid>(), new int[] { 150, 300, 330, 348, 450 } },
{ ModContent.NPCType<DarkEnergy>(), new int[] { 120, 240, 264, 278, 360 } },
{ ModContent.NPCType<DarkEnergy2>(), new int[] { 120, 240, 264, 278, 360 } },
{ ModContent.NPCType<DarkEnergy3>(), new int[] { 120, 240, 264, 278, 360 } },
{ ModContent.NPCType<StormWeaverHead>(), new int[] { 140, 280, 308, 324, 420 } },
{ ModContent.NPCType<StormWeaverBody>(), new int[] { 100, 160, 192, 208, 300 } },
{ ModContent.NPCType<StormWeaverTail>(), new int[] { 80, 128, 160, 176, 240 } },
{ ModContent.NPCType<StormWeaverHeadNaked>(), new int[] { 180, 360, 396, 418, 540 } },
{ ModContent.NPCType<StormWeaverBodyNaked>(), new int[] { 120, 192, 224, 250, 330 } },
{ ModContent.NPCType<StormWeaverTailNaked>(), new int[] { 100, 160, 192, 210, 270 } },
{ ModContent.NPCType<Signus>(), new int[] { 175, 315, 351, 369, 459 } },
{ ModContent.NPCType<CosmicLantern>(), new int[] { 110, 220, 242, 256, 336 } },
{ ModContent.NPCType<SignusBomb>(), new int[] { 140, 280, 300, 320, 390 } },
{ ModContent.NPCType<Polterghast>(), new int[] {
150, // 180 in phase 2, 210 in phase 3
240, // 288 in phase 2, 336 in phase 3
264, // 316 in phase 2, 369 in phase 3
280, // 336 in phase 2, 392 in phase 3
384 } }, // 460 in phase 2, 537 in phase 3
{ ModContent.NPCType<PolterPhantom>(), new int[] { 210, 336, 360, 392, 528 } },
{ ModContent.NPCType<OldDuke>(), new int[] {
160, // 192 in phase 2, 208 in phase 3
224, // 268 in phase 2, 291 in phase 3
280, // 336 in phase 2, 364 in phase 3
294, // 352 in phase 2, 382 in phase 3
378 } }, // 453 in phase 2, 491 in phase 3
{ ModContent.NPCType<OldDukeToothBall>(), new int[] { 180, 270, 300, 315, 405 } },
{ ModContent.NPCType<OldDukeSharkron>(), new int[] { 180, 270, 300, 315, 405 } },
{ ModContent.NPCType<DevourerofGodsHead>(), new int[] { 250, 500, 550, 580, 660 } },
{ ModContent.NPCType<DevourerofGodsBody>(), new int[] { 180, 306, 340, 357, 510 } },
{ ModContent.NPCType<DevourerofGodsTail>(), new int[] { 150, 255, 289, 306, 408 } },
{ ModContent.NPCType<DevourerofGodsHeadS>(), new int[] { 300, 600, 650, 680, 780 } },
{ ModContent.NPCType<DevourerofGodsBodyS>(), new int[] { 220, 374, 425, 442, 561 } },
{ ModContent.NPCType<DevourerofGodsTailS>(), new int[] { 180, 306, 340, 357, 459 } },
{ ModContent.NPCType<DevourerofGodsHead2>(), new int[] { 180, 360, 396, 420, 510 } },
{ ModContent.NPCType<DevourerofGodsBody2>(), new int[] { 130, 260, 290, 320, 420 } },
{ ModContent.NPCType<DevourerofGodsTail2>(), new int[] { 100, 200, 230, 260, 330 } },
{ ModContent.NPCType<Yharon>(), new int[] { 330, 528, 560, 576, 690 } },
{ ModContent.NPCType<DetonatingFlare>(), new int[] { 100, 200, 220, 232, 300 } },
{ ModContent.NPCType<DetonatingFlare2>(), new int[] { 220, 440, 462, 476, 540 } },
{ ModContent.NPCType<SupremeCalamitas>(), new int[] { 350, 560, 592, 608, 768 } }
};
BossStats.ProjectileDamageValues = new SortedDictionary<Tuple<int, int>, int[]>
{
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewel>(), ModContent.ProjectileType<JewelProjectile>()), new int[] { 22, 36, 44, 48, 66 } },
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeBody>(), ModContent.ProjectileType<SandBlast>()), new int[] { 26, 44, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<CrabulonIdle>(), ModContent.ProjectileType<MushBomb>()), new int[] { 32, 48, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<CrabulonIdle>(), ModContent.ProjectileType<MushBombFall>()), new int[] { 32, 48, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<CrabulonIdle>(), ModContent.ProjectileType<Mushmash>()), new int[] { 40, 80, 96, 108, 144 } },
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 32, 48, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<HiveMindP2>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 76, 102 } },
{ new Tuple<int, int>(ModContent.NPCType<DankCreeper>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 76, 102 } },
{ new Tuple<int, int>(ModContent.NPCType<DarkHeart>(), ModContent.ProjectileType<ShaderainHostile>()), new int[] { 36, 56, 68, 76, 102 } },
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob2>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 68, 90 } },
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 76, 102 } },
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 76, 102 } },
{ new Tuple<int, int>(NPCID.QueenBee, ProjectileID.Stinger), new int[] { 22, 44, 64, 72, 96 } }, // 66 damage in non-rev master mode
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 68, 84, 92, 126 } }, // 102 damage in non-rev master mode
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 40, 60, 76, 84, 114 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<AbyssBallVolley>()), new int[] { 42, 68, 84, 92, 126 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<AbyssBallVolley2>()), new int[] { 38, 60, 76, 84, 114 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<AbyssMine>()), new int[] { 60, 96, 116, 128, 174 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<AbyssMine2>()), new int[] { 54, 88, 108, 116, 162 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGod>(), ModContent.ProjectileType<AbyssBallVolley>()), new int[] { 42, 68, 84, 92, 126 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGod>(), ModContent.ProjectileType<AbyssMine>()), new int[] { 60, 96, 116, 128, 174 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodRun>(), ModContent.ProjectileType<AbyssBallVolley2>()), new int[] { 38, 60, 76, 84, 114 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodRun>(), ModContent.ProjectileType<AbyssMine2>()), new int[] { 54, 88, 108, 116, 162 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodSplit>(), ModContent.ProjectileType<AbyssBallVolley>()), new int[] { 38, 60, 76, 84, 114 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodSplit>(), ModContent.ProjectileType<AbyssMine>()), new int[] { 54, 88, 104, 112, 156 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodRunSplit>(), ModContent.ProjectileType<AbyssBallVolley2>()), new int[] { 34, 52, 68, 74, 102 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodRunSplit>(), ModContent.ProjectileType<AbyssMine2>()), new int[] { 48, 80, 100, 108, 150 } },
{ new Tuple<int, int>(ModContent.NPCType<SlimeSpawnCrimson2>(), ModContent.ProjectileType<CrimsonSpike>()), new int[] { 24, 48, 60, 68, 90 } },
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] {
22, // 22 to 30, depending on life
44, // 44 to 60, depending on life
68,
76,
102 } }, // 66 to 90, depending on life
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.DeathLaser), new int[] { 40, 72, 88, 96, 132 } },
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBlast>()), new int[] { 46, 80, 96, 108, 144 } },
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBomb>()), new int[] { 58, 100, 120, 132, 180 } },
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 52, 92, 112, 124, 168 } },
{ new Tuple<int, int>(ModContent.NPCType<CryogenIce>(), ModContent.ProjectileType<IceBlast>()), new int[] { 46, 80, 96, 108, 144 } },
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 76, 92, 100, 138 } }, // 114 damage in non-rev master mode
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.DeathLaser), new int[] {
50, // 36 in rapid fire
92, // 68 in rapid fire
112, // 84 in rapid fire
124, // 92 in rapid fire
168 } }, // 126 in rapid fire; 138 in non-rev master mode, 102 in rapid fire in non-rev master mode
{ new Tuple<int, int>(NPCID.Retinazer, ModContent.ProjectileType<ScavengerLaser>()), new int[] { 66, 96, 120, 132, 180 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 88, 108, 120, 162 } }, // 132 in non-rev master mode
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.EyeFire), new int[] { 60, 108, 0, 0, 162 } }, // Only used in non-rev modes
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 60, 108, 132, 144, 198 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 56, 100, 124, 136, 186 } },
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SandBlast>()), new int[] { 56, 92, 116, 128, 174 } },
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SandPoisonCloud>()), new int[] { 66, 112, 128, 140, 192 } },
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 60, 100, 120, 132, 180 } },
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBodyAlt>(), ModContent.ProjectileType<SandBlast>()), new int[] { 56, 92, 116, 128, 174 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 72, 108, 116, 162 } }, // 108 in non-rev master mode
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 76, 112, 120, 168 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 80, 116, 124, 174 } },
{ new Tuple<int, int>(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 92, 100, 138 } }, // 132 in non-rev master mode
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 70, 112, 128, 140, 192 } },
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 60, 100, 108, 116, 162 } },
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 60, 100, 108, 116, 162 } },
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 100, 172, 184, 200, 276 } },
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 70, 112, 128, 140, 192 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 44, 88, 112, 124, 168 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 54, 108, 132, 144, 198 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.SaucerMissile), new int[] { 54, 108, 132, 144, 198 } },
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 54, 108, 132, 144, 198 } },
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 0, 240 } },
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 100, 124, 136, 186 } }, // 150 in non-rev master mode
{ new Tuple<int, int>(ModContent.NPCType<Calamitas>(), ModContent.ProjectileType<BrimstoneLaser>()), new int[] {
70, // 52 in rapid fire
112, // 84 in rapid fire
128, // 96 in rapid fire
140, // 104 in rapid fire
192 } }, // 144 in rapid fire
{ new Tuple<int, int>(ModContent.NPCType<CalamitasRun3>(), ModContent.ProjectileType<BrimstoneLaser>()), new int[] {
70, // 52 in rapid fire
112, // 84 in rapid fire
128, // 96 in rapid fire
140, // 104 in rapid fire
192 } }, // 144 in rapid fire
{ new Tuple<int, int>(ModContent.NPCType<CalamitasRun3>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 84, 136, 156, 168, 234 } },
{ new Tuple<int, int>(ModContent.NPCType<CalamitasRun>(), ModContent.ProjectileType<BrimstoneFire>()), new int[] { 76, 120, 140, 152, 210 } },
{ new Tuple<int, int>(ModContent.NPCType<CalamitasRun2>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 72, 116, 136, 144, 204 } },
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 60, 100, 108, 116, 162 } },
{ new Tuple<int, int>(ModContent.NPCType<LifeSeeker>(), ProjectileID.PinkLaser), new int[] { 50, 88, 88, 88, 132 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 44, 76, 96, 108, 144 } }, // 114 in non-rev master mode
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 54, 96, 120, 132, 180 } }, // 144 in non-rev master mode
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 62, 108, 136, 148, 204 } }, // 162 in non-rev master mode
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 64, 104, 140, 152, 210 } },
{ new Tuple<int, int>(ModContent.NPCType<Leviathan>(), ModContent.ProjectileType<LeviathanBomb>()), new int[] { 88, 140, 160, 172, 252 } },
{ new Tuple<int, int>(ModContent.NPCType<Siren>(), ModContent.ProjectileType<WaterSpear>()), new int[] { 72, 116, 136, 144, 204 } },
{ new Tuple<int, int>(ModContent.NPCType<Siren>(), ModContent.ProjectileType<FrostMist>()), new int[] { 72, 116, 136, 144, 204 } },
{ new Tuple<int, int>(ModContent.NPCType<Siren>(), ModContent.ProjectileType<SirenSong>()), new int[] { 72, 116, 136, 144, 204 } },
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 74, 128, 148, 160, 222 } },
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 80, 140, 160, 172, 240 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 58, 116, 148, 160, 222 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 56, 112, 140, 152, 210 } },
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] {
36, // 36 to 58 depending on life
72, // 72 to 116 depending on life
148,
160,
222 } }, // 108 to 174 depending on life in non-rev master mode
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 56, 112, 140, 152, 210 } }, // 168 in non-rev master mode
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] {
36, // 36 to 58 depending on life
72, // 72 to 116 depending on life
148,
160,
222 } }, // 108 to 174 depending on life in non-rev master mode
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 56, 112, 140, 152, 210 } }, // 168 in non-rev master mode
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 64, 128, 160, 176, 240 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 80, 136, 160, 180, 240 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 80, 136, 160, 180, 240 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 120, 192, 220, 240, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerShade>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 60, 104, 120, 136, 180 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerShade>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 90, 144, 168, 180, 252 } },
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 116, 124, 174 } }, // 150 in non-rev master mode
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 248, 348 } }, // 300 in non-rev master mode
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead>(), ModContent.ProjectileType<ScavengerNuke>()), new int[] { 120, 180, 208, 224, 312 } },
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerLaser>()), new int[] { 80, 136, 160, 180, 240 } },
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerNuke>()), new int[] { 120, 180, 208, 224, 312 } },
{ new Tuple<int, int>(ModContent.NPCType<FlamePillar>(), ModContent.ProjectileType<RavagerFlame>()), new int[] { 90, 144, 172, 188, 258 } },
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 60, 80, 160, 180, 240 } }, // 80 in non-rev master mode
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossIceMist), new int[] { 70, 100, 172, 188, 258 } }, // 100 in non-rev master mode
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossLightningOrb), new int[] { 90, 120, 208, 224, 312 } }, // 120 in non-rev master mode
{ new Tuple<int, int>(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 36, 72, 144, 164, 216 } }, // 72 in non-rev master mode
{ new Tuple<int, int>(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 60, 180, 200, 220, 300 } }, // 402 in non-rev master mode
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBodySpectral>(), ModContent.ProjectileType<AstralShot2>()), new int[] { 90, 152, 176, 188, 264 } },
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBodySpectral>(), ModContent.ProjectileType<DeusMine>()), new int[] { 120, 180, 208, 224, 312 } },
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 150, 300, 380, 420, 570 } }, // 450 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 60, 120, 160, 176, 240 } }, // 180 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 60, 120, 160, 176, 240 } }, // 180 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 100, 200, 260, 284, 390 } }, // 300 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 60, 120, 160, 176, 240 } }, // 180 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 70, 140, 180, 200, 270 } }, // 210 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 70, 140, 180, 200, 270 } }, // 210 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalSphere), new int[] { 110, 220, 260, 284, 390 } }, // 330 in non-rev master mode
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalDeathray), new int[] { 100, 200, 260, 284, 390 } }, // 300 in non-rev master mode
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianBoss>(), ModContent.ProjectileType<ProfanedSpear>()), new int[] { 120, 200, 220, 232, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianBoss>(), ModContent.ProjectileType<FlareDust>()), new int[] { 140, 220, 244, 256, 366 } },
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianBoss2>(), ModContent.ProjectileType<ProfanedSpear>()), new int[] { 120, 200, 220, 232, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Bumblefuck>(), ModContent.ProjectileType<RedLightningFeather>()), new int[] { 120, 200, 220, 232, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Bumblefuck>(), ModContent.ProjectileType<BirbAuraFlare>()), new int[] { 200, 300, 332, 356, 498 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 130, 208, 228, 240, 342 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 236, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 236, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { -100, -150, -180, -200, -250 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyLight>()), new int[] { 35, 50, 50, 0, 0 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 110, 168, 196, 208, 294 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 110, 168, 196, 208, 294 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 120, 192, 220, 236, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 120, 192, 220, 236, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolySpear>()), new int[] { 130, 208, 228, 240, 342 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystal>()), new int[] { 140, 228, 252, 264, 378 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 228, 252, 264, 378 } },
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 200, 400, 440, 464, 660 } },
{ new Tuple<int, int>(ModContent.NPCType<ProvSpawnOffense>(), ModContent.ProjectileType<FlareDust>()), new int[] { 120, 200, 220, 232, 330 } },
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DoGBeamPortal>()), new int[] { 120, 200, 232, 248, 348 } },
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall>()), new int[] { 120, 200, 232, 248, 348 } },
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall2>()), new int[] { 120, 200, 232, 248, 348 } },
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 300, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 300, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHeadNaked>(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 300, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHeadNaked>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 300, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<SignusScythe>()), new int[] { 120, 192, 212, 224, 318 } },
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<EssenceDust>()), new int[] { 140, 240, 264, 280, 396 } },
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot>()), new int[] { 120, 192, 212, 224, 318 } },
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot2>()), new int[] { 130, 212, 236, 248, 354 } },
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast>()), new int[] { 140, 240, 264, 280, 396 } },
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast2>()), new int[] { 150, 260, 288, 304, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<PolterghastHook>(), ModContent.ProjectileType<PhantomHookShot>()), new int[] { 120, 192, 212, 224, 318 } },
{ new Tuple<int, int>(ModContent.NPCType<PhantomFuckYou>(), ModContent.ProjectileType<PhantomMine>()), new int[] { 150, 260, 288, 304, 432 } },
{ new Tuple<int, int>(ModContent.NPCType<PhantomSpiritL>(), ModContent.ProjectileType<PhantomGhostShot>()), new int[] { 130, 212, 236, 248, 354 } },
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 140, 220, 244, 256, 366 } },
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeVortex>()), new int[] { 280, 400, 440, 464, 660 } },
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<SandToothOldDuke>()), new int[] { 140, 220, 264, 292, 396 } },
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<SandPoisonCloudOldDuke>()), new int[] { 140, 220, 252, 272, 378 } },
{ new Tuple<int, int>(ModContent.NPCType<OldDukeSharkron>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 140, 220, 244, 256, 366 } },
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 160, 276, 304, 320, 456 } },
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHeadS>(), ModContent.ProjectileType<DoGFire>()), new int[] { 180, 300, 332, 348, 498 } },
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHeadS>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 160, 276, 304, 320, 456 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareBomb>()), new int[] { 180, 300, 332, 348, 498 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Flarenado>()), new int[] { 200, 340, 376, 396, 564 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado>()), new int[] { 300, 520, 548, 564, 822 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado2>()), new int[] { 300, 520, 548, 564, 822 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust>()), new int[] { 250, 440, 464, 476, 696 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust2>()), new int[] { 180, 300, 332, 348, 498 } },
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonFireball>()), new int[] { 250, 440, 464, 476, 696 } },
{ new Tuple<int, int>(ModContent.NPCType<DetonatingFlare>(), ProjectileID.CultistBossFireBall), new int[] { 180, 300, 332, 348, 498 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 400, 600, 632, 648, 948 } }, // 25% increased damage in bullet hell 1
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneGigaBlast>()), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneFireblast>()), new int[] { 450, 676, 712, 732, 1068 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneMonster>()), new int[] { 500, 752, 788, 808, 1182 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneWave>()), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<SCalWormBodyWeak>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } },
{ new Tuple<int, int>(ModContent.NPCType<SoulSeekerSupreme>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneWave>()), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } }
};
}
// Destroys the BossStats struct to save memory because mod assemblies will not be fully unloaded until TML 1.4.
internal static void UnloadBossStats()
{
BossStats.ExpertDamageMultiplier = null;
BossStats.ContactDamageValues = null;
BossStats.ProjectileDamageValues = null;
}
#endregion
}
}