lyricdear

Citizen
If it doesn't exist in the Config folder, then it likely isn't a config. ;)
It's better not to rely on configs anyhow, as they often are superseded by the script itself anyhow. They have to match to 100% guarantee they work.

At least to my understanding.
 
If it doesn't exist in the Config folder, then it likely isn't a config. ;)
It's better not to rely on configs anyhow, as they often are superseded by the script itself anyhow. They have to match to 100% guarantee they work.

At least to my understanding.
Ah i was taking the opposite approach of leave the code alone if there's a config. I'll keep your advice in mind moving forward. Thanks.
 

Evanonian

Citizen
I found this article and I'm confident I can make the updates, but wanted to make sure I'm not coding something that already has a config value.
I'm new to ServUO and I just figured out that some values can be changed in the .cfg and not the .cs file itself. A lot less hard coding needed, I like it. lol
However, to answer your question, incase you didn't know. ..

In SkillCheck.cs I changed this
Code:
if (toGain == 1 && skill.Base <= 10.0)
     toGain = Utility.Random(4) + 1;

to this
Code:
if (skill.Base <= 120)
   toGain = Utility.Random(4) + 20;

Setting it to + 20 makes every skill gain 2% where as setting it to 100 makes every skill gain 100%

Hope that helps! :)