This commit is contained in:
Andrew Marheine committed 2021-09-21 14:11:03 -05:00
commit fe8b11937b
1 file changed
+8
+8
View File
@@ -443,6 +443,8 @@ namespace CalamityMod.NPCs.Abyss
chargeDestination = destination + chargeVectorFlipped + player.velocity * chargePredictionAmt;
npc.velocity = Vector2.Normalize(chargeDestination - npc.Center) * baseVelocity;
npc.netUpdate = true;
npc.netSpam -= 5;
}
else
{
@@ -620,6 +622,8 @@ namespace CalamityMod.NPCs.Abyss
chargeDestination = destination + chargeVectorFlipped + player.velocity * chargePredictionAmt;
npc.velocity = Vector2.Normalize(chargeDestination - npc.Center) * baseVelocity;
npc.netUpdate = true;
npc.netSpam -= 5;
}
else
{
@@ -726,6 +730,8 @@ namespace CalamityMod.NPCs.Abyss
chargeDestination = destination + chargeVectorFlipped + player.velocity * chargePredictionAmt;
npc.velocity = Vector2.Normalize(chargeDestination - npc.Center) * baseVelocity;
npc.netUpdate = true;
npc.netSpam -= 5;
}
else
{
@@ -998,6 +1004,8 @@ namespace CalamityMod.NPCs.Abyss
chargeDestination = destination + lightningChargeVectorFlipped + player.velocity * chargePredictionAmt;
npc.velocity = Vector2.Normalize(chargeDestination - npc.Center) * baseVelocity;
npc.netUpdate = true;
npc.netSpam -= 5;
}
else
{