API UnitXPMax

Return the max XP of a "unit" - only works if the unit is the player.

XP = UnitXPMax("unit")

Arguments

 * unit : - The UnitId to select as a target.

Returns

 * XP : - Returns the max XP points of the "unit".