ServUO Loot Generation: Difference between revisions

From UO Mayhem
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
# BaseCreature.cs, OnBeforeDeath() calls GenerateLoot(false)
# BaseCreature.cs, OnBeforeDeath() calls GenerateLoot(false)
# BaseCreature.cs, GenerateLoot(bool spawning)
# BaseCreature.cs, GenerateLoot(bool spawning)
#* If !spawning
#* If !spawning then m_KillersLuck = killer/highest-damage-dealers luck
#** m_KillersLuck = killer/highest-damage-dealers luck
#* if m_Paragon then add extra AddLoot() based on fame (From Meager to UltraRich)
# MOBILE.cs public override void GenerateLoot() adds lootpacks
# MOBILE.cs public override void GenerateLoot() adds lootpacks

Revision as of 00:21, 3 January 2024


Loot Generation Order

  1. BaseCreature.cs, OnBeforeDeath() calls GenerateLoot(false)
  2. BaseCreature.cs, GenerateLoot(bool spawning)
    • If !spawning then m_KillersLuck = killer/highest-damage-dealers luck
    • if m_Paragon then add extra AddLoot() based on fame (From Meager to UltraRich)
  3. MOBILE.cs public override void GenerateLoot() adds lootpacks