m
→Example
(Noted that this function does not work for hunter pets) |
m (→Example) |
||
| Line 20: | Line 20: | ||
XP = UnitXP("player") | XP = UnitXP("player") | ||
XPMax = UnitXPMax("player") | XPMax = UnitXPMax("player") | ||
DEFAULT_CHAT_FRAME:AddMessage("Your XP is currently at "..floor( (XP / XPMax)*100 ).."%." | DEFAULT_CHAT_FRAME:AddMessage("Your XP is currently at "..floor( (XP / XPMax)*100 ).."%.",1,0,0) | ||
== Info == | == Info == | ||