Perforator Hive boss health bar turns gray while a Perforator worm is alive
This commit is contained in:
1 parent
5b86b14016
commit
d7435b3a30
1 file changed
+2
@@ -231,6 +231,8 @@ namespace CalamityMod.NPCs.Perforator
|
||||
wormsAlive = 0;
|
||||
|
||||
NPC.Calamity().DR = wormsAlive * 0.5f;
|
||||
if (wormsAlive >= 1)
|
||||
NPC.Calamity().CurrentlyIncreasingDefenseOrDR = true;
|
||||
if (NPC.Calamity().DR >= 0.999f)
|
||||
{
|
||||
NPC.Calamity().DR = 0.999f;
|
||||
|
||||
Reference in new issue
Block a user