Why even did that exist
This commit is contained in:
1 parent
ae3f8f2eff
commit
2dbb0c3869
1 file changed
+4
-6
@@ -114,9 +114,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
// The AI of the projectile
|
||||
public override void AI()
|
||||
{
|
||||
if (projectile.timeLeft == 300)
|
||||
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/CrystylCharge"), projectile.Center);
|
||||
Player player = Main.player[projectile.owner];
|
||||
|
||||
if (projectile.timeLeft == 300)
|
||||
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/CrystylCharge"), player.Center);
|
||||
|
||||
projectile.position = player.Center + projectile.velocity * MOVE_DISTANCE;
|
||||
projectile.timeLeft = 2;
|
||||
|
||||
@@ -285,10 +287,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
}
|
||||
}
|
||||
AchievementsHelper.CurrentlyMining = false;
|
||||
if (Main.netMode != NetmodeID.SinglePlayer)
|
||||
{
|
||||
NetMessage.SendData(MessageID.KillProjectile, -1, -1, null, projectile.identity, projectile.owner, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user