Bug fix? /aa act ${variable}

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

buttmunch
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sat Apr 18, 2009 4:19 pm

Bug fix? /aa act ${variable}

Post by buttmunch » Sat Apr 18, 2009 4:35 pm

I noticed that /aa act ${variable} doesn't work. That is, typing this works:

Code: Select all

/aa act Entrap
But this does not:

Code: Select all

/declare spellName string local Entrap
/aa act ${spellName}
This is because the /aa command doesn't parse its parameters. I couldn't see any reason that it shouldn't, so this can be fixed in the code by enabling parsing on the command. Change MQ2CommandAPI.cpp, line 552...

From:

Code: Select all

{"/aa",         AltAbility,0,1},
To:

Code: Select all

{"/aa",         AltAbility,1,1},