antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
TMS SERVICES

[QUEST] Reiniciar Atributos

1 post in this topic

Boas comunidade,

Deixo aqui uma quest feita por mim com a função de reiniciar todos os atributos.

 

 

quest reiniciar_pontos begin
    state start begin
        when 20095.chat."Reiniciar Atributos" begin
            say_title("Sábio:")
            say("Desejas reiniciar todos os atributos?")
            say("")
            local s = select("Sim","Sair")
            if s == 1 then
            pc.reset_point()
			warp_to_village()
            elseif s == 2 then
            return
            end
        end
    end
end

 

PS: Após reiniciar os atributos o jogador é teleportado para a primeira cidade do seu reino.

Edited by TMS SERVICES (see edit history)

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

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