From f99aed08bb149165b0739f81e3b8a7f842b54dcc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 20 Mar 2023 20:47:59 +0800 Subject: [PATCH] 1 --- server/gameserver/constant.h | 2 ++ server/gameserver/human.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index e9224f9f..e7ea51fb 100644 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -350,6 +350,8 @@ enum EventAddBuff_e kEventBuffEatDrug = 15, kEventBuffDisengageBattle = 16, kEventBuffLimitTimeKillTarget = 17, + kEventBuffRevive = 18, + kEventBuffDmgOut = 19, kEventBuffEnd }; diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index a61e220f..1c789b8a 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2963,7 +2963,7 @@ void Human::LootInteraction(Loot* entity) kPickUp, 0, target_uniid, - true); + false); }, &xtimer_attacher);