This commit is contained in:
aozhiwei 2020-05-31 11:54:06 +08:00
parent c8788106a8
commit 8f72dc6a99

View File

@ -3069,16 +3069,6 @@ void Human::AdjustDecHp(float old_health, float& new_health)
if (buff) {
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",
{
room->GetRoomIdx(),
account_id,
name,
old_health,
new_health
});
#endif
}
}
}