made shit obtainable
This commit is contained in:
1 parent
2bd644ec72
commit
ab4b0053bb
6 files changed
+12
-5
No files matched your search
@@ -62,6 +62,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Equipment
|
||||
DropHelper.DropItem(player, ModContent.ItemType<OceanCrest>());
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<AeroStone>(), 9);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<SandVeil>(), 9);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<DeepDiver>(), DropHelper.RareVariantDropRateInt);
|
||||
|
||||
// Vanity
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod
|
||||
(Func<bool>)(() => CalamityWorld.downedDesertScourge),
|
||||
ModContent.ItemType<DriedSeafood>(),
|
||||
new List<int>() {ModContent.ItemType<DesertScourgeTrophy>(), ModContent.ItemType<DesertScourgeMask>(), ModContent.ItemType<KnowledgeDesertScourge>()},
|
||||
new List<int>() {ModContent.ItemType<DesertScourgeBag>(), ItemID.SandBlock, ModContent.ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ModContent.ItemType<AquaticDischarge>(), ModContent.ItemType<Barinade>(), ModContent.ItemType<StormSpray>(), ModContent.ItemType<SeaboundStaff>(), ModContent.ItemType<ScourgeoftheDesert>(), ModContent.ItemType<DuneHopper>(), ModContent.ItemType<AeroStone>(), ModContent.ItemType<DeepDiver>(), ModContent.ItemType<OceanCrest>(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.LesserHealingPotion},
|
||||
new List<int>() {ModContent.ItemType<DesertScourgeBag>(), ItemID.SandBlock, ModContent.ItemType<VictoryShard>(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ModContent.ItemType<AquaticDischarge>(), ModContent.ItemType<Barinade>(), ModContent.ItemType<StormSpray>(), ModContent.ItemType<SeaboundStaff>(), ModContent.ItemType<ScourgeoftheDesert>(), ModContent.ItemType<DuneHopper>(), ModContent.ItemType<AeroStone>(), ModContent.ItemType<SandVeil>(), ModContent.ItemType<DeepDiver>(), ModContent.ItemType<OceanCrest>(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.LesserHealingPotion},
|
||||
"Use a [i:" + ModContent.ItemType<DriedSeafood>() + "] in the Desert Biome",
|
||||
"[c/EEE8AA:The scourge of the desert delved back into the sand.]",
|
||||
"CalamityMod/NPCs/DesertScourge/DesertScourge_BossChecklist");
|
||||
@@ -386,7 +386,7 @@ namespace CalamityMod
|
||||
(Func<bool>)(() => CalamityWorld.downedSentinel3),
|
||||
ModContent.ItemType<RuneofCos>(),
|
||||
new List<int>() {ModContent.ItemType<SignusTrophy>(), ModContent.ItemType<KnowledgeSentinels>()},
|
||||
new List<int>() {ModContent.ItemType<TwistingNether>(), ModContent.ItemType<Cosmilamp>(), ModContent.ItemType<CosmicKunai>(), ItemID.SuperHealingPotion},
|
||||
new List<int>() {ModContent.ItemType<TwistingNether>(), ModContent.ItemType<Cosmilamp>(), ModContent.ItemType<CosmicKunai>(), ModContent.ItemType<SpectralVeil>(), ItemID.SuperHealingPotion},
|
||||
"Use a [i:" + ModContent.ItemType<RuneofCos>() + "] in the Underworld",
|
||||
"[c/BA55D3:The Devourer's assassin has finished its easy task.]");
|
||||
|
||||
|
||||
@@ -478,6 +478,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
|
||||
// Equipment
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<AeroStone>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<SandVeil>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<DeepDiver>(), DropHelper.RareVariantDropRateInt);
|
||||
|
||||
// Vanity
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -631,7 +632,8 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
|
||||
public override void NPCLoot()
|
||||
{
|
||||
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, ModContent.ItemType<PlagueCellCluster>(), Main.rand.Next(8, 13));
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<PlagueCellCluster>(), 8, 12);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<PlaguedFuelPack>(), 10);
|
||||
}
|
||||
|
||||
public override void OnHitPlayer(Player player, int damage, bool crit)
|
||||
|
||||
@@ -740,6 +740,9 @@ namespace CalamityMod.NPCs.Signus
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Cosmilamp>(), 3);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<CosmicKunai>(), 3);
|
||||
|
||||
//Equipment
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<SpectralVeil>(), CalamityWorld.revenge, 4);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<SignusTrophy>(), 10);
|
||||
|
||||
|
||||
@@ -265,12 +265,12 @@ namespace CalamityMod.NPCs.TownNPCs
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<DeepWounder>());
|
||||
nextSlot++;
|
||||
}
|
||||
/*if (NPC.downedGolemBoss)
|
||||
if (NPC.downedGolemBoss)
|
||||
{
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<EtherealExtorter>());
|
||||
shop.item[nextSlot].shopCustomPrice = Item.buyPrice(1, 0, 0, 0);
|
||||
nextSlot++;
|
||||
}*/
|
||||
}
|
||||
if (NPC.downedMoonlord)
|
||||
{
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<CelestialReaper>());
|
||||
|
||||
Reference in new issue
Block a user