L2JMobius

Free Users => General Discussion => Topic started by: WereWoofer on March 12, 2024, 06:30:55 AM

Title: Accessory Type Life Stone on Armors
Post by: WereWoofer on March 12, 2024, 06:30:55 AM
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?
Title: Re: Accessory Type Life Stone on Armors
Post by: WereWoofer on March 31, 2024, 11:43:00 PM
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?