diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 98e78d7..3cf8571 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3210,7 +3210,7 @@ void Human::AdjustDecHp(float old_health, float& new_health) Buff* buff = GetBuffByEffectId(kBET_NewProtect); if (buff) { if (GetHP() < GetMaxHP() * buff->meta->param1) { - new_health = GetMaxHP() * buff->meta->param1; + new_health = std::max(GetMaxHP() * buff->meta->param1, GetMaxHP()); } } }