Jump to content

Auto cabo por Quest


Shiindrex

Recommended Posts

Hola metin2zone :P

 

Les traigo una quest de epvp, que al utilizar el item los mobs vendran hasta que desactives el item o hasta que te quedes con poca vida.

quest auto_cabo begin	state start begin		when login with pc.getqf("pull")==1 begin			pc.setqf("pull", 0)				end		when 70103.use begin	--Aca se cambia el ID del item			if pc.getqf("pull")==0 then				chat("Auto-Cabo activado!")				loop_timer("pull_it", 30)	--Aca se ajusta el tiempo				pc.setqf("pull", 1)			elseif pc.getqf("pull")==1 then				chat("Auto-Cabo desactivado!")				cleartimer("pull_it")				pc.setqf("pull", 0)			end		end		when pull_it.timer with pc.getqf("pull")==1 begin			if pc.get_hp()/pc.get_max_hp() >= 0.5 then				pc.aggregate_monster()			end		end	endend

Para que funcione, el Type del item debe ser 18, para que pueda ser activado por la quest.

 

Saludos!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...