Try UOFiddler for finding item ID's, clilocs, gumps, hues, just about anything you need. To add loot to a mobile, add it to their GenerateLoot() method to make it stealable, or OnDeath() method for non-stealable.
 
An example how you could add an runic hammer to their loot would be this:
Code:
if (Utility.Random(100) < 5)
{
    this.PackItem(new RunicHammer(CraftResource.Bronze));
}
In this case it would be for the bronze elemental, chance would be 5% in this case. The location for this would be either the functions Normal already mentioned or directly in the constructor (would work fine too since even the ores are added there)

If you want to set the runic hammers uses (I would do so) you could use this instead
Code:
if (Utility.Random(100) < 5)
{
    this.PackItem(new RunicHammer(CraftResource.Bronze, 5));  // 5 uses
}
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 138 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 90 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 87 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 83 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 33 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 28 Online
    • 30 Peak
  • Arth
    Custom (Modern)
    • Players
    • 22 Online
    • 34 Peak
  • Heritage
    New Legacy
    • Players
    • 20 Online
    • 41 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back