Author Topic: Maddog's Skill Locker  (Read 5434 times)

0 Members and 1 Guest are viewing this topic.

Offline UOMaddogTopic starter

  • Maddog
  • Moderator
  • *
  • *****
  • Posts: 1625
  • Activity:
    0%
  • Reputation Power: 22
  • UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...
  • Gender: Male
  • Biggest B@D@$$ of the Universe
  • Respect: +165
  • Referrals: 8
    • View Profile
    • Insane UO
Maddog's Skill Locker
« on: December 31, 2012, 10:44:08 AM »
+1
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

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Maddog's Skill Locker v1.0.txt
There are 10 kinds of people in this world: those that understand binary and those that don't!

Windows:  A 64-bit tweak of a 32-bit extension to a 16-bit user interface for an 8-bit operating system based on a 4-bit architecture from a 2-bit company that can't stand 1 bit of competition!

Offline Fabolous1

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • Fabolous1 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Maddog's Skill Locker
« Reply #1 on: April 27, 2020, 12:36:13 PM »
0
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.

Offline UOMaddogTopic starter

  • Maddog
  • Moderator
  • *
  • *****
  • Posts: 1625
  • Activity:
    0%
  • Reputation Power: 22
  • UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...UOMaddog might someday be someone...
  • Gender: Male
  • Biggest B@D@$$ of the Universe
  • Respect: +165
  • Referrals: 8
    • View Profile
    • Insane UO
Re: Maddog's Skill Locker
« Reply #2 on: August 19, 2020, 05:38:32 PM »
0
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!
There are 10 kinds of people in this world: those that understand binary and those that don't!

Windows:  A 64-bit tweak of a 32-bit extension to a 16-bit user interface for an 8-bit operating system based on a 4-bit architecture from a 2-bit company that can't stand 1 bit of competition!

Tags: