From 150b4940db6576045b5b67aa5c1e51d897302786 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 27 Feb 2024 11:18:40 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 773a79e2..b36af7f0 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -246,7 +246,7 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string killer_name, in } #endif } - if (HasBuffEffect(kBET_Invincible)) { + if (HasBuffEffect(kBET_Invincible) && killer_id != VP_Gas) { return; } {