I've changed the stat scrolls a bit so you can get 450 max stat cap but it took away the cool description in the scroll and now its just a dull "stat scroll 450" type of description.
I need help understanding this code so I can bring back the descriptors. My stat scrolls go up in 10's so 410, 420, 430, 440, 450. I did it this way to get the scrollbinderdeed to work too so it can raise the scroll by 10.
This is the code I think affects it.
I'm not sure if this matters but I set the starting stat cap to 375 and max individual cap to 150.

Oh the stat scrolls add onto the stat cap not set the stat cap... lol
I need help understanding this code so I can bring back the descriptors. My stat scrolls go up in 10's so 410, 420, 430, 440, 450. I did it this way to get the scrollbinderdeed to work too so it can raise the scroll by 10.
This is the code I think affects it.
C#:
int level = ((int)Value - (m_StatCap+5)) / 5;
if (level >= 0 && level <= 4 && Value % 600 == 0)
return 1049458 + level; /* Wonderous Scroll (+5 Maximum Stats): OR
* Exalted Scroll (+10 Maximum Stats): OR
* Mythical Scroll (+15 Maximum Stats): OR
* Legendary Scroll (+20 Maximum Stats): OR
* Ultimate Scroll (+25 Maximum Stats): */
return 0;
I'm not sure if this matters but I set the starting stat cap to 375 and max individual cap to 150.

Post automatically merged:
Oh the stat scrolls add onto the stat cap not set the stat cap... lol
Last edited: