iToKi RuleZ
Utente Silver
Ultima modifica:
ecco qui la missione del leone by Project Metin2 © Team
Sono "obbligate" le correzzioni ^_^
La missione non e testata! i +1 non mordono
Sono "obbligate" le correzzioni ^_^
Codice:
quest lion_buy begin
state start begin
when letter with pc . level >= 110 begin
send_letter ( "Missione Leone" )
when button or info with pc . level >= 110 begin
say_title ( "Missione:" )
say ( "Salve avventuriero" )
say ( "Vuoi Aggiudicarti il tuo leone?" )
say ( "Vai dallo stalliere e scopri cosa fare!" )
end
when login with pc.get_level() >= 110 begin
set_state(missione)
end
end
state missione begin
when 20349.chat."Il Leone" begin
say_title ( "Stalliere:" )
say ( "Salve Giovanotto." )
say ( "Vuoi Anche Tu Il Leone ?" )
say()
say()
con = select("Si","No")
if con == 2 then
elseif con == 1 then
say_title("Stalliere:")
say("Bene, Per Iniziare La Missione Devi")
say("Avere 10 Med.Equitazione")
say_item_vnum(50050)
wait()
if pc.count_item(50050) >= 10 then
say_title("Stalliere:")
say("Molto Bene Vedo Che Le Hai.")
say("La Missione Consiste Nel Uccidere")
say("1 Comandante Divino Zin ")
say("Avrai A Disposizione 3")
say("Ore Di Tempo.Continuare?")
a = select("Si","No")
if a == 2 then
elseif a == 1 then
say_title("Stalliere:")
say("La Missione E' Iniziata." )
pc.setqf("kill_com",0)
pc.setqf("time",get_global_time())
pc.remove_item(50050,10)
set_state(inizio)
end
else
say_title("Stalliere:")
say("Non Hai Le Medaglie Equitazione.")
end
end
end
end
state inizio begin
when 2414.kill begin
if pc.getqf("kill_com") <= 1 then
pc.setqf("kill_com",pc.getqf("kill_com") + 1)
if pc.getqf("kill_com") == 1 then
say("Hai Ucciso Il Comandante Divino." )
else
com = 1 - pc.getqf("kill_com")
chat("Ti Mancano Ancora " .. com .. " Comandanti Divini Zin.")
end
say()
if pc.getqf("kill_com") == 1 then
say("Hai Ucciso Tutti I Mob Della Missione!")
say("Corri Dallo Stalliere.")
set_state(ritorno)
end
end
end
state ritorno begin
when 20349.chat."Ho Completato La Missione" begin
say_title("Stalliere:")
say("Complimenti!,Ora Controllo Il Risultato.")
say()
say()
say_reward("Risultato:")
if 60*60*0.45 < get_global_time() - pc.getqf("time") then
say("Missione Fallita.")
set_state(missione)
else
say("Missione Conclusa Con Successo!")
wait()
say_title("Stalliere:")
say("Torna Domani A Prendere Il Tuo Leone.")
say_reward("Costo: 100.000.000 Yang")
set_state(fine)
pc.setqf("time",get_global_time())
end
end
end
state fine begin
when 20349.chat."Il Leone" begin
say_title("Stalliere:")
if 60*60*24 > get_global_time() - pc.getqf("time") then
say("Devi Aspettare Ancora.")
else
say("Hai Portato I Soldi?")
say()
a = select("Si","No")
if a == 2 then
elseif a == 1 then
if pc.gold >= 100000000 then
say_title("Stalliere:")
say("Molto Bene,Ecco Il Tuo Leone!")
pc.changegold( - 100000000 )
pc.give_item2(71120,1)
pc.setqf("lion",1)
pc.setqf("lionhp",get_global_time())
pc.setqf("stleone",50)
set_state(completa)
else
say("Non Hai Abbastanza Yang.")
end
end
end
end
end
state completa begin
end
end
La missione non e testata! i +1 non mordono


iToki che fa uno script in LUA 
il merito nn è mio infatti io nn gli ho neanche chiesto di postarlo
se lui capisce che lo fatto io lo script ha capito che 1 +1 fa 3 -.-" se lo posti dicendo che è mio mi fai fare la figura del leecher noob