antiblock
diamwall
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
[SA]Phoenix

Quest Pedra Iris Funcional

1 post in this topic

quest regenbogen begin
	state start begin
		when 50512.use begin
			local data = 
			{
				--Guerreiro--
				[0] = {
					[1] = {1,2,3,4,5},
					[2] = {16,17,18,19,20},
				},
				--Ninja--
				[1] = {
					[1] = {31,32,33,34,35},
					[2] = {46,47,48,49,50},
				},
				--Sura--
				[2] = {
					[1] = {76,77,78,79,80,81},
					[2] = {61,62,63,64,65,66},
				},
				--Shaman--
				[3] = {
					[1] = {106,107,108,109,110,111},
					[2] = {91,92,93,94,95,96},
				},
				["classNames"] = {
					[0] = {"Luta Corpo","Luta Mental","Fechar"},
					[1] = {"Arte Furtiva","Arte do Arco","Fechar"},
					[2] = {"Luta de Armas","Magia Negra","Fechar"},
					[3] = {"Energia","Força Dragão","Fechar"},
				},
			}
			say_title("Pedra Arco Iris:")
			say("")
			say("Escolhe tua classe")
			local s = select_table(data["classNames"][pc.get_job()])
			if(s >= table.getn(data["classNames"][pc.get_job()])) then
				return
			end
			pc.set_skill_group(s)
			for i = 1,table.getn(data[pc.get_job()][s]),1 do
				pc.set_skill_level(data[pc.get_job()][s][i],59)
			end
			pc.remove_item(50512,1)
			say("Recebeste as tuas skills a P.. ")
		end
	end
end

Boas Comunidade venho postar aqui uma quest que fiz da pedra iris funcional 

Edited by [SA]Phoenix (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