Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest hunt_lv4 begin
- state start begin
- when login or levelup with pc.get_level() == 4 begin
- set_state(hunt)
- end
- end
- state hunt begin
- when letter begin
- send_letter("Polowanie")
- end
- when button or info begin
- say_title("Polowanie")
- say("Zaczynamy polowanie")
- set_state(killmonster)
- end
- state killmonster begin
- when 102.kill begin
- local count = pc.getqf("status") + 1
- if count <= 10 then
- pc.setqf("status", count)
- q.set_counter("Wilk", 10 - count)
- if count == 10 then
- say_title("Polowanie zakończone!")
- say("")
- say_reward("Rozjebałeś 10 wilków")
- say_reward("Najsuu")
- pc.give_item2(29)
- clear_letter()
- set_state(__COMPLETE__)
- set_quest_state("hunt_lv4","run")
- end
- end
- state __COMPLETE__ begin
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement