Prehardmode GFB Calamity boss drops.

This commit is contained in:
mountaindrew10 committed 2023-05-30 05:13:45 -05:00
1 parent 53fafb74c5
commit be6edf0a05
5 files changed
+24 -2

No files matched your search

+4
View File
@@ -25,6 +25,7 @@ using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using Terraria.GameContent.ItemDropRules;
using CalamityMod.Items.Potions.Alcohol;
namespace CalamityMod.NPCs.Crabulon
{
@@ -855,6 +856,9 @@ namespace CalamityMod.NPCs.Crabulon
// Relic
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<CrabulonRelic>());
// GFB Odd Mushroom drop
npcLoot.DefineConditionalDropSet(DropHelper.GFB).Add(ModContent.ItemType<OddMushroom>(), 1, 1, 9999);
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedCrabulon, ModContent.ItemType<LoreCrabulon>(), desc: DropHelper.FirstKillText);
}
+3 -2
View File
@@ -665,7 +665,6 @@ namespace CalamityMod.NPCs.DesertScourge
}
}
#region Loot
public override void BossLoot(ref string name, ref int potionType)
{
potionType = ItemID.SandBlock;
@@ -752,10 +751,12 @@ namespace CalamityMod.NPCs.DesertScourge
// Relic
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<DesertScourgeRelic>());
// GFB Acidic Rain Barrel drop
npcLoot.DefineConditionalDropSet(DropHelper.GFB).Add(ModContent.ItemType<AcidicRainBarrel>());
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDesertScourge, ModContent.ItemType<LoreDesertScourge>(), desc: DropHelper.FirstKillText);
}
#endregion
public override void HitEffect(NPC.HitInfo hit)
{
+10
View File
@@ -1176,6 +1176,16 @@ namespace CalamityMod.NPCs.HiveMind
// Relic
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<HiveMindRelic>());
// GFB class emblem drops
var GFBOnly = npcLoot.DefineConditionalDropSet(DropHelper.GFB);
{
GFBOnly.Add(ItemID.WarriorEmblem);
GFBOnly.Add(ItemID.RangerEmblem);
GFBOnly.Add(ItemID.SorcererEmblem);
GFBOnly.Add(ItemID.SummonerEmblem);
GFBOnly.Add(ModContent.ItemType<RogueEmblem>());
}
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedHiveMind, ModContent.ItemType<LoreHiveMind>(), desc: DropHelper.FirstKillText);
}
+4
View File
@@ -28,6 +28,7 @@ using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using Terraria.GameContent.ItemDropRules;
using CalamityMod.Items.Ammo;
namespace CalamityMod.NPCs.Perforator
{
@@ -574,6 +575,9 @@ namespace CalamityMod.NPCs.Perforator
// Relic
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<PerforatorsRelic>());
// GFB Vanquisher Arrow drop
npcLoot.DefineConditionalDropSet(DropHelper.GFB).Add(ModContent.ItemType<VanquisherArrow>(), 1, 1, 9999);
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedPerforator, ModContent.ItemType<LorePerforators>(), desc: DropHelper.FirstKillText);
}
+3
View File
@@ -638,6 +638,9 @@ namespace CalamityMod.NPCs.SlimeGod
// Relic
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<SlimeGodRelic>());
// GFB Gelatin Crystal drop
npcLoot.DefineConditionalDropSet(DropHelper.GFB).Add(ItemID.QueenSlimeCrystal);
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedSlimeGod, ModContent.ItemType<LoreSlimeGod>(), desc: DropHelper.FirstKillText);
}