Skip to content

Disabling Provoke Skill inside a Zone

Featured Replies

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?

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)

  • Author

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 

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 🙂

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.