This commit is contained in:
aozhiwei 2023-10-23 14:37:50 +08:00
parent 96232241dd
commit 36540d1bca

View File

@ -1131,7 +1131,7 @@ void Creature::Initialize()
[this] (int event, const a8::Args* args) mutable [this] (int event, const a8::Args* args) mutable
{ {
if (a8::TIMER_EXEC_EVENT == event) { if (a8::TIMER_EXEC_EVENT == event) {
if (!dead) { if (!dead && !poisoning) {
if (GetHP() + 1 < GetMaxHP()) { if (GetHP() + 1 < GetMaxHP()) {
AddHp(GetMaxHP() * mt::Param::s().nature_recover_hp_rate); AddHp(GetMaxHP() * mt::Param::s().nature_recover_hp_rate);
} }