diff --git a/Items/Weapons/Ranged/HeavenlyGale.cs b/Items/Weapons/Ranged/HeavenlyGale.cs index 6a5d21a6e7..488d158d44 100644 --- a/Items/Weapons/Ranged/HeavenlyGale.cs +++ b/Items/Weapons/Ranged/HeavenlyGale.cs @@ -18,7 +18,8 @@ namespace CalamityMod.Items.Weapons.Ranged "Green exo arrows explode into a tornado on death\n" + "Blue exo arrows cause a second group of arrows to fire on enemy hits\n" + "Orange exo arrows cause explosions on death\n" + - "Teal exo arrows ignore enemy immunity frames"); + "Teal exo arrows ignore enemy immunity frames\n" + + "66% chance to not consume ammo"); } public override void SetDefaults() @@ -45,6 +46,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) { Vector2 vector2 = player.RotatedRelativePoint(player.MountedCenter, true); + float dmg = 1f; float num117 = 0.314159274f; int num118 = 5; Vector2 vector7 = new Vector2(speedX, speedY); @@ -66,6 +68,7 @@ namespace CalamityMod.Items.Weapons.Ranged case 2: case 3: type = ModContent.ProjectileType(); + dmg = 0.16f; break; case 4: case 5: @@ -78,12 +81,19 @@ namespace CalamityMod.Items.Weapons.Ranged break; case 9: type = ModContent.ProjectileType(); + dmg = 0.7f; break; } - Projectile.NewProjectile(vector2.X + value9.X, vector2.Y + value9.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, 0.0f, 0.0f); + Projectile.NewProjectile(vector2.X + value9.X, vector2.Y + value9.Y, speedX, speedY, type, (int)(damage * dmg), knockBack, player.whoAmI, 0.0f, 0.0f); } return false; } + public override bool ConsumeAmmo(Player player) + { + if (Main.rand.Next(0, 100) < 66) + return false; + return true; + } public override void AddRecipes() { diff --git a/Projectiles/Ranged/ExoMark.cs b/Projectiles/Ranged/ExoMark.cs index 64f2ab223c..7b80f3c5ab 100644 --- a/Projectiles/Ranged/ExoMark.cs +++ b/Projectiles/Ranged/ExoMark.cs @@ -23,7 +23,7 @@ namespace CalamityMod.Projectiles.Ranged projectile.alpha = 255; projectile.penetrate = -1; projectile.usesLocalNPCImmunity = true; - projectile.localNPCHitCooldown = 7; + projectile.localNPCHitCooldown = 9; } public override void AI() diff --git a/Projectiles/Ranged/ExoTornado.cs b/Projectiles/Ranged/ExoTornado.cs index 8cc7bebc94..b23807c8d6 100644 --- a/Projectiles/Ranged/ExoTornado.cs +++ b/Projectiles/Ranged/ExoTornado.cs @@ -21,7 +21,7 @@ namespace CalamityMod.Projectiles.Ranged projectile.penetrate = -1; projectile.timeLeft = 240; //1200 projectile.usesLocalNPCImmunity = true; - projectile.localNPCHitCooldown = 8; + projectile.localNPCHitCooldown = 9; } public override void AI() diff --git a/Projectiles/Ranged/GreenExoArrow.cs b/Projectiles/Ranged/GreenExoArrow.cs index 728ea976a9..f7696ec20c 100644 --- a/Projectiles/Ranged/GreenExoArrow.cs +++ b/Projectiles/Ranged/GreenExoArrow.cs @@ -111,7 +111,7 @@ namespace CalamityMod.Projectiles.Ranged { if (projectile.owner == Main.myPlayer) { - Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType(), (int)(projectile.damage * 0.6f), projectile.knockBack, projectile.owner, 0f, 0f); + Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType(),projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f); } } } diff --git a/Projectiles/Ranged/OrangeExoArrow.cs b/Projectiles/Ranged/OrangeExoArrow.cs index 1cb74f6d20..ac446e109e 100644 --- a/Projectiles/Ranged/OrangeExoArrow.cs +++ b/Projectiles/Ranged/OrangeExoArrow.cs @@ -116,7 +116,7 @@ namespace CalamityMod.Projectiles.Ranged projectile.maxPenetrate = -1; projectile.penetrate = -1; projectile.usesLocalNPCImmunity = true; - projectile.localNPCHitCooldown = 10; + projectile.localNPCHitCooldown = 20; projectile.Damage(); Main.PlaySound(2, (int)projectile.Center.X, (int)projectile.Center.Y, 14, 1f, 0f); for (int num193 = 0; num193 < 4; num193++)