View Full Forums : Macro Help (can it be done?)
02-11-2008, 06:40 PM
Ok so I have my "BearWall Macro"
/use Badge of Tenacity
/use Moroe's Lucky Pocket Watch
/y BearWall Activated
Now my question... Is there any way possible to program the macro to list what my current Dodge % is at once both trinkets are activated?
If not, no worries.
02-11-2008, 07:15 PM
You can see it on your character sheet. if you want to output your current dodge, it can be done. Let me look around...
02-11-2008, 07:19 PM
Maybe with this (untested)...
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance(),1,0 .5,0)??
02-11-2008, 08:46 PM
Ok, now to further show my n00b-ness.
How in the heck do I program that into the macro I'm using above?
/y BearWall™ Activated. /script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance(),1,0 .5,0)?? Dodge for 10 Seconds.
Won't work will it?
Basically, I want it to yell out "BearWall™ Activated. 50.64% Dodge for 10 Seconds."
That make sense?
WTB Macro Making Brain. PST.
02-12-2008, 07:45 AM
Untested on this fine maintenance morning, but try this:
/script SendChatMessage( "BearWall™ Activated. "...GetDodgeChance()..."% Dodge for 10 Seconds." , "YELL" )
02-12-2008, 10:15 AM
I'll try that out when I get home.
02-13-2008, 11:11 AM
It's not outputting my Dodge % in a chat window.
It actually doesn't even list my Dodge.
Hrm...gonna search around a bit for the solution.
02-13-2008, 01:16 PM
It may be that GetDodgeChance returns a number as a number rather than a string.
If so, it may be just a matter of converting it to a string, but I have no idea how to do that.
02-14-2008, 10:44 AM
Yeah me neither.
Got our "macro guy" in guild looking at it, but he's having issues as well.
Hrm....the search continues.
02-14-2008, 11:27 AM
Found this on the official forums.
No, there is no way to do that. WoW has disabled all ways to "read" info from your characters for use in a macro. This includes buffs that are currently up, and statistical data from your character sheet. The only thing you can do is proc them and input the number manually and personally adjust each time you change gear or gems.
02-14-2008, 01:55 PM
Got a green post!
02-14-2008, 06:19 PM
So here's the full Macro:
/use Badge Of Tenacity
/use Moroes' Lucky Pocket Watch
/run SendChatMessage("BearWall™ Activated! " .. format("%.2f",GetDodgeChance()+25) .. "% Dodge for the next 10 seconds.", "Yell")
Basically the macro can't read how much Dodge the Trinkets add, it'll only take your base Dodge%.
The "+25" is a modifier to manually add in the amount of Dodge you gain by activating the trinkets.
Basically open your character screen, hit the macro, compare what it yells to what your Dodge % actually is and subtract or add the difference to the 25.
My unbuffed Dodge when the trinkets are active puts me at 61.66% so I modified it to become 26.33
vBulletin v3.5.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.