antiblock
Elveron
  • Chatbox

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

[Quest] Iniciar Com Nível E Item's

3 posts in this topic

Boas comunidade,

 

Não sei se esta quest já se encontra aqui e peço que se já tiver sido postada que eliminem este tópico.

 

É uma Quest simples e fácil de editar.

 

Deixo o link de Download em baixo.

 

Alguma dúvida perguntem.

 

Cumprimentos.

 

Chave de Descodificação: !KSWKldelJwtV_1tNZ7eW7Ftit0J-hSol-hmeh2mM9j4

Download: https://mega.nz/#!gk1mgYjZ

 

 

 

 

 

Share this post


Link to post
Share on other sites
antiblock
diamwall

Para os cansados.

 

-- Quest Iniciar com Items/Level by TrusT @World Of Sapphire
quest iniciar begin
	state start begin
		when login with pc.getqf("inicio") == 0 begin
			pc.setqf("inicio","1")
		notice_all ("O jogador "..pc.get_name().." iniciou a sua aventura no ......")
			if pc.job == 0 then -- Guerreiro
			pc.give_item2(189)
			pc.give_item2(11299)
			pc.give_item2(14209)
			pc.give_item2(16209)
			pc.give_item2(17109)
			pc.give_item2(15089)
			pc.give_item2(12249)
			pc.give_item2(13069)
			pc.give_item2(72702)
			pc.give_item2(27105,200)
			pc.give_item2(27102,200)
		
			elseif pc.job == 1 then -- Ninja
			pc.give_item2(189)
			pc.give_item2(11499)
			pc.give_item2(14209)
			pc.give_item2(16209)
			pc.give_item2(17169)
			pc.give_item2(15089)
			pc.give_item2(12389)
			pc.give_item2(13089)
			pc.give_item2(72702)
			pc.give_item2(27105,200)
			pc.give_item2(27102,200)
		
			elseif pc.job == 2 then -- Sura
			pc.give_item2(189)
			pc.give_item2(11699)
			pc.give_item2(14209)
			pc.give_item2(16209)
			pc.give_item2(17209)
			pc.give_item2(15089)
			pc.give_item2(12529)
			pc.give_item2(13109)
			pc.give_item2(72702)
			pc.give_item2(27105,200)
			pc.give_item2(27102,200)
		
			elseif pc.job == 3 then -- Shaman
			pc.give_item2(5129)
			pc.give_item2(11899)
			pc.give_item2(14209)
			pc.give_item2(16209)
			pc.give_item2(17209)
			pc.give_item2(15089)
			pc.give_item2(12669)
			pc.give_item2(13129)
			pc.give_item2(72702)
			pc.give_item2(27105,200)
			pc.give_item2(27102,200)
		end
		while pc.get_level() < 5 do
			pc.give_exp2(pc.get_next_exp())
		end
	end
end
end

Share this post


Link to post
Share on other sites

No valor do qf não é aconselhável por entre " "

 

na função notice_all poderias usar um String.format, para dar um outro "ar"

 

pq usas um While para por um char a lv 5 se podes usar logo pc.set_level

 

De Resto Continuação de uma boa Tarde

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