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.

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


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..