From 0010fbfd58e8c2c086aca9b610bb0934c6cb92fd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 12 Nov 2021 13:45:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=98=E8=BA=AB=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=BD=9C=E6=B0=B4=E5=92=8C=E4=B8=8A=E6=9C=BA?= =?UTF-8?q?=E7=94=B2=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/human.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 8caa604..ce22dc6 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1012,6 +1012,9 @@ void Human::DoGetOn(int obj_uniid) if (downed) { return; } + if (HasBuffEffect(kBET_Become)) { + return; + } switch (entity->GetEntityType()) { case ET_Loot: { @@ -3854,6 +3857,9 @@ void Human::DoDive() HasBuffEffect(kBET_Passenger)) { return; } + if (HasBuffEffect(kBET_Become)) { + return; + } if (HasBuffEffect(kBET_Camouflage) ) { RemoveBuffByEffectId(kBET_Camouflage); }