Bug set_auto_attack(int) doesn't accept combat macros

hordak

New member
When supplied an integer (as produced by get_auto_attack()) matching a combat macro, set_auto_attack() outputs a green text "That skill couldn't be found." on the CLI and doesn't set the autoattack.

The same behavior occurs with at least some special skills. I tried various skills and while normal skills worked, the lovebug and source terminal skills produced "That skill couldn't be found."

The string version of set_auto_attack() works with macros, as does using cli_execute() with "/aa ", but there doesn't appear to be a matching string version of get_auto_attack() to retrieve the name of the current autoattack with.

This is on version v17.6 r18094.
 
Top