Returns the player's current amount of experience points
See also Player information functions, Experience (XP) functions.
Signature:
currXP
=
UnitXP("unit")
Arguments:
unit
- A unit to query; only valid forplayer
(string
, unitID)
Returns:
currXP
- Current amount of experience points (number
)