Just do this.
Index: java/net/sf/l2j/gameserver/model/item/kind/Item.java
===================================================================
--- java/net/sf/l2j/gameserver/model/item/kind/Item.java (revision 2)
+++ java/net/sf/l2j/gameserver/model/item/kind/Item.java (working copy)
@@ -477,7 +477,7 @@
public boolean checkCondition(L2Character activeChar, L2Object target, boolean sendMessage)
{
// Don't allow hero equipment and restricted items during Olympiad
- if ((isOlyRestrictedItem() || isHeroItem()) && ((activeChar instanceof L2PcInstance) && activeChar.getActingPlayer().isInOlympiadMode()))
+ if ((isOlyRestrictedItem() || isOlyRestrictedItemByGrade() || isHeroItem()) && ((activeChar instanceof L2PcInstance) && activeChar.getActingPlayer().isInOlympiadMode()))
{
if (isEquipable())
activeChar.getActingPlayer().sendPacket(SystemMessageId.THIS_ITEM_CANT_BE_EQUIPPED_FOR_THE_OLYMPIAD_EVENT);
@@ -550,6 +550,11 @@
return _isOlyRestricted;
}
+ public boolean isOlyRestrictedItemByGrade()
+ {
+ return (getCrystalType() == CrystalType.S);
+ }
+
public boolean isPetItem()
{
return (getItemType() == ArmorType.PET || getItemType() == WeaponType.PET);