diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index ba8f5f33af..bd88b361e2 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1280,6 +1280,7 @@ namespace CalamityMod.NPCs int eyeballDropRate = CalamityWorld.defiled ? DropHelper.DefiledDropRateInt : 300; DropHelper.DropItemChance(npc, mod.ItemType("BouncingEyeball"), eyeballDropRate, 1, 1); break; + case NPCID.PossessedArmor: int amuletDropRate = CalamityWorld.defiled ? DropHelper.DefiledDropRateInt : Main.expertMode ? 150 : 200; DropHelper.DropItemChance(npc, mod.ItemType("PsychoticAmulet"), amuletDropRate, 1, 1); diff --git a/NPCs/TownNPCs/Bandit.cs b/NPCs/TownNPCs/Bandit.cs index 17be1521c4..694b74b243 100644 --- a/NPCs/TownNPCs/Bandit.cs +++ b/NPCs/TownNPCs/Bandit.cs @@ -202,7 +202,7 @@ namespace CalamityMod.NPCs.TownNPCs } } - public override void SetupShop(Chest shop, ref int nextSlot) //charges 50% extra than the original item value + public override void SetupShop(Chest shop, ref int nextSlot) { shop.item[nextSlot].SetDefaults(mod.ItemType("Cinquedea")); shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 9, 0, 0); @@ -252,18 +252,18 @@ namespace CalamityMod.NPCs.TownNPCs shop.item[nextSlot].shopCustomPrice = Item.buyPrice(1, 0, 0, 0); nextSlot++; }*/ + if (NPC.downedMoonlord) + { + shop.item[nextSlot].SetDefaults(mod.ItemType("CelestialReaper")); + shop.item[nextSlot].shopCustomPrice = Item.buyPrice(2, 0, 0, 0); + nextSlot++; + } /*if (CalamityWorld.downedProvidence) { shop.item[nextSlot].SetDefaults(mod.ItemType("SylvanSlasher")); shop.item[nextSlot].shopCustomPrice = Item.buyPrice(5, 0, 0, 0); nextSlot++; }*/ - if (NPC.downedAncientCultist) - { - shop.item[nextSlot].SetDefaults(mod.ItemType("CelestialReaper")); - shop.item[nextSlot].shopCustomPrice = Item.buyPrice(2, 0, 0, 0); - nextSlot++; - } if (CalamityWorld.buffedEclipse && !CalamityWorld.dragonScalesBought) { shop.item[nextSlot].SetDefaults(mod.ItemType("DragonScales"));