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.

  • 0
Posted

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

 

Could be true for any script && quest then ;)

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock