Nabolas
Member
- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
Using the following LockpickTrainer.cs script for players to easily gain lockpicking and remove trap. However for some reason that I can't figure out players can only gain up to 64.1 in both skills. I have checked that players are not even close to the skill caps.
LockpickTrainer.cs:
if (Utility.RandomDouble() < 0.5)
{
Locked = false;
from.SendMessage("You successfully lockpicked the chest!");
if (from.Skills[SkillName.Lockpicking].Value < from.Skills[SkillName.Lockpicking].Cap)
{
from.Skills[SkillName.Lockpicking].Base += 0.1;
}
}