removed the random storm weaver resistance

This commit is contained in:
Altixal committed 2023-03-10 18:29:15 +07:00
1 parent 43c000937e
commit 3c6baf0a64
1 file changed
-5
@@ -114,11 +114,6 @@ namespace CalamityMod.Projectiles.Rogue
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
if (target.type == ModContent.NPCType<StormWeaverHead>() || target.type == ModContent.NPCType<StormWeaverBody>() || target.type == ModContent.NPCType<StormWeaverTail>())
{
damage /= 5;
}
float dist1 = Vector2.Distance(Projectile.Center, target.Hitbox.TopLeft());
float dist2 = Vector2.Distance(Projectile.Center, target.Hitbox.TopRight());
float dist3 = Vector2.Distance(Projectile.Center, target.Hitbox.BottomLeft());