haha whoops
This commit is contained in:
1 parent
05bae1c145
commit
c377e792e3
1 file changed
+1
-1
@@ -345,7 +345,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Vector2 velocity = (player.Center - NPC.Center).SafeNormalize(new Vector2(NPC.direction, 0f)) * maxChargeVelocity;
|
||||
NPC.velocity = velocity * chargeVelocityMult;
|
||||
|
||||
if (NPC.Distance(player.Center) > minChargeSafeDistance)
|
||||
if (NPC.Distance(player.Center) < minChargeSafeDistance)
|
||||
{
|
||||
// Avoid cheap bullshit
|
||||
NPC.damage = 0;
|
||||
|
||||
Reference in new issue
Block a user