diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index f6157cb..3002b92 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3216,7 +3216,7 @@ void Human::AdjustDecHp(float old_health, float& new_health) { Buff* buff = GetBuffByEffectId(kBET_NewProtect); if (buff) { - if (GetHP() < GetMaxHP() * buff->meta->param1) { + if (new_health < GetMaxHP() * buff->meta->param1) { new_health = std::max(GetMaxHP() * buff->meta->param1, (float)0); #ifdef DEBUG a8::UdpLog::Instance()->Debug("触发新手保护buff %d %s %s %f %f",