Lemke

Member
Yo!I found this code to get skills trespassing the cap,but didnt see the stats anywhere,someone knows that?
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);
            }
        }
 
EDIT/FIXED.

In playermobile,we got the
C#:
public override int Str
Just need to change statcap to any number you want.
Thank you!
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back