diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 09f3dc74..b0768ff6 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -230,6 +230,11 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string killer_name, in if (!room->BattleStarted()) { return; } +#ifdef DEBUG + if (a8::HasBitFlag(status, CS_NoDie)) { + return; + } +#endif #ifdef DEBUG #if 0 if (IsPlayer()) {