fixed potions not working properly
need to test: vampire draining
This commit is contained in:
@ -12,7 +12,7 @@ boost_def::boost_def(const position &pos):
|
||||
|
||||
void boost_def::apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
||||
fraction &base_hit_rate) {
|
||||
if (remaining_duration > 0) {
|
||||
if (remaining_duration != 0) {
|
||||
if (race == rdrow)
|
||||
DEF += BOOST_DEF_DROW;
|
||||
else
|
||||
|
Reference in New Issue
Block a user