Step 1.
Open items.h
Add new variables:
Code
#define NECKLACE_CHARGES_VIP 8 // Quantity of charges for "Necklace"
#define HELM_CHARGES_VIP 6 // Quantity of charges for "Helms"
Screen:
Step 2.
Open items.inl
Replace code for "Necklace":
Code
g_iNecklaceCharges[idUser] += NECKLACE_CHARGES;
on
Code
if((get_user_flags(idUser) & ADMIN_LEVEL_H))
g_iNecklaceCharges[idUser] += NECKLACE_CHARGES_VIP;
else
g_iNecklaceCharges[idUser] += NECKLACE_CHARGES;
Screen:
Step 3.
Open items.inl
Replace code for "Helms":
Code
g_iHelmCharges[idUser] += HELM_CHARGES;
on
Code
if((get_user_flags(idUser) & ADMIN_LEVEL_H))
g_iHelmCharges[idUser] += HELM_CHARGES_VIP;
else
g_iHelmCharges[idUser] += HELM_CHARGES;
Screen: