diff options
author | alexichi <alexbankai96@gmail.com> | 2016-05-09 20:26:51 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-05-09 20:26:51 +0200 |
commit | 2f32bc3153b7f2c2561e4603f912573921e6449f (patch) | |
tree | 87419a11e12f5b7433459fcb5cb9da5211dcbd9e /inc/dungeon.inc | |
parent | f1677164c3f46785f6d9380b68cdeba58a680404 (diff) | |
download | candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.gz candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.bz2 candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.tar.xz candybox-2f32bc3153b7f2c2561e4603f912573921e6449f.zip |
add the use of the objects and the feature power and maxHP
Diffstat (limited to 'inc/dungeon.inc')
-rw-r--r-- | inc/dungeon.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/dungeon.inc b/inc/dungeon.inc index c023cf8..521303e 100644 --- a/inc/dungeon.inc +++ b/inc/dungeon.inc @@ -14,7 +14,8 @@ function generateMonster(){ $dungeon["monsters"][$floor][] = new Monster((string)$monster->name, intval($monster->level), intval($monster->hp), - intval($monster->xp), + intval($monster->xp), + intval($monster->power), (string)$monster->icon); } } |