From e79cffc2f4fe49368693eabfc918081c17c14eae Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Fri, 29 Apr 2022 15:59:50 -0500 Subject: [PATCH 1/2] 1 - Molten Quiver inflicts Hellfire with all arrows. 2 - Nerfed Sniper Scope damage and crit. 3 - Nerfed Magic Quiver and Molten Quiver damage. --- CalPlayer/CalamityPlayerOnHit.cs | 10 ++++++++++ Items/CalamityGlobalItem.cs | 12 ++++++++++++ Items/CalamityGlobalItemTooltip.cs | 18 ++++++++++++++++-- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 4cce315d5d..75921f39c9 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -344,6 +344,16 @@ namespace CalamityMod.CalPlayer if (ProjectileID.Sets.StardustDragon[proj.type]) target.immune[proj.owner] = 10; + if (proj.arrow && Player.hasMoltenQuiver) + { + if (Main.rand.Next(4) == 0) + target.AddBuff(BuffID.OnFire3, 360); + else if (Main.rand.Next(2) == 0) + target.AddBuff(BuffID.OnFire3, 240); + else + target.AddBuff(BuffID.OnFire3, 120); + } + if (!proj.npcProj && !proj.trap && proj.friendly) { if ((plaguebringerCarapace || uberBees) && CalamityLists.friendlyBeeList.Contains(proj.type)) diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index b3ac7d981d..81993b89be 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -1138,6 +1138,18 @@ namespace CalamityMod.Items if (item.type == ItemID.ArcaneFlower || item.type == ItemID.MagnetFlower) player.manaCost -= 0.12f; + if (item.type == ItemID.SniperScope) + { + player.GetDamage(DamageClass.Ranged) -= 0.03f; + player.GetCritChance(DamageClass.Ranged) -= 0.03f; + } + + if (item.type == ItemID.MagicQuiver) + player.arrowDamage -= 0.05f; + + if (item.type == ItemID.MoltenQuiver) + player.arrowDamage -= 0.03f; + if (item.type == ItemID.FireGauntlet) { player.GetDamage(DamageClass.Melee) += 0.02f; diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 8788545c0c..ee50db22ed 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -515,12 +515,26 @@ namespace CalamityMod.Items EditTooltipByNum(1, (line) => line.Text = "Increases movement and jump speed by 10% and acceleration by 1.1x"); } + // Sniper Scope + if (item.type == ItemID.SniperScope) + EditTooltipByNum(1, (line) => line.Text = "7% increased ranged damage and critical strike chance"); + + // Magic Quiver + if (item.type == ItemID.MagicQuiver) + EditTooltipByNum(0, (line) => line.Text = "Increases arrow damage by 5% and greatly increases arrow speed"); + + // Molten Quiver + if (item.type == ItemID.MoltenQuiver) + { + EditTooltipByNum(0, (line) => line.Text = "Increases arrow damage by 7% and greatly increases arrow speed"); + EditTooltipByNum(2, (line) => line.Text += " and all arrows inflict fire damage"); + } + // Magic Power Potion nerf if (item.type == ItemID.MagicPowerPotion) EditTooltipByNum(0, (line) => line.Text = "10% increased magic damage"); - // Magic and Wizard Hat nerfs - // Magic Hat + // Magic Hat nerf if (item.type == ItemID.MagicHat) EditTooltipByNum(0, (line) => line.Text = "5% increased magic damage and critical strike chance"); From be6710c266fc5aca1673188c9f39dd8707bdb9c2 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Fri, 29 Apr 2022 16:13:45 -0500 Subject: [PATCH 2/2] 1 - Blood Moon fishing enemies drop more Blood Orbs. --- NPCs/CalamityGlobalNPCLoot.cs | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index a59772984b..c6eebb8170 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -65,12 +65,6 @@ namespace CalamityMod.NPCs npcLoot.Add(ModContent.ItemType(), 500); break; - // Drippler - // Bouncing Eyeball @ 2.5% Normal, 5% Expert+ - case NPCID.Drippler: - npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 40, 20)); - break; - // Possessed Armor // Psychotic Amulet @ 2.5% Normal, 5% Expert+ case NPCID.PossessedArmor: @@ -438,6 +432,30 @@ namespace CalamityMod.NPCs break; #endregion + #region Blood Moon + // Drippler + // Bouncing Eyeball @ 2.5% Normal, 5% Expert+ + case NPCID.Drippler: + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 40, 20)); + break; + + // All Blood Moon fishing enemies + // Drop more Blood Orbs @ 100% + case NPCID.EyeballFlyingFish: + case NPCID.ZombieMerman: + npcLoot.Add(ModContent.ItemType(), 1, 3, 6); + break; + + case NPCID.GoblinShark: + case NPCID.BloodEelHead: + npcLoot.Add(ModContent.ItemType(), 1, 15, 30); + break; + + case NPCID.BloodNautilus: + npcLoot.Add(ModContent.ItemType(), 1, 20, 40); + break; + #endregion + #region Goblin Army // Goblin Warrior // Warblade @ 4% Normal, 6.67% Expert+