antiblock
Rodnia | Alpha & Omega
  • Chatbox

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

Quest [Pvp]

2 posts in this topic

Olá pessoal.

 

Estou aqui hoje a procura de uma quest PVP que funciona da seguinte maneira:

 

Ganhar item  por cada vez que matar  outros players tipo uma perola por exemplo.

 

E também se tiver como fazer com que o evento seja ativado pelo GM  em algum NPC e aparecer tipo uma noticia no chat quando o evento for ligado e desligado.

'' O evento:Temporada PVP começou , é hora da matança seja um herói e derrote todos!''

''O evento: Temporada PVP terminou , mais sorte na proxima''

 

Seria interessante uma quest assim para um evento PVP especial

Alguem tem ou consegue fazer para mim ^^

 

 

 

Share this post


Link to post
Share on other sites
antiblock
diamwall

fiz de cabeça penso que funcione

quest soltasom begin
	state start begin
		function recompensas()
			return {27992,27993,27994,11299,11699,11499,11899,72001}
		end
		when kill with npc.is_pc() and game.get_event_flag("Evento") == 1 begin
			local recompensas = soltasom.recompensas()
			pc.give_item2(recompensas,1)
	    end
		when 9003.chat."Ativar o Evento " begin
			if game.get_event_flag("Evento") == 1
				game.set_event_flag("Evento",0)
				notice_all("Evento Desativado")
			end
			elseif game.get_event_flag("Evento") == 0
				game.set_event_flag("Evento",1)
				notice_all("Evento ativado")
			end
		end
			
	end
end

Share this post


Link to post
Share on other sites
Sign in to follow this