ServUO Version
Publish Unknown
Ultima Expansion
None
Anyone know where this value is set or stored or messed with in any way, it's got my head battered ;)

When i reset ALL skills to 0 (Zero), this "skill.Value" just will NOT go to zero.

Skills skills = from.Skills;

AddLabel(170, 598, 67, skills[1].Cap.ToString("F1")); <<< Gets the skill caps fine

AddLabel(170, 618, 67, skills[1].Value.ToString("F1")); <<< This just seems to default to a value of 20 and not zero ???

AddLabelCropped(460, 163 + (index * 20), 234, 21, 52, skill.Base.ToString("F1")); <<< Gets the skill base fine.

I've spent all day trying to figure this one out, can't force it to zero as its a read only amount ???

problem1.jpg

The Anatomy points are coming off a bracelet with +10 Anatomy, theres no skill points in anatomy on the character.
My work around was "if (skill.Value > 20)" then do a fix, the rest i have to do still.

Animal Lore, the character has 10 skill points and also +11 off the bracelet, 10+11=21... that bit worked.

Just not getting it, any ideas ?
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back