i just want to make clear i didn't fix the buff or something im just telling how the item works... just copy the effect of the buff from Onyx and do it by your self idk...
First of all go to XV50 his Tutorial and do it first :

and now do this for the Item:
go to SpecialItem.cs and add this code:
Code:
case 20000:
if (byte.TryParse(packetsplit[9], out byte islot))
{
ItemInstance wearInstance = session.Character.Inventory.LoadBySlotAndType(islot, InventoryType.Equipment);
if(wearInstance != null && (wearInstance.Item.ItemType == ItemType.Specialist) && wearInstance.Plus20Buff == 0)
{
switch (EffectValue)
{
case 1: // Fire Dragon Gem
wearInstance.Plus20Buff = 1;
session.SendPacket(session.Character.GenerateSay($"Your SP has now a new Buff!", 12));
session.Character.Inventory.RemoveItemFromInventory(inv.Id);
break;
case 2: // Ice Dragon Gem
wearInstance.Plus20Buff = 2;
session.SendPacket(session.Character.GenerateSay("Your SP has now a new Buff!", 12));
session.Character.Inventory.RemoveItemFromInventory(inv.Id);
break;
case 3: // Moon Dragon Gem
wearInstance.Plus20Buff = 3;
session.SendPacket(session.Character.GenerateSay("Your SP has now a new Buff!", 12));
session.Character.Inventory.RemoveItemFromInventory(inv.Id);
break;
case 4: // Sky Dragon Gem
wearInstance.Plus20Buff = 4;
session.SendPacket(session.Character.GenerateSay("Your SP has now a new Buff!", 12));
session.Character.Inventory.RemoveItemFromInventory(inv.Id);
break;
default:
break;
}
}
}
break;
CTRL+F the name of the item or the Vnum idk which it was
go to Effect do it by all 4 Item on 20000
then go to EffectType do
1 = Fire Buff
2 = Ice Buff
3 = Moon Buff
4 = Sky Buff
and to remove the Item Buff when its in Card holder go to BoxItem.cs
Search for:
Code:
specialist.SlDamage = box.SlDamage;
Code:
specialist.Plus20Buff = 0;









