WoW:API UnitXP: Difference between revisions

1 byte removed ,  15 September 2007
m
(Noted that this function does not work for hunter pets)
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 ).."%."),1,0,0)
  DEFAULT_CHAT_FRAME:AddMessage("Your XP is currently at "..floor( (XP / XPMax)*100 ).."%.",1,0,0)


== Info ==
== Info ==
Anonymous user