Help with an SQL input
My SQL skills aren't the best so I was hoping someone might be able to help me out with this.
Essentially, I want to add a specific lootdrop to loot tables that belong to NPCs within a certain level range. What would be the necessary SQL input to do this? Thanks :) |
Can do it the lazy way like I do!
Make a loottable with just that specific lootdrop and add it through perl (they will have their normal drops + the custom stuff from this table) global_npc.pl Code:
sub EVENT_SPAWN { |
If you look at the last page of this post it gives sql code to add defiant gear drops.
http://www.eqemulator.org/forums/sho...=defiant+drops I just use these and adjust where needed for the drops I want to add to level range. |
Quote:
Quote:
|
One more question now, what query could I use in order to remove a lootdrop from a loottable if a different lootdrop exists within that loottable. As in any loottable that has lootdrop1 AND lootdrop2 would remove lootdrop1 from its loottable.
|
All times are GMT -4. The time now is 02:55 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.