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/Item.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/Item.inc')
-rw-r--r-- | inc/Item.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Item.inc b/inc/Item.inc index 8eebbf8..a8ee302 100644 --- a/inc/Item.inc +++ b/inc/Item.inc @@ -21,7 +21,7 @@ class Item { foreach($this->feat as $k => $v) { switch($k) { case "hp": increasePerso("hp", +$v); break; - case "power": break; + case "power": increasePerso("bonusPower", +$v); break; } } } |