bandit fixes

This commit is contained in:
termigator1359 committed 2019-10-14 20:35:42 -04:00
1 parent 8e1073d86d
commit f18d365797
2 files changed
+8 -7

No files matched your search

+1
View File
@@ -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);
+7 -7
View File
@@ -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"));