fixed mantis scythe spam and added a netmode check
This commit is contained in:
1 parent
1f328f188a
commit
6fb28f6ef7
1 file changed
+1
-1
@@ -110,7 +110,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
npc.ai[2] += 1f;
|
||||
npc.velocity.X *= 0.95f;
|
||||
if (npc.ai[2] >= 20f)
|
||||
if (npc.ai[2] == 20f && Main.netMode != NetmodeID.MultiplayerClient) //Don't do >= 20f or it'll cause a wave of scythes
|
||||
{
|
||||
Main.PlaySound(SoundID.Item71, npc.position);
|
||||
Vector2 vector = Main.player[npc.target].Center - npc.Center;
|
||||
|
||||
Reference in new issue
Block a user