antiblock
diamwall
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
SnowGames-Metin2

[Quest] Como Essa Quest Funciona ?

Question

quest savun_yoket begin
    state start begin
        when 8020.kill with pc.get_map_index()== 61 or pc.get_map_index() == 62 or pc.get_map_index() == 63 or pc.get_map_index() == 64 begin
            if game.get_event_flag("defend_and_destroy_red") == 5 and npc.race == 8020 then
                notice_all("Shinso Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 4")
game.set_event_flag("defend_and_destroy_red", 4 )
            elseif game.get_event_flag("defend_and_destroy_red") == 4 and npc.race == 8020 then
                notice_all("Shinso Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 3")
game.set_event_flag("defend_and_destroy_red", 3 )
            elseif game.get_event_flag("defend_and_destroy_red") == 3 and npc.race == 8020 then
                notice_all("Shinso Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 2")
game.set_event_flag("defend_and_destroy_red", 2 )
            elseif game.get_event_flag("defend_and_destroy_red") == 2 and npc.race == 8020 then
                notice_all("Shinso Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 1")
game.set_event_flag("defend_and_destroy_red", 1 )
            elseif game.get_event_flag("defend_and_destroy_red") == 1 and npc.race == 8020 then
notice_all("Shinso Ýmparatorluðu'nun tüm Metin Taþlarý yok edildi!")
notice_all("Diðer imparatorluklara saldýrabilirler.")
game.set_event_flag("defend_and_destroy_red", 0 )
timer("yellow", 1)
timer("blue", 1)
else
pc.changemoney("0")
end
end
 
        when 8022.kill with pc.get_map_index()== 61 or pc.get_map_index() == 62 or pc.get_map_index() == 63 or pc.get_map_index() == 64 begin
            if game.get_event_flag("defend_and_destroy_yellow") == 5 and npc.race == 8022 then
                notice_all("Chunjo Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 4")
game.set_event_flag("defend_and_destroy_yellow", 4 )
            elseif game.get_event_flag("defend_and_destroy_yellow") == 4 and npc.race == 8022 then
                 notice_all("Chunjo Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 3")
game.set_event_flag("defend_and_destroy_yellow", 3 )
            elseif game.get_event_flag("defend_and_destroy_yellow") == 3 and npc.race == 8022 then
                notice_all("Chunjo Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 2")
game.set_event_flag("defend_and_destroy_yellow", 2 )
            elseif game.get_event_flag("defend_and_destroy_yellow") == 2 and npc.race == 8022 then
                notice_all("Chunjo Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 1")
game.set_event_flag("defend_and_destroy_yellow", 1 )
            elseif game.get_event_flag("defend_and_destroy_yellow") == 1 and npc.race == 8022 then
notice_all("Chunjo Ýmparatorluðu'nun tüm Metin Taþlarý yok edildi!")
notice_all("Diðer imparatorluklara saldýrabilirler.")
game.set_event_flag("defend_and_destroy_yellow", 0 )
timer("red", 1)
timer("blue", 1)
            else
pc.changemoney("0")
end
end
 
        when 8021.kill with pc.get_map_index()== 61 or pc.get_map_index() == 62 or pc.get_map_index() == 63 or pc.get_map_index() == 64 begin
            if game.get_event_flag("defend_and_destroy_blue") == 5 and npc.race == 8021 then
                notice_all("Jinno Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 4")
game.set_event_flag("defend_and_destroy_blue", 4 )
            elseif game.get_event_flag("defend_and_destroy_blue") == 4 and npc.race == 8021 then
                notice_all("Jinno Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 3")
game.set_event_flag("defend_and_destroy_blue", 3 )
            elseif game.get_event_flag("defend_and_destroy_blue") == 3 and npc.race == 8021 then
                notice_all("Jinno Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 2")
game.set_event_flag("defend_and_destroy_blue", 2 )
            elseif game.get_event_flag("defend_and_destroy_blue") == 2 and npc.race == 8021 then
                notice_all("Jinno Ýmparatorluðu'nun 1 Metin Taþý yok edildi!")
                notice_all("Kalan Metin Taþý: 1")
game.set_event_flag("defend_and_destroy_blue", 1 )
            elseif game.get_event_flag("defend_and_destroy_blue") == 1 and npc.race == 8021 then
notice_all("Jinno Ýmparatorluðu'nun tüm Metin Taþlarý yok edildi!")
notice_all("Diðer imparatorluklara saldýrabilirler.")
game.set_event_flag("defend_and_destroy_blue", 0 )
timer("red", 1)
timer("blue", 1)
            else
pc.changemoney("0")
end
end
 
when blue.timer begin
if game.get_event_flag("defend_and_destroy_red") > 0 and game.get_event_flag("defend_and_destroy_yellow") == 0 and game.get_event_flag("defend_and_destroy_blue") == 0 then
notice_all("Shinso Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_red", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when yellow.timer begin
if game.get_event_flag("defend_and_destroy_red") > 0 and game.get_event_flag("defend_and_destroy_yellow") == 0 and game.get_event_flag("defend_and_destroy_blue") == 0 then
notice_all("Shinso Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_red", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when blue.timer begin
if game.get_event_flag("defend_and_destroy_red") == 0 and game.get_event_flag("defend_and_destroy_yellow") > 0 and game.get_event_flag("defend_and_destroy_blue") == 0 then
notice_all("Chunjo Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_yellow", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when red.timer begin
if game.get_event_flag("defend_and_destroy_red") == 0 and game.get_event_flag("defend_and_destroy_yellow") > 0 and game.get_event_flag("defend_and_destroy_blue") == 0 then
notice_all("Chunjo Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_yellow", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when yellow.timer begin
if game.get_event_flag("defend_and_destroy_red") == 0 and game.get_event_flag("defend_and_destroy_yellow") == 0 and game.get_event_flag("defend_and_destroy_blue") > 0 then
notice_all("Jinno Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_blue", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when red.timer begin
if game.get_event_flag("defend_and_destroy_red") == 0 and game.get_event_flag("defend_and_destroy_yellow") == 0 and game.get_event_flag("defend_and_destroy_blue") > 0 then
notice_all("Jinno Ýmparatorluðu kazandý!")
game.set_event_flag("defend_and_destroy_blue", 0 )
game.set_event_flag("defend_and_destroy", 0 )
else
end
end
 
when 11001.chat."Savun ve Yok et" or 11003.chat."Savun ve Yok et" or 11005.chat."Savun ve Yok et" with game.get_event_flag("defend_and_destroy") == 1 begin
say_title("Savaþ Sorumlusu:")
say("")
        say("Ne hakkýnda bilgi almak istiyorsun?")
say("")
            local event_info = select("Savun ve Yok et nedir?", "Kurallar nelerdir?", "Ýpuçlarý ", "Ödüller", "Kapat")
if event_info == 1 then 
   say_title("Savun ve Yok et")
say("")
say("Savun ve Yok et etkinliði 3 imparatorluk")
say("arasýnda geçen bir savaþtýr. Bu etkinlik")
say("dört farklý haritada olabilir.")
say("Bu Haritalar:")
say("")
say_reward("Yongbi Çölü, Sohan Daðý, Seungryong Vadisi")
say_reward("ve Doyyumhwan.")
elseif event_info == 2 then
say_title("Kurallar")
say("4 Haritadan birinde,")
say("Kendi imparatorluðunun baþlangýç yerinde,")
say("5 adet Metin Taþý bulunur.")
say("Kendi imparatorluðunun metinlerini koruyacaksýn.")
say("Diðer imparatorluklara saldýracaksýn.") 
            elseif event_info == 3 then 
say_title("Ýpuçlarý ")
say("")
say("Metinleri yok edilen imparatorluk savaþtan elenir")
say("ve diðer imparatorluklar savaþmaya devam eder.")
say("Elendikten sonra diðer imparatorluklarýn")
say("Metinlerine saldýrýp onlarý yokedebilirsin.") 
-- Belohnungen 
            elseif event_info == 4 then 
say_title("Ödüller")
say("Kazanan imparatorluðun lonca bölgesinde yani")
say("Shinso için Jungrang Þehri, Chunjo için")
say("Waryong Bölgesi, Jinno için ise Imha")
say("bölgesinde çeþitli etkinlikler yapýlýr. Bu")
say("bölgelere diðer imparatorluklardan kimse")
say("giremez. Bu sayede etkinlik rahatlýkla yapýlýr.")  
            elseif event_info == 5 then
                return 
            end  
        end 
end
end

Share this post


Link to post
Share on other sites

4 answers to this question

antiblock
Elveron
  • 0

Isto e a Guerra da tocha

Share this post


Link to post
Share on other sites
  • 0

Tópico colocado em Área Incorreta
 
Movido de Metin2 - Quests para Metin2 - Dúvidas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this