chore: restructure files

This commit is contained in:
Muhammad Nauman Raza 2024-11-09 10:14:04 +00:00
parent 74522e3418
commit 6481b733fb
Signed by: devraza
GPG key ID: 91EAD6081011574B
2 changed files with 4 additions and 1 deletions

View file

@ -14,7 +14,9 @@ namespace Continuity.Content
{ {
if (npc.type == NPCID.Plantera) if (npc.type == NPCID.Plantera)
{ {
npcLoot.Add(ItemDropRule.Common(ModContent.ItemType<PalishadeTissue>(), 1, 25, 35)); LeadingConditionRule notExpertRule = new LeadingConditionRule(new Conditions.NotExpert());
notExpertRule.OnSuccess(ItemDropRule.Common(ModContent.ItemType<PalishadeTissue>(), 1, 10, 35));
npcLoot.Add(notExpertRule);
} }
} }
} }
@ -25,6 +27,7 @@ namespace Continuity.Content
{ {
if (item.type == ItemID.PlanteraBossBag) if (item.type == ItemID.PlanteraBossBag)
{ {
itemLoot.Add(ItemDropRule.Common(ModContent.ItemType<PalishadeTissue>(), 1, 25, 35));
short[] toRemove = { short[] toRemove = {
ItemID.TheAxe, ItemID.TheAxe,
ItemID.PygmyStaff, ItemID.PygmyStaff,