Can stats trespass the statcap limit when they are in item props?

Lemke

Well-Known Member
Sep 26, 2015
66
5
37
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);
            }
        }
 

Lemke

Well-Known Member
Sep 26, 2015
66
5
37
EDIT/FIXED.

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