Jump to content

Quest Anillo Anti exp


Rafa23Alzira

Mensajes recomendados

Hola chicos y chicas os dejo esta quest que hace que perdamos toda nuestra exp, sirve para metineros y eso mas que nada.

Cuando se usa el anillo se queda igual.

La quest es de los files oyunu, solo esta traducida así que los créditos para los creadores de esos files.

quest anti begin
    state start begin
	    when 72501.use begin
	    if pc.getqf("antiexp") == 0 then
		    pc.setqf("antiexp", 1)
		    chat("Anti EXP usado, espere un tiempo para volver a usarlo!")
		    local ep = pc.get_exp()
		    pc.give_exp2(-ep)
		    timer("AntiEXP", 2)
	    elseif pc.getqf("antiexp") == 1 then
		    pc.setqf("antiexp", 0)
		    chat("Anti EXP Desactivado.")
		    end
	    end   
				   
	    when erfahrung.timer with pc.getqf("antiexp") == 1 begin
		    local ep = pc.get_exp()
		    pc.give_exp2(-ep)
		    timer("erfahrung1", 3)
		    pc.setqf("antiexp", 1)
	    end   
		   
	    when erfahrung1.timer with pc.getqf("antiexp") == 1 begin
		    local ep = pc.get_exp()
		    pc.give_exp2(-ep)
		    timer("erfahrung", 3)
		    pc.setqf("antiexp", 1)		   
	    end
    end
end 
Enlace para comentar
Compartir en otros sitios

Aqui la teneis arreglada ^^

 

quest anti begin
	state start begin
		when 72501.use begin
		if pc.getqf("antiexp") == 0 then
			pc.setqf("antiexp", 1)
			chat("Anti EXP usado, espere un tiempo para volver a usarlo!")
			local ep = pc.get_exp()
			pc.give_exp2(-ep)
			timer("AntiEXP", 2)
		elseif pc.getqf("antiexp") == 1 then
			pc.setqf("antiexp", 0)
			chat("Anti EXP Desactivado.")
			end
		end  
				  
		when AntiEXP.timer with pc.getqf("antiexp") == 1 begin
			local ep = pc.get_exp()
			pc.give_exp2(-ep)
			timer("AntiEXP2", 3)
			pc.setqf("antiexp", 1)
		end  
		  
		when AntiEXP2.timer with pc.getqf("antiexp") == 1 begin
			local ep = pc.get_exp()
			pc.give_exp2(-ep)
			timer("AntiEXP", 3)
			pc.setqf("antiexp", 1)		  
		end
	end
end
Enlace para comentar
Compartir en otros sitios

  • 1 month later...

esa quest no es buena con el timer

mejor es solo con la qf. y con kill asi

quest anti begin
state start begin
  when kill with pc.getqf("exp_b")==1 and not npc.is_pc() begin
   if pc.get_exp()>10000 then
	pc.give_exp2(-pc.get_exp())
   end
  end
  when 72501.use with pc.getqf("exp_b")==0 begin
   chat("anti exp usado")
   pc.setqf("exp_b", 1)  
  end
  when 72501.use with pc.getqf("exp_b")==1 begin
   chat("anti exp deactivado")
   pc.setqf("exp_b", 0)
  end
end
end
Enlace para comentar
Compartir en otros sitios

  • 2 years later...

Unirse a la conversación

Puedes publicar ahora y registrarte más tarde. Si tienes una cuenta, regístrate para publicar con su cuenta.

Guest
Responder a este tema...

×   Has pegado contenido con formato .   Eliminar formato

  Only 75 emoji are allowed.

×   Tu enlace se ha incorporado automáticamente.   Mostrar un enlace en su lugar

×   Se ha restaurado el contenido anterior. .   Borrar editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...