saral 19 Posted September 12, 2015 Ola pessoal alguém pode me ajuda? A guerra da tocha não inicia >>> é a configuração do arqueiro da praça! pasta 11001/chat say_title ( "A Guerra da Tocha" ) say ( "" ) if game . get_event_flag ( "siege_war" ) == 4 then say ( "Atualmente, a Guerra da Tocha esta sendo anunciada." ) say ( "" ) say_reward ( "IMPORTANTE: Iniciar este evento pelo CH99." ) say ( "" ) local sname = input ( ) if sname == "Metin2-Insanity" then local kingdom = 1 local signals = 5 say_title ( "A Guerra da Tocha" ) say ( "" ) say ( "Selecione o numero de Tochas para evocar." ) say ( "" ) local s = select ( "5 Tochas" , "Manual" , "Fechar" ) if s == 1 then signals = number ( 5 , 5 ) elseif s == 2 then say_title ( "A Guerra da Tocha" ) say ( "" ) say ( "Por favor, selecione um numero de 5 a 10." ) say ( "" ) signals = input ( ) if signals < 5 or signals > 5 then return end else return end say_title ( "A Guerra da Tocha" ) say ( "" ) say ( "Selecione em qual Castelo acontecera esta Guerra da Tocha." ) say ( "" ) local s = select ( "Aleatorio" , "Manual" , "Fechar" ) if s == 1 then kingdom = number ( 1 , 3 ) elseif s == 2 then say_title ( "A Guerra da Tocha" ) say ( "" ) say ( "Por favor, selecione o Reino." ) say ( "" ) kingdom = select ( "Shinsu" , "Chunjo" , "Jinno" , "Fechar" ) if kingdom == 4 then return end else return end command ( "siege " .. kingdom .. " " .. signals ) game . set_event_flag ( "siege_war" , kingdom ) end elseif game . get_event_flag ( "siege_war" ) > 0 then say ( "Atualmente " .. locale . empire_names [ pc . get_empire ( ) ] .. " esta sobe ataque." ) say ( "" ) local s = select ( "Abortar Evento" , "Remover Anuncio" , "Cancelar" ) if s == 1 then syschat ( "A Guerra da Tocha foi encerrada." ) command ( "siege" ) game . set_event_flag ( "siege_war" , 0 ) elseif s == 2 then game . set_event_flag ( "siege_war" , 0 ) end else say ( "A Guerra da Tocha nao esta ativa no momento." ) say ( "" ) local s = select ( "Anunciar" , "Cancelar" ) if s == 1 then game . set_event_flag ( "siege_war" , 4 ) say_title ( "A Guerra da Tocha" ) say ( "O Anuncio para a Guerra da Tocha foi ativado!" ) say ( "" ) end end Share this post Link to post Share on other sites
Ola pessoal alguém pode me ajuda? A guerra da tocha não inicia >>> é a configuração do arqueiro da praça! pasta 11001/chat
Share this post
Link to post
Share on other sites