1 - Increased Astrum Deus HP by 5% to compensate for the change in the spawn DR timer.

This commit is contained in:
Andrew Marheine committed 2021-08-14 08:15:09 -05:00
1 parent 93ccdc1c80
commit c425bcb419
4 files changed
+3 -146

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
-143
View File
@@ -143,149 +143,6 @@ namespace CalamityMod
return FindFirstProjectile(ProjectileType<DeusRitualDrama>()) != -1;
}
/// <summary>
/// Get the aggression multiplier used for NPCs in Master Mode Calamity rev+
/// Will also be used to modify certain boss size/scale
/// </summary>
/// <param name="NPCType">The NPC that is having its aggression increased, used to modify the base 1.5x aggression multiplier</param>
/// <param name="newColor">Used to modify the color of this NPC</param>
public static float GetMasterModeNPCAggressionMultiplier(ref Color newColor, int? NPCType = null)
{
/*if (!Main.masterMode)
return 1f;*/
/*if (NPCType == NPCType<DesertScourgeHead>())
{
}
else if (NPCType == NPCType<CrabulonIdle>())
{
}
else if (NPCType == NPCType<HiveMind>() || NPCType == NPCType<HiveMindP2>())
{
}
else if (NPCType == NPCType<PerforatorHive>())
{
}
else if (NPCType == NPCType<SlimeGodCore>() || NPCType == NPCType<SlimeGod>() || NPCType == NPCType<SlimeGodRun>() || NPCType == NPCType<SlimeGodSplit>() || NPCType == NPCType<SlimeGodRunSplit>())
{
}
else if (NPCType == NPCType<Cryogen>())
{
}
else if (NPCType == NPCType<AquaticScourgeHead>())
{
}
else if (NPCType == NPCType<BrimstoneElemental>())
{
}
else if (NPCType == NPCType<Calamitas>() || NPCType == NPCType<CalamitasRun3>())
{
}
else if (NPCType == NPCType<Leviathan>() || NPCType == NPCType<Siren>())
{
}
else if (NPCType == NPCType<AstrumAureus>())
{
}
else if (NPCType == NPCType<AstrumDeusHeadSpectral>())
{
}
else if (NPCType == NPCType<PlaguebringerGoliath>())
{
}
else if (NPCType == NPCType<RavagerBody>())
{
}
else if (NPCType == NPCType<ProfanedGuardianBoss>())
{
}
else if (NPCType == NPCType<Bumblefuck>())
{
}
else if (NPCType == NPCType<Providence>())
{
}
else if (NPCType == NPCType<CeaselessVoid>())
{
}
else if (NPCType == NPCType<StormWeaverHead>() || NPCType == NPCType<StormWeaverHeadNaked>())
{
}
else if (NPCType == NPCType<Signus>())
{
}
else if (NPCType == NPCType<Polterghast>())
{
}
else if (NPCType == NPCType<OldDuke>())
{
}
else if (NPCType == NPCType<DevourerofGodsHead>() || NPCType == NPCType<DevourerofGodsHeadS>())
{
}
else if (NPCType == NPCType<Yharon>())
{
}
else if (NPCType == NPCType<SupremeCalamitas>())
{
}
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;
}
/// <summary>
/// Syncs <see cref="CalamityGlobalNPC.newAI"/>. This exists specifically for AIs manipulated in a global context, as <see cref="GlobalNPC"/> has no netUpdate related hooks.
/// </summary>