Official ScriptUO EasyUO Scripts > UOMaddogs' Script Library

Maddog's Skill Locker

(1/1)

UOMaddog:
PURPOSE:
To automatically lock skills when they reach a certain level.

INSTRUCTIONS:
1. Hit Play!
2. Select up to 3 skills and specify a threshold when the skill will be locked
3. Press Watch Skills
4. If you need to change skills or thresholds, click Pause, change the skills/thresholds and then press Watch Skills
5. Enjoy!

VERSION HISTORY:
Version 1.0
- First public release

Please Note:
- Skill threshold CAN NOT contain periods (decimal places). Please enter it like...
     - 100.0 would be 1000
     - 75.0 would be 750
     - etc

Fabolous1:
Doesn't support going down in skill. For example, if my template is maxed and I want to reduce to 99 necromancy it locks at 99.5 instead of 99.0 with 990 in the field.

UOMaddog:
Correct, it will only do it if skill >= to cap.

You COULD alter the script on line 72 from:

if ( ( #skill >= %2 ) && ( #skilllock <> locked ) )

to:

if ( ( #skill = %2 ) && ( #skilllock <> locked ) )

but the risk of doing that is if it SKIPS the exact number, (like if a skill goes up 0.4 and forces your other skill down 0.4) then it won't lock!

Navigation

[0] Message Index

Go to full version