calculateMobXP

public static long calculateMobXP(int mobLevel)

Calculates the XP earned from killing a mob of a given level. Formula: mob_xp(mob_level) = mob_level^2

Examples: - Level 1 mob: 1 XP - Level 50 mob: 2,500 XP - Level 100 mob: 10,000 XP

Return

The XP earned, or 0 if mobLevel is <= 0

Parameters

mobLevel

The level of the killed mob (must be positive)