Tiny eternity fix
This commit is contained in:
1 parent
5f1928c582
commit
a0e4c81e4a
1 file changed
+1
-1
@@ -89,7 +89,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
DegreesToSpin *= 1.035f;
|
||||
}
|
||||
}
|
||||
if (projectile.Hitbox.Intersects(Main.npc[(int)projectile.ai[0]].Hitbox))
|
||||
if (projectile.Hitbox.Intersects(Main.npc[(int)projectile.ai[0]].Hitbox) && !Main.npc[(int)projectile.ai[0]].dontTakeDamage)
|
||||
{
|
||||
int damage = (int)(Eternity.ExplosionDamage * player.MagicDamage() * Main.rand.NextFloat(0.9f, 1.1f));
|
||||
player.addDPS(damage);
|
||||
|
||||
Reference in new issue
Block a user