capitalized all enums

This commit is contained in:
a25liang
2024-07-20 15:11:13 -04:00
parent af1522ba2f
commit 525226b763
53 changed files with 393 additions and 395 deletions

View File

@ -5,14 +5,14 @@
boost_def::boost_def(const position &pos):
potion{potion_type::boost_def, -1, pos} {}
potion{potion_type::BOOST_DEF, -1, pos} {}
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)
if (race == DROW)
tmp *= DROW_POTION_MUL;
DEF += tmp;