Yo!I found this code to get skills trespassing the cap,but didnt see the stats anywhere,someone knows that?
Thanks in advance!
Thanks in advance!
C#:
public void AddTo(Mobile m)
{
Remove();
for (int i = 0; i < 5; ++i)
{
SkillName skill;
double bonus;
if (!GetValues(i, out skill, out bonus))
continue;
if (m_Mods == null)
m_Mods = new List<SkillMod>();
SkillMod sk = new DefaultSkillMod(skill, true, bonus);
sk.ObeyCap = false;
m.AddSkillMod(sk);
m_Mods.Add(sk);
}
}