Thread: NPC Weapons
View Single Post
  #5  
Old 03-26-2008, 04:33 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Using the Wiki as a reference:

Quote:
lootdrop_entries
A list of individual items that can drop in a particular Loot Drop. Each entry also has a chance value that determines how likely that item is to drop as opposed to any other items in the same Loot Drop.
Quote:
Fields
  • lootdrop_id: ID into lootdrop table
  • item_id: ID of the item that could drop
  • item_charges: number of charges the item has
  • equip_item: boolean field - True meaning the NPC can equip this item.
  • chance: The chance this item has to drop
So, just set the equip_item field in the lootdrop_entries table to 1 (boolean for true of course), and any mob with that loot table will be able to equip that item. As far as I know, that's what GeorgeS's editor does. If that doesn't allow the mob to equip it, then it looks like it's not working properly.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote