reworked potion priority (5 -> 3) (5 is too much)
This commit is contained in:
@ -11,14 +11,17 @@ void boost_def::apply(const enum race &race, int &HP, int &ATK, int &DEF,
|
||||
fraction &base_hit_rate) {
|
||||
if (remaining_duration != 0) {
|
||||
int tmp = BOOST_DEF;
|
||||
if (race == rdrow) tmp *= DROW_POTION_MUL;
|
||||
DEF += tmp;
|
||||
|
||||
if (race == rdrow)
|
||||
tmp *= DROW_POTION_MUL;
|
||||
|
||||
DEF += tmp;
|
||||
--remaining_duration;
|
||||
}
|
||||
}
|
||||
|
||||
int boost_def::get_priority() const {
|
||||
return CALC_ADD_BASE;
|
||||
return CALC_BASE;
|
||||
}
|
||||
|
||||
const char *boost_def::get_name() const {
|
||||
|
Reference in New Issue
Block a user