PirateStedeBonnet
Member
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.
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.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.
That's what I ended up doing. Haven't tested it yet.I'm on PUB 54 so this may not work for you. but in the file SkillCheck.cs I can change the timers.
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. lolI 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.
if (toGain == 1 && skill.Base <= 10.0)
toGain = Utility.Random(4) + 1;
if (skill.Base <= 120)
toGain = Utility.Random(4) + 20;
We use essential cookies to make this site work, and optional cookies to enhance your experience.