Spores deal no damage if Plantera isn't alive.
This commit is contained in:
1 parent
01ccf0d9e3
commit
4da8b918b2
1 file changed
+10
@@ -2901,6 +2901,16 @@ namespace CalamityMod.NPCs
|
||||
npc.Size = hitboxSize;
|
||||
}
|
||||
|
||||
// Spore enemies deal no damage if Plantera isn't alive
|
||||
if (npc.type == NPCID.Spore)
|
||||
{
|
||||
if (npc.damage > 0)
|
||||
{
|
||||
if (!NPC.AnyNPCs(NPCID.Plantera))
|
||||
npc.damage = npc.defDamage = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (CalamityWorld.revenge || BossRushEvent.BossRushActive)
|
||||
{
|
||||
switch (npc.type)
|
||||
|
||||
Reference in new issue
Block a user