L2JMobius

High Five Accessory Type Life Stone on Armors

WereWoofer · 2 · 370

Offline WereWoofer

  • Heir
  • **
    • Posts: 25
I want to Augment Amors pieces the same way as Jewels.
On
/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/AbstractRefinePacket.java

I added
Code: [Select]
case ItemTemplate.SLOT_CHEST:
case ItemTemplate.SLOT_GLOVES:
case ItemTemplate.SLOT_FEET:
case ItemTemplate.SLOT_HEAD:
case ItemTemplate.SLOT_FULL_ARMOR:
case ItemTemplate.SLOT_LEGS:
case ItemTemplate.SLOT_BACK:
case ItemTemplate.SLOT_BELT:
case ItemTemplate.SLOT_UNDERWEAR:
case ItemTemplate.SLOT_L_BRACELET:
case ItemTemplate.SLOT_R_BRACELET:
case ItemTemplate.SLOT_HAIR:
case ItemTemplate.SLOT_HAIR2:
case ItemTemplate.SLOT_HAIRALL:

Now i can use Accessory Type Life Stone on any of these pieces BUT...

It always gives on the database item_attributes augAttributes = 0.
Error = AugmentationStatBonus: Couldn't find option: 0

In jewels it works 100% normal but in any other armor type i get this error...

When i add the augAttributes values direct in the database it works 100% right...

Someone knows how i fix it?


Offline WereWoofer

  • Heir
  • **
    • Posts: 25
I want to Augment Amors pieces the same way as Jewels.
On
/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/AbstractRefinePacket.java

I added
Code: [Select]
case ItemTemplate.SLOT_CHEST:
case ItemTemplate.SLOT_GLOVES:
case ItemTemplate.SLOT_FEET:
case ItemTemplate.SLOT_HEAD:
case ItemTemplate.SLOT_FULL_ARMOR:
case ItemTemplate.SLOT_LEGS:
case ItemTemplate.SLOT_BACK:
case ItemTemplate.SLOT_BELT:
case ItemTemplate.SLOT_UNDERWEAR:
case ItemTemplate.SLOT_L_BRACELET:
case ItemTemplate.SLOT_R_BRACELET:
case ItemTemplate.SLOT_HAIR:
case ItemTemplate.SLOT_HAIR2:
case ItemTemplate.SLOT_HAIRALL:

Now i can use Accessory Type Life Stone on any of these pieces BUT...

It always gives on the database item_attributes augAttributes = 0.
Error = AugmentationStatBonus: Couldn't find option: 0

In jewels it works 100% normal but in any other armor type i get this error...

When i add the augAttributes values direct in the database it works 100% right...

Someone knows how i fix it?

up?? no one can give me ideas on how to fix it?