getLevelXpRequirement() public static method

Returns the amount of exp required to complete the specified level.
public static getLevelXpRequirement ( integer $level ) : integer
$level integer
return integer
コード例 #1
0
 public function setExp($exp)
 {
     $this->progress = $exp / Human::getLevelXpRequirement($this->level);
 }