This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Evasion avoidance macro
Post Reply
Return to board index
Post by
silkfire
Okay I got a macro which tell me my avoidance chance (Dodge + Parry %) and I've linked it to Evasion, but it reacts too fast:
#showtooltip Evasion
/cast Evasion
/run DEFAULT_CHAT_FRAME:AddMessage(string.format("Avoidance: %s",floor((GetDodgeChance()+GetParryChance())*100+0.5)/100).."%")
This activates Evasion plus gives me a note in chat how big my avoidance chance is, for example:
Avoidance: 32.46%
But it shows the text as if I haven't activated Evasion. Running the macro directly again shows it updated.
Anyone knows how I can fix this, I mean I put the script code after Evasion so it should read that as if I already have Evasion on.
Post by
CeeKay
try the macro forums, but i'm pretty sure there is no way to do it in one macro.
When writing a macro imagine that when u press the button everything you wrote happens at the exact same time.
Post by
Wildhorn
try the macro forums, but i'm pretty sure there is no way to do it in one macro.
There is a way to do it, with timers, but I think it would make the macro a bit too long to fit into a 255 char macro.
When writing a macro imagine that when u press the button everything you wrote happens at the exact same time.
This is true and false at sametime. This is true for normal macro commands like /cast and such. But for /run you can make stuff to delay (it just will taint your macro and wont allow you to cast spell for example).
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.