-* Wayand *- reacted to
.boon. in Drops Em Quest
quest drop_item beginstate start begin when kill with not npc.is_pc() beginlocal item_list = { --mob_vnum, item_vnum, item_count, rate, min_level, max_level{ 8001, 19, 1, 100, 1, 10 },{ 8001, 11209, 1, 100, 1, 10 },{ 8001, 11409, 1, 100, 1, 10 },{ 8001, 11609, 1, 100, 1, 10 },{ 8001, 11809, 1, 100, 1, 10 } } for i = 1, table.getn(item_list), 1 dolocal mobVnum, itemVnum, itemCount, getRate, minLevel, maxLevel = tonumber(item_list[i][1]), (item_list[i][2]), (item_list[i][3]), (item_list[i][4]), (item_list[i][5]), (item_list[i][6])if npc.get_race() == mobVnum and pc.get_level() >= minLevel and pc.get_level() <= maxLevel and getRate >= number(0, 10000) / 100 thenpc.give_item2(itemVnum, itemCount)endendendendend