changed PH so that HP falls to 1 instead of 0, for PH only

This commit is contained in:
2024-07-21 11:38:53 -04:00
parent b385354333
commit 37dc5a26fa

View File

@ -14,7 +14,7 @@ void poison_health::apply(const enum race &race, int &HP, int &ATK, int &DEF,
if (race == DROW)
tmp *= DROW_POTION_MUL;
HP = std::max(HP - tmp, 0);
HP = std::max(HP - tmp, 1);
--remaining_duration;
}
}