From c425bcb41906b0ca368f39b14c9d88c59ea0a2da Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Sat, 14 Aug 2021 08:15:09 -0500 Subject: [PATCH] 1 - Increased Astrum Deus HP by 5% to compensate for the change in the spawn DR timer. --- NPCs/AstrumDeus/AstrumDeusBodySpectral.cs | 2 +- NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs | 2 +- NPCs/AstrumDeus/AstrumDeusTailSpectral.cs | 2 +- Utilities/NPCUtils.cs | 143 ---------------------- 4 files changed, 3 insertions(+), 146 deletions(-) diff --git a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs index 3a3c4ffa73..b9791d57d8 100644 --- a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs @@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.AstrumDeus npc.width = 38; npc.height = 44; npc.defense = 50; - npc.LifeMaxNERB(187500, 225000, 650000); + npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; diff --git a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs index a156498159..9b0f7640d1 100644 --- a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs @@ -41,7 +41,7 @@ namespace CalamityMod.NPCs.AstrumDeus npc.width = 56; npc.height = 56; npc.defense = 25; - npc.LifeMaxNERB(187500, 225000, 650000); + npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; diff --git a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs index 27a4014a79..3c533db815 100644 --- a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs @@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.AstrumDeus npc.width = 52; npc.height = 68; npc.defense = 75; - npc.LifeMaxNERB(187500, 225000, 650000); + npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; diff --git a/Utilities/NPCUtils.cs b/Utilities/NPCUtils.cs index ab3082add8..ab5ddad536 100644 --- a/Utilities/NPCUtils.cs +++ b/Utilities/NPCUtils.cs @@ -143,149 +143,6 @@ namespace CalamityMod return FindFirstProjectile(ProjectileType()) != -1; } - /// - /// Get the aggression multiplier used for NPCs in Master Mode Calamity rev+ - /// Will also be used to modify certain boss size/scale - /// - /// The NPC that is having its aggression increased, used to modify the base 1.5x aggression multiplier - /// Used to modify the color of this NPC - public static float GetMasterModeNPCAggressionMultiplier(ref Color newColor, int? NPCType = null) - { - /*if (!Main.masterMode) - return 1f;*/ - - /*if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType() || NPCType == NPCType() || NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType() || NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else if (NPCType == NPCType()) - { - - } - else - { - switch (NPCType) - { - case NPCID.KingSlime: - case NPCID.EyeofCthulhu: - case NPCID.EaterofWorldsHead: - case NPCID.BrainofCthulhu: - case NPCID.Creeper: - case NPCID.QueenBee: - case NPCID.SkeletronHead: - case NPCID.WallofFlesh: - case NPCID.WallofFleshEye: - case NPCID.Spazmatism: - case NPCID.Retinazer: - case NPCID.TheDestroyer: - case NPCID.SkeletronPrime: - case NPCID.Plantera: - case NPCID.Golem: - case NPCID.GolemHead: - case NPCID.DukeFishron: - case NPCID.CultistBoss: - case NPCID.MoonLordCore: - case NPCID.MoonLordHand: - case NPCID.MoonLordHead: - break; - } - }*/ - - return 1.5f; - } - /// /// Syncs . This exists specifically for AIs manipulated in a global context, as has no netUpdate related hooks. ///