Jump to content

[Share] Disable blessed spiritshots (BSS) for olys


RaMMz

Recommended Posts

Ok, BSS are definitely not allowed for olys in the l2 official server, and it seems that l2jserver (l2jofficial) won't fix this, so I'll share this little piece of code that can balance the olys again.

 

Edit *your-server-path*\gameserver\data\scripts\handlers\itemhandlers\BlessedSpiritShot.java

 

Find

(row 48) int itemId = item.getItemId();

 

Add after that

		if (activeChar.isInOlympiadMode())
	{
		activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT));
		return;
	}

 

That should disable BSS for olys, now for Beasts (Pets) do this

 

Edit *your-server-path*\gameserver\data\scripts\handlers\itemhandlers\BeastSpiritShot.java

 

Find

(row 68) short shotConsumption = activePet.getSpiritShotsPerHit();

 

Add after that

		if (activeOwner.isInOlympiadMode() && itemId == 6647)
	{
		activeOwner.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT));
		return;
	}

 

I couldn't test the last (for beast bss), but it should work...

 

Good luck!

Link to comment
Share on other sites

This is the way it should be.. nothing to change in class balance.

i've tried it before and it makes gladi and paladin OP.

Link to comment
Share on other sites

  • 1 year later...

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

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