From 30549d58149bd8f1d5207f1bae8baf43d96291e5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Mar 2023 18:51:29 +0800 Subject: [PATCH] 1 --- server/gameserver/buff/callfunc.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/gameserver/buff/callfunc.cc b/server/gameserver/buff/callfunc.cc index 754acb68..2b219ac6 100644 --- a/server/gameserver/buff/callfunc.cc +++ b/server/gameserver/buff/callfunc.cc @@ -335,9 +335,6 @@ void CallFuncBuff::ProcLightCircle() if (context->in_human_infos.find(hum->GetUniId()) != context->in_human_infos.end()) { abort(); } - if (context->active_skill_meta) { - hum->GetAbility()->AddSpeedRuduce(context->active_skill_meta->_number_meta->_float_speed); - } context->in_human_infos[hum->GetUniId()] = InnerObject(); context->in_human_infos[hum->GetUniId()].OnEnter(); }; @@ -362,9 +359,6 @@ void CallFuncBuff::ProcLightCircle() if (itr == context->in_human_infos.end()) { abort(); } - if (context->active_skill_meta) { - hum->GetAbility()->DelSpeedRuduce(context->active_skill_meta->_number_meta->_float_speed); - } itr->second.OnLeave(); context->in_human_infos.erase(itr); };