Merge branch 'master' into oom-fixes
This commit is contained in:
commit
502a25550d
41 files changed
+88
-79
No files matched your search
@@ -66,7 +66,6 @@ namespace CalamityMod.Items.Accessories
|
||||
recipe.AddIngredient(ItemID.LavaWaders);
|
||||
recipe.AddIngredient(ModContent.ItemType<HarpyRing>());
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofCinder>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<AerialiteBar>(), 20);
|
||||
recipe.AddIngredient(ItemID.SoulofMight);
|
||||
recipe.AddIngredient(ItemID.SoulofSight);
|
||||
recipe.AddIngredient(ItemID.SoulofFright);
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
item.width = 22;
|
||||
item.height = 20;
|
||||
item.value = CalamityGlobalItem.Rarity9BuyPrice;
|
||||
item.rare = ItemRarityID.Cyan;
|
||||
item.rare = ItemRarityID.Red;
|
||||
item.accessory = true;
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<MeldiateBar>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<CoreofCalamity>());
|
||||
recipe.AddIngredient(ItemID.SoulofFlight, 20);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 10);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -13,19 +13,19 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
DisplayName.SetDefault("Abombination");
|
||||
Tooltip.SetDefault("Calls in the airborne jungle abomination\n" +
|
||||
"Summons the Plaguebringer Goliath");
|
||||
"Summons the Plaguebringer Goliath\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 28;
|
||||
item.height = 18;
|
||||
item.maxStack = 20;
|
||||
item.rare = ItemRarityID.Yellow;
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -47,10 +47,10 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<PlagueCellCluster>(), 10);
|
||||
recipe.AddIngredient(ItemID.IronBar, 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<PlagueCellCluster>(), 20);
|
||||
recipe.AddIngredient(ItemID.IronBar, 8);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.AddIngredient(ItemID.Stinger, 2);
|
||||
recipe.AddIngredient(ItemID.Stinger, 5);
|
||||
recipe.AddIngredient(ItemID.Obsidian, 3);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Materials
|
||||
DropHelper.DropItem(player, ModContent.ItemType<AstralJelly>(), 12, 16);
|
||||
DropHelper.DropItem(player, ModContent.ItemType<Stardust>(), 30, 40);
|
||||
DropHelper.DropItem(player, ItemID.FallenStar, 30, 50);
|
||||
DropHelper.DropItem(player, ItemID.FallenStar, 20, 30);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.BagWeaponDropRateFloat;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Materials
|
||||
DropHelper.DropItem(player, ModContent.ItemType<Stardust>(), 60, 90);
|
||||
DropHelper.DropItem(player, ItemID.FallenStar, 100, 180);
|
||||
DropHelper.DropItem(player, ItemID.FallenStar, 30, 50);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.BagWeaponDropRateFloat;
|
||||
|
||||
@@ -42,9 +42,9 @@ namespace CalamityMod.Items.TreasureBags
|
||||
public override void OpenBossBag(Player player)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItem(player, ItemID.RottenChunk, 10, 20);
|
||||
DropHelper.DropItem(player, ItemID.DemoniteBar, 9, 14);
|
||||
DropHelper.DropItem(player, ModContent.ItemType<TrueShadowScale>(), 30, 40);
|
||||
DropHelper.DropItem(player, ItemID.DemoniteBar, 9, 14);
|
||||
DropHelper.DropItem(player, ItemID.RottenChunk, 10, 20);
|
||||
DropHelper.DropItemCondition(player, ItemID.CursedFlame, Main.hardMode, 15, 30);
|
||||
|
||||
// Weapons
|
||||
|
||||
@@ -42,9 +42,9 @@ namespace CalamityMod.Items.TreasureBags
|
||||
public override void OpenBossBag(Player player)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItem(player, ItemID.Vertebrae, 10, 20);
|
||||
DropHelper.DropItem(player, ItemID.CrimtaneBar, 9, 14);
|
||||
DropHelper.DropItem(player, ModContent.ItemType<BloodSample>(), 30, 40);
|
||||
DropHelper.DropItem(player, ItemID.CrimtaneBar, 9, 14);
|
||||
DropHelper.DropItem(player, ItemID.Vertebrae, 10, 20);
|
||||
DropHelper.DropItemCondition(player, ItemID.Ichor, Main.hardMode, 15, 30);
|
||||
|
||||
// Weapons
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.TreasureBags
|
||||
public override void OpenBossBag(Player player)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItem(player, ItemID.Gel, 30, 60);
|
||||
DropHelper.DropItem(player, ModContent.ItemType<PurifiedGel>(), 35, 55);
|
||||
// No Gel is dropped here because the boss drops Gel directly
|
||||
DropHelper.DropItem(player, ModContent.ItemType<PurifiedGel>(), 40, 52);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.BagWeaponDropRateFloat;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.AdamantiteBar);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 25);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,10 +53,10 @@ Stealth strikes provide a bigger boost after richocheting");
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SpikyBall, 3);
|
||||
recipe.AddIngredient(ItemID.SpikyBall, 20);
|
||||
recipe.AddIngredient(ItemID.PinkGel);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.SetResult(this, 3);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.CobaltBar);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 30);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<VerstaltiteBar>());
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,10 +55,10 @@ Stealth strikes release more souls and leave behind souls as they travel");
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<SolarVeil>(), 2);
|
||||
recipe.AddIngredient(ItemID.Silk, 3);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm, 5);
|
||||
recipe.AddIngredient(ItemID.Silk);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 150);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ Stealth strike throws a volley of knives");
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<AerialiteBar>());
|
||||
recipe.AddTile(TileID.SkyMill);
|
||||
recipe.SetResult(this, 30);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ Stealth strikes can bounce off walls and enemies");
|
||||
recipe.AddIngredient(ItemID.CrispyHoneyBlock);
|
||||
recipe.AddIngredient(ItemID.BeeWax);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 10);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
recipe.anyWood = true;
|
||||
recipe.AddIngredient(ItemID.IronBar);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 50);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
recipe.anyWood = true;
|
||||
recipe.AddIngredient(ItemID.LeadBar);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 50);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.MythrilBar);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 40);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.OrichalcumBar);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 50);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.PalladiumBar);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,12 +54,10 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Beenade, 15);
|
||||
recipe.AddIngredient(ModContent.ItemType<PlagueCellCluster>(), 3);
|
||||
recipe.AddIngredient(ItemID.Obsidian, 2);
|
||||
recipe.AddIngredient(ItemID.Stinger);
|
||||
recipe.AddIngredient(ItemID.Beenade, 20);
|
||||
recipe.AddIngredient(ModContent.ItemType<PlagueCellCluster>(), 5);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 30);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ Stealth strikes spawn smaller spears to fly along side it");
|
||||
{
|
||||
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<CrystalPiercer>(), 200);
|
||||
recipe.AddIngredient(ModContent.ItemType<CrystalPiercer>(), 500);
|
||||
recipe.AddIngredient(ModContent.ItemType<UeliaceBar>(), 6);
|
||||
recipe.AddIngredient(ModContent.ItemType<DivineGeode>(), 4);
|
||||
recipe.AddIngredient(ModContent.ItemType <UnholyEssence>(), 25);
|
||||
|
||||
@@ -57,11 +57,11 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Grenade, 10);
|
||||
recipe.AddIngredient(ItemID.MartianConduitPlating, 2);
|
||||
recipe.AddIngredient(ItemID.Nanites, 1);
|
||||
recipe.AddIngredient(ItemID.Grenade, 20);
|
||||
recipe.AddIngredient(ItemID.MartianConduitPlating, 5);
|
||||
recipe.AddIngredient(ItemID.Nanites, 5);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.SetResult(this, 10);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,10 +54,10 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 2);
|
||||
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<MurkySludge>());
|
||||
recipe.AddRecipeGroup("Boss2Material", 5);
|
||||
recipe.SetResult(this, 50);
|
||||
recipe.AddRecipeGroup("Boss2Material");
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,10 +61,10 @@ Stealth strikes throw seven at once and last a lot longer");
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SpikyBall, 3);
|
||||
recipe.AddIngredient(ItemID.SpikyBall, 20);
|
||||
recipe.AddIngredient(ItemID.Gel);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.SetResult(this, 3);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ Stealth strikes erupt into thorns on enemy hits");
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<UeliaceBar>());
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.SetResult(this, 333);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.RedBrick, 5);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 15);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.TitaniumBar);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 30);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,8 +51,8 @@ Stealth strikes slow enemies down longer");
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Cobweb, 3);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddIngredient(ItemID.Cobweb, 5);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<WulfrumShard>());
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this, 50);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<MeldiateBar>());
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this, 20);
|
||||
recipe.SetResult(this, 100);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<DraedonsRemote>(), 3);
|
||||
recipe.AddIngredient(ModContent.ItemType<Abomination>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<Abomination>());
|
||||
recipe.AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -333,8 +333,8 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<Stardust>(), 20, 30);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FallenStar, 25, 40);
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<Stardust>(), 20, 30, 2);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FallenStar, 18, 24, 2);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -244,18 +244,18 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeAstralInfection>(), !CalamityWorld.downedStarGod);
|
||||
|
||||
// Drop a large spray of all 4 lunar fragments
|
||||
int minFragments = Main.expertMode ? 20 : 12;
|
||||
int maxFragments = Main.expertMode ? 32 : 20;
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentSolar, minFragments, maxFragments);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentVortex, minFragments, maxFragments);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentNebula, minFragments, maxFragments);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentStardust, minFragments, maxFragments);
|
||||
int minFragments = Main.expertMode ? 20 : 16;
|
||||
int maxFragments = Main.expertMode ? 32 : 24;
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentSolar, minFragments, maxFragments, 4);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentVortex, minFragments, maxFragments, 4);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentNebula, minFragments, maxFragments, 4);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FragmentStardust, minFragments, maxFragments, 4);
|
||||
|
||||
// All other drops are contained in the bag, so they only drop directly on Normal
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<Stardust>(), 50, 80, 5);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FallenStar, 80, 150);
|
||||
DropHelper.DropItemSpray(npc, ItemID.FallenStar, 25, 40, 5);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -162,7 +162,8 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
{
|
||||
//Materials
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<EssenceofChaos>(), 4, 8);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<Bloodstone>(), CalamityWorld.downedProvidence, 1f, 20, 30);
|
||||
if (CalamityWorld.downedProvidence)
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<Bloodstone>(), 20, 30, 2);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -87,10 +87,11 @@ namespace CalamityMod.NPCs
|
||||
|
||||
if (npc.type == NPCID.KingSlime)
|
||||
{
|
||||
// Drop a huge spray of Gel items
|
||||
int minGel = Main.expertMode ? 90 : 60;
|
||||
int maxGel = Main.expertMode ? 120 : 80;
|
||||
DropHelper.DropItemSpray(npc, ItemID.Gel, minGel, maxGel, 2);
|
||||
// Drop a huge spray of Gel items
|
||||
// More gel is not dropped on Expert because he has more minions, which increases the amount of gel provided.
|
||||
int minGel = 72;
|
||||
int maxGel = 100;
|
||||
DropHelper.DropItemSpray(npc, ItemID.Gel, minGel, maxGel, 4);
|
||||
|
||||
// Legendary drop for King Slime
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<CrownJewel>(), true, CalamityWorld.malice);
|
||||
|
||||
@@ -1356,7 +1356,6 @@ namespace CalamityMod.NPCs
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.LihzahrdPowerCell, NPC.downedGolemBoss && CalamityConfig.Instance.SellVanillaSummons, Item.buyPrice(0, 30));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemID.ButterflyDust, NPC.downedGolemBoss, Item.buyPrice(0, 10));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<AncientMedallion>(), CalamityWorld.downedScavenger, Item.buyPrice(0, 50));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<Abomination>(), CalamityWorld.downedPlaguebringer, Item.buyPrice(0, 50));
|
||||
SetShopItem(ref shop, ref nextSlot, ItemType<BirbPheromones>(), CalamityWorld.downedBumble, Item.buyPrice(5));
|
||||
}
|
||||
|
||||
|
||||
@@ -773,11 +773,11 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<TrueShadowScale>(), 25, 30);
|
||||
DropHelper.DropItemSpray(npc, ItemID.DemoniteBar, 7, 10);
|
||||
DropHelper.DropItemSpray(npc, ItemID.RottenChunk, 9, 15);
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<TrueShadowScale>(), 25, 30, 5);
|
||||
DropHelper.DropItemSpray(npc, ItemID.DemoniteBar, 8, 12, 2);
|
||||
DropHelper.DropItemSpray(npc, ItemID.RottenChunk, 9, 15, 3);
|
||||
if (Main.hardMode)
|
||||
DropHelper.DropItemSpray(npc, ItemID.CursedFlame, 10, 20);
|
||||
DropHelper.DropItemSpray(npc, ItemID.CursedFlame, 10, 20, 2);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -464,11 +464,11 @@ namespace CalamityMod.NPCs.Perforator
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<BloodSample>(), 7, 14);
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<BloodSample>(), 25, 30);
|
||||
DropHelper.DropItemSpray(npc, ItemID.CrimtaneBar, 2, 5);
|
||||
DropHelper.DropItemSpray(npc, ItemID.Vertebrae, 3, 9);
|
||||
if (Main.hardMode)
|
||||
DropHelper.DropItemSpray(npc, ItemID.Ichor, 10, 20);
|
||||
DropHelper.DropItemSpray(npc, ItemID.Ichor, 10, 20, 2);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -673,13 +673,13 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
}
|
||||
|
||||
// Gel always drops directly, even on Expert
|
||||
DropHelper.DropItemSpray(npc, ItemID.Gel, 180, 250);
|
||||
DropHelper.DropItemSpray(npc, ItemID.Gel, 180, 250, 10);
|
||||
|
||||
// All other drops are contained in the bag, so they only drop directly on Normal
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
// Materials
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<PurifiedGel>(), 30, 45);
|
||||
DropHelper.DropItemSpray(npc, ModContent.ItemType<PurifiedGel>(), 30, 45, 3);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.NormalWeaponDropRateFloat;
|
||||
|
||||
@@ -10,6 +10,7 @@ using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Tools;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Terraria;
|
||||
@@ -30,6 +31,7 @@ namespace CalamityMod
|
||||
EditLeatherRecipe();
|
||||
EditTerraBladeRecipe();
|
||||
EditFireGauntletRecipe();
|
||||
EditGoblinArmySummonRecipe();
|
||||
EditMechBossSummonRecipes();
|
||||
EditWingRecipes();
|
||||
EditEvilBulletRecipes();
|
||||
@@ -169,6 +171,14 @@ namespace CalamityMod
|
||||
});
|
||||
}
|
||||
|
||||
private static void EditGoblinArmySummonRecipe()
|
||||
{
|
||||
List<Recipe> rec = Main.recipe.ToList();
|
||||
rec.Where(x => x.createItem.type == ItemID.GoblinBattleStandard).ToList().ForEach(s =>
|
||||
{
|
||||
s.requiredItem[0].stack = 5;
|
||||
});
|
||||
}
|
||||
private static void EditMechBossSummonRecipes()
|
||||
{
|
||||
List<Recipe> rec = Main.recipe.ToList();
|
||||
@@ -1139,7 +1149,8 @@ namespace CalamityMod
|
||||
ItemID.SolarFlarePickaxe,
|
||||
ItemID.VortexPickaxe,
|
||||
ItemID.NebulaPickaxe,
|
||||
ItemID.StardustPickaxe
|
||||
ItemID.StardustPickaxe,
|
||||
ModContent.ItemType<GallantPickaxe>()
|
||||
});
|
||||
RecipeGroup.RegisterGroup("LunarPickaxe", group);
|
||||
|
||||
|
||||
Reference in new issue
Block a user