markdwags / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
https://www.razorce.com
GNU General Public License v3.0
139 stars 96 forks source link

Script Set Skill Locked/Raise/Lower [FEATURE] #100

Open HankTheDrunk opened 4 years ago

HankTheDrunk commented 4 years ago

Requesting script language support to Lock skill, raise skill and lower skill.

Is your feature request related to a problem? Please describe. Not all characters use maximum skills and as razor is used to macro things like skill gains the ability to lock skills or lower/raise skills can solve the problem of over skilling or under skilling.

Describe the solution you'd like setskill 'skill name' 'up/down/locked'

markdwags commented 4 years ago

Interesting, I assume this would be for macroing a skill up? Seems like a fail-safe to something like which would also prevent you from under/over skilling.

if skill 'name' < 60.0
  skill 'name'
endif
HankTheDrunk commented 4 years ago

Not all skills are able to be stopped in the example you gave. For example let's say I wanted 70 anatomy but I want 100 weapon skill and or 100 healing.

I'd passively gain anatomy through weapon skill and healing so it would continue to go up. Unless being able to raise/lower/lock skills was added.

haveabyte commented 1 year ago

found this thread looking for way to lock skill when it hits a certain target, up or down, i.e.:

if (skill 'Evaluating Intelligence' >= 66.6) { lock_skill 'Evaluating Intelligence' }