Rank: Membru Mesaje : 27 Bani pe Mana: : 53 Multumiri primite : 0 Data de inscriere : 30/03/2013 Varsta : 25 Localizare : Jibou
| Subiect: [QUEST]100 Dueluri =recompensa Mier Apr 03 2013, 23:17 |
|
| Va prezint un nou quest in care daca omorati 100 playeri in duel recompensa este de : 500kk Puteti schimba recompensa de aici : - Cod:
-
say_reward("500.000.000 Yang") pc.change_money(500000000) Instalare :
Faceti un text document adaugati linia de mai jos salvati documentul cu numele quest_duele.quest si il adugati in fttp in usr/home/game/share/locale/turkey/quest si in putty/virtual box scrieti : cd /usr/home/game/share/locale/turkey/quest si dupa ./qc quest_duele.quest
Quest: - Cod:
-
quest duele begin state start begin when login with pc.level >= 85 begin set_state(player_kill) end end
state player_kill begin when letter begin send_letter("Duelo") end
when button or info begin say_title("¡Experti in duele!") say("") say("¿Crezi ca esti cel mai bun din regat ?") say("¡Demonstreaza!") say("Respecta regulile si fi corect") say("") say("") say("") say_reward("Omoara 100 jucatori in duel") say_reward("Si iti vei primi recompensa!") say("") pc.setqf("state", 100) q.set_counter("Dueluri ramase:", 100) set_state (kill) end end
state kill begin when letter begin send_letter("Duel") end when button or info begin say("¿Crezi ca esti cel mai bun din regat ?") say("¡Demonstreaza!") say("Respecta regulile si fi corect") say_reward("Dueluri ramase: "..pc.getqf("state").." ") end
when kill begin if nu ai pentru ce.is_pc() then local count = pc.getqf("state") - 1 if count <= 100 then pc.setqf("state", count) q.set_counter("Dueluri restante:", count) end if count == 0 then say_title("BRAVO ai reusit!") say("Ai omorat 100 jucatori in duel!") say("Recompesa:") say_reward("500.000.000 Yang") pc.change_money(500000000) notice_all("".. pc.get_name() .." a castigat 100 de duele") clear_letter() set_state(__COMPLETE__)
end end end end
state __COMPLETE__ begin end end |
|