Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest event_drop_moon_box begin
- state start begin
- when kill begin
- local level = pc.get_level()
- local rate = pc.getqf("rate")
- local limit = tonumber(get_mob_level[npc.get_race()])
- if level < limit+11 then
- local drop = number(1,rate)
- if drop == 1 then
- pc.setqf("rate",rate+3)
- game.drop_item_with_ownership(50011)
- end
- end
- else
- set_state(start)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement