View Single Post
  #14  
Old 12-23-2003, 07:16 AM
r2d2atemyhomework
Fire Beetle
 
Join Date: Dec 2003
Posts: 10
Default

Also if you want to make sure you get loot (but no drops) off of every kill with this database, run the following in mysql:


Code:
update npc_types set loottable_id = 1 where level <= 10 and loottable_id = 0;
update npc_types set loottable_id = 2 where level > 10 and level <=20 and loottable_id = 0;
update npc_types set loottable_id = 3 where level > 20 and level <=30 and loottable_id = 0;
update npc_types set loottable_id = 4 where level > 30 and level <=40 and loottable_id = 0;
update npc_types set loottable_id = 5 where level > 40 and level <=50 and loottable_id = 0;
update npc_types set loottable_id = 6 where level > 50 and level <=60 and loottable_id = 0;
update npc_types set loottable_id = 7 where level > 60 and loottable_id = 0;
Again it's not accurate, but it's better than nothing. This query will maintain any existing loottable values NPCs already have.
Reply With Quote