fixed stat issue for PH and RH
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
#include "../potion.h"
|
#include "../potion.h"
|
||||||
|
|
||||||
class poison_health final: public potion {
|
class poison_health final: public potion {
|
||||||
static const int LOSE_HEALTH = 5;
|
static const int LOSE_HEALTH = 10;
|
||||||
public:
|
public:
|
||||||
poison_health(const position &pos);
|
poison_health(const position &pos);
|
||||||
void apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
void apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "../potion.h"
|
#include "../potion.h"
|
||||||
|
|
||||||
class restore_health final: public potion {
|
class restore_health final: public potion {
|
||||||
static const int GAIN_HEALTH = 5;
|
static const int GAIN_HEALTH = 10;
|
||||||
public:
|
public:
|
||||||
restore_health(const position &pos);
|
restore_health(const position &pos);
|
||||||
void apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
void apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
||||||
|
Reference in New Issue
Block a user