I think the best way to do this would be to add the loot via quest after the mobs spawning using a default.pl file for each zone using
quest::addloot(item_id, charges = 0, equipitem = true)
Lets say you have 6000 items for npc lv 50-60 with ID 1-6000
In default.pl in
Code:
sub EVEN_SPAWN
{
my $DropChance = int(rand(99)) + 1;
if ($DropChance == 1)
{
my $Select_Itemid = int(rand(6000))+1;
quest::addloot($Select_Itemid);
}
}
Thats about it chooses a random itemid from 1-6000 and sticks in on there, its much easier to actually add and organize loot via quests then it is tables now a day.
Kayen
GM Storm Haven