From 7e3d501d042681bed18bef1869008e237a76da7f Mon Sep 17 00:00:00 2001 From: DominicKarma <51094361+DominicKarma@users.noreply.github.com> Date: Tue, 21 Sep 2021 12:17:25 -0500 Subject: [PATCH] AEW charge syncs --- NPCs/Abyss/EidolonWyrmHeadHuge.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NPCs/Abyss/EidolonWyrmHeadHuge.cs b/NPCs/Abyss/EidolonWyrmHeadHuge.cs index 4dea815380..f0055d6d68 100644 --- a/NPCs/Abyss/EidolonWyrmHeadHuge.cs +++ b/NPCs/Abyss/EidolonWyrmHeadHuge.cs @@ -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 {