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 97 forks source link

[FEATURE] Razor scripting engine expression to detect combat mode #169

Closed comiluv closed 2 years ago

comiluv commented 3 years ago

All feature requests will be considered, but not all will be implemented but please don't let that discourage you from submitting more.

Is your feature request related to a problem? Please describe. Scripting can be improved if the program can detect the player's combat mode.

Describe the solution you'd like For example the player would write a script,

target next nonfriendly
if combatmode
  attack lasttarget
endif

This would make the script to attack when the player chooses to, and not if the player doesn't want that

Describe alternatives you've considered

Additional context

markdwags commented 2 years ago

warmode was added in https://github.com/markdwags/Razor/commit/b06575992c0caff2155280bc1d3350112928c618