+ Creepers are no longer damagable immediately after being spawned
This commit is contained in:
1 parent
ed681c1cf6
commit
c8eb5d3d8e
1 file changed
+1
-1
@@ -113,7 +113,7 @@ public class CreeperAI : VanillaAIOverride
|
||||
];
|
||||
useBossAIState = bossAIStatesToUse.Contains(bocAI.AIState) && bossCounter >= 0;
|
||||
|
||||
if (bocAI.AIState == BrainAIState.UndergroundSpawnAnimation || bocAI.AIState == BrainAIState.SurfaceSpawnAnimation)
|
||||
if (bocAI.AIState == BrainAIState.UndergroundSpawnAnimation || bocAI.AIState == BrainAIState.SurfaceSpawnAnimation || bocAI.AIState == BrainAIState.Stunned)
|
||||
NPC.dontTakeDamage = true;
|
||||
else
|
||||
NPC.dontTakeDamage = false;
|
||||
|
||||
Reference in new issue
Block a user