Jump to content

Question

Posted

Hey guys, I created a Newbie Zone on my Interlude Server and have multiple mobs inside the specific zone and wanted to know how to disable the Provoke Skill inside that zone so people can not colllect multiple nearby mobs. Where should I look into exactly?

3 answers to this question

Recommended Posts

  • 0
Posted

Are you sure this is a good approach? People could collect mobs in other ways. Maybe make them lose aggro/return to spawn after 200 units or something.

 

Anyway, if you really want to disable provoke, one way is the following (example for l2jmobius):

In the java file that handles your custom zone, inside the onEnter(..) method, call "disableSkill(Skill skill, long delay)". Then you do the opposite inside onExit(..) -> enableSkill(Skill skill)

  • 0
Posted

I would like the Provoke skill not to be affecting multiple mobs just in the Newbie Zone(exp zone), so the exp is equal for everyone, not exactly deleting it 

  • 0
Posted

Then the approach i suggested should work, because every time the player exits the newbie zone, the provoke skill is enabled again. Try and let me know 🙂

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