antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More

Archived

This topic is now archived and is closed to further replies.

  • 0
YonN

Correçao de Quest

Question

Boa Noite faz um tempao que nao posto mais nada.....

Estou para por essa quest claro que so puis poucas falas porem preciso corrigir pois seis que tem muitos erros....

Gostaria deu uma correçao pois tenho certeza que ira bugar kkk
 

quest quest_inicial begin
    state start begin
	when login or levelup with pc.level >= 1 begin 
	set_state(gotoinformation)
    end
    end
    state gotoinformation begin
	when letter begin
                        send_letter("Boas Vindas")
						end
	when button or info begin						
	say_title("Bem-vindo ao Dinasty")						
	say("")
						say("As aventuras no Dinasty estão preste a começar.")
	wait()
	say_title("Informacao sobre sua Classe")			
		if pc.job == 0 then	
						say("Os Guerreiros sao personagens especialista em combate de")
	
		elseif pc.job == 1 then
						say("Os Ninjas sao os mestres da camuflagem, de ataques")

		elseif pc.job == 2 then
						say("Os Shuras sao guerreiros que podem utilizar forças magicas")						
		elseif pc.job == 3 then
						say("Os Shamans sao sabios que possuem plenos conhecimentos")
					
		elseif pc.job == 4 then
						say("Os Lycans sao formidaveis lobos que foram infectados com")
		wait()
		if pc.job == 4 then
						say_title("Renascimento de um Lycan")
						say("Hey voçe acordou e se sente estranho, olhe bem")
						end
                        clear_letter()
                        set_state(__COMPLETE__) 
                end
        end
        state __COMPLETE__ begin
        end
end			
\\Code Lua Corrigido\\ Funcional !!!
quest quest_inicial begin
    state start begin
	when login or levelup with pc.level >= 1 begin 
	set_state(gotoinformation)
    end
    end
    state gotoinformation begin
	when letter begin
                        send_letter("Boas Vindas")
						end
	when button or info begin						
	say_title("Bem-vindo ao Dinasty")						
	say("")			
		if pc.job == 0 then	
						say("As aventuras no Dinasty estão preste a começar.")
						wait()
						say_title("Informacao sobre sua Classe")
		elseif pc.job == 1 then
						say("As aventuras no Dinasty estão preste a começar.")
						wait()
						say_title("Informacao sobre sua Classe")
		elseif pc.job == 2 then
						wait()
						say_title("Informacao sobre sua Classe")
		elseif pc.job == 3 then
						say("As aventuras no Dinasty estão preste a começar.")
						wait()
						say_title("Informacao sobre sua Classe")
		elseif pc.job == 4 then
						say("As aventuras no Dinasty estão preste a começar.")
						wait()
						say_title("Informacao sobre sua Classe")
						say("")
		                wait()
						say_title("Renascimento de um Lycan")
						end
                        clear_letter()
                        set_state(__COMPLETE__) 
                end
        end
        state __COMPLETE__ begin
        end
end						
		

 

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet