• Basic NPC Drops and Loot
  • Basics
  • Why did loot change from the old system?
  • IItemDropRule
  • ModNPC.ModifyNPCLoot() vs GlobalNPC.ModifyNPCLoot() vs GlobalNPC.ModifyGlobalLoot()
  • How do I specify my item?
  • Full Example
  • Adding Drops to a ModNPC
  • Adding Drops to a Vanilla NPC
  • Special Cases
  • Adding Drops to all NPC (Global Rule)
  • Prerequisite Knowledge
  • Chance (Denominator and Numerator)
  • Luck
  • Typical Item Drop Rules
  • Drop a Single Item
  • Drop One of Many Items
  • Drop a Single Item with a Different Expert Mode Chance
  • Conditionally Drop Items
  • Drop items if other Rule not chosen
  • Drop items like The Twins
  • Drop stack of item one by one like Lunar Fragments
  • Boss Bag
  • Instanced or Per Player
  • Etc
  • Conditions (IItemDropRuleCondition)
  • Custom Condition
  • First Time Boss Defeated Condition
  • Chaining Rules
  • Full Boss Example
  • Consulting vanilla drop code
  • Example
  • Player who killed NPC
  • Editing drops
  • Not covered in Basic level