1 - Fuck the Eater of Worlds in Boss Rush, I just force despawned it and called NPCLoot to force the next stage if it's below 5% HP.

This commit is contained in:
Andrew Marheine committed 2020-08-01 15:21:05 -05:00
1 parent 6baa29ad5f
commit efe06a1e78
1 file changed
+14
+14
View File
@@ -1483,6 +1483,20 @@ namespace CalamityMod.NPCs
if (CalamityWorld.bossRushActive)
{
if (npc.life <= npc.lifeMax * 0.05)
{
npc.life = 0;
npc.HitEffect(0, 10.0);
npc.checkDead();
npc.NPCLoot();
for (int n = 0; n < Main.maxNPCs; n++)
{
if (Main.npc[n].aiStyle == npc.aiStyle)
Main.npc[n].active = false;
}
}
// Check if other segments are still alive, if not, die
if (npc.type > NPCID.EaterofWorldsHead)
{