Code: Select all
function onEquip(mChar, ourObj)
{
mChar.skills.hiding=(mChar.skills.hiding + 10);
mChar.skills.stealth=(mChar.skills.stealth + 10);
}
function onUnEquip(mChar, ourObj)
{
mChar.skills.hiding=(mChar.skills.hiding -10);
mChar.skills.stealth=(mChar.skills.stealth -10);
}
When I put the armor on, the hiding and stealth is increased by 1; however,
nothing happens when the armor is removed.
Is this a UOx3 bug, or am I no using the script properly? Thanks.