More changes!

This commit is contained in:
Shoghi Cervantes
2015-08-13 18:01:34 +02:00
parent 99df6f8edc
commit fabb632286
5 changed files with 137 additions and 11 deletions

View File

@ -32,6 +32,10 @@ class Attribute{
const MAX_HEALTH = 0;
const EXPERIENCE = 1;
const EXPERIENCE_LEVEL = 2;
private $id;
protected $minValue;
protected $maxValue;
@ -45,6 +49,8 @@ class Attribute{
public static function init(){
self::addAttribute(self::MAX_HEALTH, "generic.health", 0, 0x7fffffff, 20, true);
self::addAttribute(self::EXPERIENCE, "player.experience", 0, 1, 0, true);
self::addAttribute(self::EXPERIENCE_LEVEL, "player.level", 0, 24791, 0, true);
}
/**