From 2fccbaacd7dd3078787d806ab0db360bc613fab2 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Thu, 14 Jan 2021 18:19:43 -0600 Subject: [PATCH] 1 - Destroyer and Aquatic Scourge timed DR increase. 2 - Increased Blood Orb drop rate. 3 - Dye Trader sells his Scimitar. 4 - Stylist sells her Scissors. --- NPCs/CalamityGlobalNPC.cs | 4 +++- NPCs/CalamityGlobalNPCLoot.cs | 4 ++-- NPCs/CalamityGlobalTownNPC.cs | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 2a125ade32..e00e5adf3a 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -1626,9 +1626,11 @@ namespace CalamityMod.NPCs /*if (Main.masterMode) DRScalar = 5f;*/ - // Boost Providence timed DR during the night and Storm Weaver timed DR + // Boost Providence timed DR during the night, Destroyer and Storm Weaver timed DR if ((npc.type == NPCType() && !Main.dayTime) || StormWeaverIDs.Contains(npc.type)) DRScalar = 10f; + if (DestroyerIDs.Contains(npc.type) || AquaticScourgeIDs.Contains(npc.type)) + DRScalar = 5f; // The limit for how much extra DR the boss can have float extraDRLimit = (1f - DR) * DRScalar; diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 58b714bd4f..a4b29b83e0 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1015,8 +1015,8 @@ namespace CalamityMod.NPCs DropHelper.DropItemChance(npc, ModContent.ItemType(), 2); // 50% chance of 1 orb with Bloodflare } - // 1/12 chance to get a Blood Orb with or without Bloodflare - DropHelper.DropItemChance(npc, ModContent.ItemType(), 12); + // 20% chance to get a Blood Orb with or without Bloodflare + DropHelper.DropItemChance(npc, ModContent.ItemType(), 5); } } #endregion diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index a7d887b8eb..da0197b08d 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1179,6 +1179,7 @@ namespace CalamityMod.NPCs if (type == NPCID.DyeTrader) { SetShopItem(ref shop, ref nextSlot, ItemType(), Main.hardMode && CalamityWorld.defiled, Item.buyPrice(0, 10)); + SetShopItem(ref shop, ref nextSlot, ItemID.DyeTradersScimitar, true, Item.buyPrice(0, 15)); } if (type == NPCID.Demolitionist) @@ -1209,6 +1210,7 @@ namespace CalamityMod.NPCs SetShopItem(ref shop, ref nextSlot, ItemType(), Main.LocalPlayer.wingTimeMax > 0); SetShopItem(ref shop, ref nextSlot, ItemType(), CalamityWorld.revenge && CalamityConfig.Instance.Rippers); SetShopItem(ref shop, ref nextSlot, ItemType(), CalamityWorld.revenge && CalamityConfig.Instance.Rippers); + SetShopItem(ref shop, ref nextSlot, ItemID.StylistKilLaKillScissorsIWish, true, Item.buyPrice(0, 15)); } if (type == NPCID.Cyborg)