Jump to content

Question

Posted

Hi community...

 

I was looking for a code that you flag when you hit a specific mob, any1 know how i can make it?

 

L2jFrozen last rev.

3 answers to this question

Recommended Posts

  • 0
Posted

Create a script with onAttack event, put ids on addAttackId, and the core of onAttack method is copy pasta from pvpflag.

 

Read any script with onAttack. If you want to use python or if L2JFrozen only uses python, search any script with attack mobs (all GBs got it because of timeout timer).

  • 0
Posted

Create a script with onAttack event, put ids on addAttackId, and the core of onAttack method is copy pasta from pvpflag.

 

Read any script with onAttack. If you want to use python or if L2JFrozen only uses python, search any script with attack mobs (all GBs got it because of timeout timer).

TBH on frozen he'd better make an if check for the id of the mob he attacks on L2NPC rather that scripting.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   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.



×
×
  • Create New...