antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
uchiaitachisan21

Pedido quest militar

Question

Boa noite amigos.

Alguem possui uma quest em que consista em matar x de mobs e receber nivel + manual de militar?

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0
3 horas atrás, uchiaitachisan21 disse:

Boa noite amigos.

Alguem possui uma quest em que consista em matar x de mobs e receber nivel + manual de militar?

 Boas, algo assim?

quest militar1 begin
	state start begin
		when [ID].kill begin
			local count = pc.getqf("mob_count") + 1
			if count < [NumeroTotal] then
				pc.setqf("mob_count", count)
				q.set_counter("[Nome]", count)			
			end
			if count >= [NumeroTotal] then
				say_title("Parabéns!")
				say_desc("Completaste a missão")
				say_reward("Recebeste: Nível X")
				say_reward("Recebeste: Manual Militar")
				pc.give_exp2([Experiencia_Necessaria])
				pc . give_item2 ( "[ID_Manual]" , 1 )
				clear_letter()
			end
		end
	end
end

 

Share this post


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

quest militar1 begin
	state start begin
		when 1091.kill begin
			local count = pc.getqf("mob_count") + 1
			if count < 1 then
				pc.setqf("mob_count", count)
				q.set_counter("Ceifador", count)			
			end
			if count >= 1 then
				say_title("Parabéns!")
				say_desc("Completaste a missão")
				say_reward("Recebeste: Cavalo nivel 21")
				say_reward("Recebeste: Manual Militar")
				pc.give_exp2(999)
				pc . give_item2 ( "[ID_ManualXXXX]" , 1 )
				clear_letter()
			end
		end
	end
end

 

É assim que fica amigo?

Share this post


Link to post
Share on other sites
  • 0
32 minutos atrás, uchiaitachisan21 disse:

É assim que fica amigo?

Pelo que percebi, o que queres é o nível do cavalo e não do jogador, altera:

				pc.give_exp2(999)
				pc . give_item2 ( "[ID_ManualXXXX]" , 1 )
				clear_letter()

Para:

		horse . advance ( )
                pc . give_item2 ( "[EscreveAquiOID]" , 1 )
                clear_letter()

 

Share this post


Link to post
Share on other sites
  • 0
Citar

quest militar1 begin
    state start begin
        when 1091.kill begin
            local count = pc.getqf("mob_count") + 1
            if count < 1 then
                pc.setqf("mob_count", count)
                q.set_counter("Ceifador", count)            
            end
            if count >= 1 then
                say_title("Parabéns!")
                say_desc("Completaste a missão")
                say_reward("Recebeste: Cavalo nivel 21")
                say_reward("Recebeste: Manual Militar")
                horse . advance ( 21 )
                           pc . give_item2 ( "50053" , 1 )
                        clear_letter()
            end
        end
    end
end

coloquei a quest assim e da erro

Citar

QUEST : militar1
STATE : start
WHEN  : 1091.kill
Calls undeclared function! :
say_desc
Abort (core dumped)

 

 

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