Removed the debug stuff

This commit is contained in:
IbanPlay committed 2022-02-07 05:55:24 +01:00
1 parent bd6d76a5cd
commit 4d12ca723c
1 file changed
+2 -2
+2 -2
View File
@@ -97,10 +97,10 @@ namespace CalamityMod.Items.Weapons.Melee
{
if (player.altFunctionUse == 2)
{
if (Charge >= 0 && player.controlUp)
if (Charge > 0 && player.controlUp)
{
float angle = new Vector2(speedX, speedY).ToRotation();
Projectile.NewProjectile(player.Center + angle.ToRotationVector2() * 90f, new Vector2(speedX, speedY), ProjectileType<ArkoftheElementsSnapBlast>(), (int)(damage * Charge * 1.8f) + 500000, 0, player.whoAmI, angle, 600);
Projectile.NewProjectile(player.Center + angle.ToRotationVector2() * 90f, new Vector2(speedX, speedY), ProjectileType<ArkoftheElementsSnapBlast>(), (int)(damage * Charge * 1.8f), 0, player.whoAmI, angle, 600);
if (Main.LocalPlayer.Calamity().GeneralScreenShakePower < 3)
Main.LocalPlayer.Calamity().GeneralScreenShakePower = 3;