GFB Sansvager drops. Iris/Altix, please uncomment your funny Ravager changes so they can be tested, thank you.
This commit is contained in:
1 parent
19529fd628
commit
86ce551bce
1 file changed
+10
-1
@@ -27,6 +27,7 @@ using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs.Ravager
|
||||
{
|
||||
@@ -973,7 +974,6 @@ namespace CalamityMod.NPCs.Ravager
|
||||
{
|
||||
CalamityGlobalNPC.SetNewBossJustDowned(NPC);
|
||||
|
||||
|
||||
// Mark Ravager as dead
|
||||
DownedBossSystem.downedRavager = true;
|
||||
CalamityNetcode.SyncWorld();
|
||||
@@ -1018,6 +1018,15 @@ namespace CalamityMod.NPCs.Ravager
|
||||
// Relic
|
||||
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<RavagerRelic>());
|
||||
|
||||
// GFB Sans drops
|
||||
var GFBOnly = npcLoot.DefineConditionalDropSet(DropHelper.GFB);
|
||||
{
|
||||
GFBOnly.Add(ItemID.Skull);
|
||||
GFBOnly.Add(ItemID.Bone, 1, 1, 9999);
|
||||
GFBOnly.Add(ItemID.Hotdog, 1, 1, 9999);
|
||||
GFBOnly.Add(ModContent.ItemType<AncientBoneDust>(), 1, 1, 9999);
|
||||
}
|
||||
|
||||
// Lore
|
||||
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedRavager, ModContent.ItemType<LoreRavager>(), desc: DropHelper.FirstKillText);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user