Avoidance Macro

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Avoidance Macro

Postby Metheoro » Wed Apr 02, 2008 11:19 am

guys

a pal told pased me thismacro that makes wow calculate ur avoidance

my question is... are thecalculations right?

/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRating(CR_DEFENSE_SKILL)*150/355 + 20)*0.04,1,0.5,0)

question: what defense skill means? it is true that defense rating also helps in the uncrushability stats?
Metheoro
 
Posts: 50
Joined: Tue Apr 01, 2008 5:17 pm

Postby Dorvan » Wed Apr 02, 2008 12:25 pm

moved to the add-on/ui/macro forum.
Image

WHAT WOULD BEST DESCRIBE YOUR PERSONALITY?
Moonlight Sonata Techno Remix
Scriggle - 85 Fire Mage
Fizzmore - 81 Mut Rogue
Adorania - 80 Disc Priest
User avatar
Dorvan
Maintankadonor
 
Posts: 8462
Joined: Wed Apr 04, 2007 3:28 pm

Postby Kelaan » Wed Apr 02, 2008 1:47 pm

I believe the macro is listed in Eanin's uncrushability guide, but I just use the Tankadin mod. It shows a constant display of how crushable (or not) I am. I'd suggest using that rather than the macro.
User avatar
Kelaan
 
Posts: 4037
Joined: Thu Jan 03, 2008 12:01 pm

Postby Thanehand » Thu Apr 03, 2008 2:18 am

I believe this one is better:

Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage(string.format("Need 102.4 avoidance. Currently: %s",floor((GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRatingBonus(CR_DEFENSE_SKILL)+UnitDefense("Player")-5*UnitLevel("Player"))* 0.04)*100)/100)) 


The OP one has "+20" in it representing talents in Anticipation (afaik). The posted on takes that from player's defence.

I may be completely wrong, but as far as I can see, I'm not.
ImageImage
Thanehand
 
Posts: 177
Joined: Wed Dec 12, 2007 5:54 am


Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

Who is online

In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 380 on Tue Oct 14, 2008 6:28 pm

Users browsing this forum: Majestic-12 [Bot] and 1 guest