Base stats macro?

UI and Macro
Is there a command to display your base stats in the chat frame?

I need to get a macro im working on to show base agility. Thanks for any help.
/run print("Base Agility: "..UnitStat("player",2))This should print the following in your chat frame:
Base Agility: XXX
(Where XXX is your actual base agility)

http://www.wowpedia.org/API_UnitStat
Thanks but thats what i have been using. It shows my overall agility but not the agility from my base stats (which is what i mean by base agility).

For instance i have 344 agility but my BASE agility (from being a blood elf) is only 99. If you mouseover my agility in my armory it will say 99 in gray+245 in green. I get 245agility from gear but the gray 99 is my base agility.

Thats what im trying to get is the base agility.
Odd, the first return is supposed to be the base stat. Try this:/run local b,s=UnitStat("player",2)print("Base: "..b,"Total: "..s)
Its giving me:

Base: 344 Total: 344


Also thank you for taking time to help me.
Hmm, try this:/run local b,s,p,n=UnitStat("player",2)print("Base: "..b,"Current: "..s,"Positive Buffs: "..p,"Negative Buffs: "..n)
=D

No it does not work but it gives me what i need to fake it!

Base: 344 Current: 344 Positive buffs:245 Negative buff:0


If i simply subtract base from positive buffs ill get base agility thanks!
Try:/run local _,s,p,n=UnitStat("player",2)print(s - p + n)And see if that number is your base agility.

___________________________

<<Your face got palmed.>>
www.wowpedia.org/User:Egingell
wow.curse.com/members/egingell.aspx
Try:/run local _,s,p,n=UnitStat("player",2)print(s - p + n)And see if that number is your base agility.

___________________________

<<Your face got palmed.>>
www.wowpedia.org/User:Egingell
wow.curse.com/members/egingell.aspx


Sure does ty!!!

Join the Conversation

Return to Forum