diff options
Diffstat (limited to 'inc/Monster.inc')
-rw-r--r-- | inc/Monster.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/Monster.inc b/inc/Monster.inc index d8fe619..d00532f 100644 --- a/inc/Monster.inc +++ b/inc/Monster.inc @@ -36,7 +36,7 @@ class Monster { * @var int Monster's level. */ public $level = 1; - + public $power = 1; /** * Monster's constructor @@ -44,15 +44,17 @@ class Monster { * @param string $name Monster's name * @param int $level Monster's level * @param int $hp Monster's HP + * @param int $power Monster's power * @param int $xp Exp given by the Monster * @param string $icon Item's icon * @return void */ - function __construct($name, $level, $hp, $xp, $icon) { + function __construct($name, $level, $hp, $xp, $power, $icon) { $this->name = $name; $this->level = $level; $this->hp = $hp; $this->xp = $xp; + $this->power = $power; $this->icon = $icon; } } |