Kann mir einer Sagen warum die Mobs bei dem Quest nix droppen?
quest common_drops begin
state start begin
when kill with not npc.is_pc() begin
local drops = {
---Item id, min level, max level, drop chance
{50050,1,105,0.2},
}
for i = 1, table.getn(drops) do
if pc.get_level() >= drops[2] and pc.get_level() <= drops[i][3] and pc.get_level() >= mob.level(npc.get_race())-10 and pc.get_level() <= mob.level(npc.get_race())+10 then
if number(1,100) > (100-drops[i][4]) then
game.drop_item_with_ownership(drops[i][1], 1)
return
end
end
end
end
end
end