From fd64a86b84e1bc47709d4d56ff77c49994a8ff7d Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Sun, 12 Jun 2022 09:21:04 -0500 Subject: [PATCH] 1 - Reduced the Panic and Shell Boost buff movement speed bonuses. 2 - Reduced the amount of projectiles spawned by Ink Bomb. 3 - Fixed Frog Leg accessories murdering jump speed. 4 - Increased Ink Bomb drop rate. 5 - Removed Venom and Armor Crunch from Mythril Knives stealth strike. --- Buffs/CalamityGlobalBuff.cs | 2 +- CalPlayer/CalamityPlayer.cs | 2 +- CalPlayer/CalamityPlayerMiscEffects.cs | 2 +- Items/CalamityGlobalItem.cs | 2 +- NPCs/Abyss/Cuttlefish.cs | 2 +- Projectiles/Rogue/MythrilKnifeProjectile.cs | 4 ---- 6 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Buffs/CalamityGlobalBuff.cs b/Buffs/CalamityGlobalBuff.cs index 742fc8b3f5..cdd7336cdc 100644 --- a/Buffs/CalamityGlobalBuff.cs +++ b/Buffs/CalamityGlobalBuff.cs @@ -24,7 +24,7 @@ namespace CalamityMod.Buffs } else if (type == BuffID.Panic) { - player.moveSpeed -= 0.5f; + player.moveSpeed -= 0.6f; } else if (type == BuffID.SugarRush) { diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 84e0fe0465..a630249215 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -6574,7 +6574,7 @@ namespace CalamityMod.CalPlayer { Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20)); rogueStealth += 0.5f; - for (int i = 0; i < 5; i++) + for (int i = 0; i < 3; i++) { SoundEngine.PlaySound(SoundID.Item61, Player.position); int ink = Projectile.NewProjectile(source, Player.Center.X, Player.Center.Y, Main.rand.NextFloat(-3f, 3f), Main.rand.NextFloat(-0f, -4f), ModContent.ProjectileType(), 0, 0, Player.whoAmI); diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 5f83880e17..56c6dae4b4 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2819,7 +2819,7 @@ namespace CalamityMod.CalPlayer Player.resistCold = true; if (shellBoost) - Player.moveSpeed += 0.4f; + Player.moveSpeed += 0.3f; if (tarraSet) { diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 57489d9628..87a7e6aa80 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -1171,7 +1171,7 @@ namespace CalamityMod.Items if (item.type == ItemID.EmpressFlightBooster) player.jumpSpeedBoost -= 1.9f; - if (player.frogLegJumpBoost) + if (item.type == ItemID.FrogLeg || item.type == ItemID.FrogFlipper || item.type == ItemID.FrogGear || item.type == ItemID.FrogWebbing || item.type == ItemID.AmphibianBoots) player.jumpSpeedBoost -= 1.2f; // Arcane and Magnet Flower buffs diff --git a/NPCs/Abyss/Cuttlefish.cs b/NPCs/Abyss/Cuttlefish.cs index 35d7302aba..2bd39b6eea 100644 --- a/NPCs/Abyss/Cuttlefish.cs +++ b/NPCs/Abyss/Cuttlefish.cs @@ -381,7 +381,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ModContent.ItemType(), 2); - npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 100, 50)); + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 40, 20)); } public override void HitEffect(int hitDirection, double damage) diff --git a/Projectiles/Rogue/MythrilKnifeProjectile.cs b/Projectiles/Rogue/MythrilKnifeProjectile.cs index 25e0f84917..4f3202a811 100644 --- a/Projectiles/Rogue/MythrilKnifeProjectile.cs +++ b/Projectiles/Rogue/MythrilKnifeProjectile.cs @@ -71,8 +71,6 @@ namespace CalamityMod.Projectiles.Rogue return; target.AddBuff(BuffID.CursedInferno, 300); - target.AddBuff(BuffID.Venom, 300); - target.AddBuff(ModContent.BuffType(), 300); target.AddBuff(ModContent.BuffType(), 300); target.AddBuff(ModContent.BuffType(), 300); } @@ -83,8 +81,6 @@ namespace CalamityMod.Projectiles.Rogue return; target.AddBuff(BuffID.CursedInferno, 300); - target.AddBuff(BuffID.Venom, 300); - target.AddBuff(ModContent.BuffType(), 300); target.AddBuff(ModContent.BuffType(), 300); target.AddBuff(ModContent.BuffType(), 300); }