public override void AI() { Player player = Main.player[projectile.owner]; if (Saber.AINormalSlash(projectile, SlashLogic)) { } else { // Charged attack Saber.AISetChargeSlashVariables(player, chargeSlashDirection); Saber.NormalSlash(projectile, player); } projectile.damage = 0; projectile.ai[0] += 1f; // Framerate projectile.position += player.velocity; }