Return the total amount of experience points required for the player to gain a level
See also Player information functions, Experience (XP) functions.
Signature:
playerMaxXP
=
UnitXPMax("unit")
Arguments:
unit
- A unit to query; only valid forplayer
(string
, unitID)
Returns:
playerMaxXP
- Total amount of experience points required for the player to gain a level (number
)