Jump to content

Limitation of items in Olympiad


Recommended Posts

  • 2 months later...
On 1/23/2022 at 12:45 AM, Kusaty said:

Hello everyone, I wanted to know if anyone knows a way to limit the items with which you can go to the Olympics?

Use L2JFrozen. Interlude

Not all packs have this but theres a config option to allow only specific items to be used during olympiad. Its been part of l2jserver since 10 years or so ago. 

Link to comment
Share on other sites

On 1/23/2022 at 12:45 AM, Kusaty said:

Use L2JFrozen. Interlude

 

why

 

UseItem.java -> if (item.getItemId() == YOUR_ID && player.isInOlympiadMode()) return;, or you can use unhardcoded condition in item xml if l2jfrozen support such feature, check potions xml to see how they restrict it in olympiad.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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