diff --git a/server/gameserver/buff/callfunc.cc b/server/gameserver/buff/callfunc.cc index 6e83bdab..10cfd000 100644 --- a/server/gameserver/buff/callfunc.cc +++ b/server/gameserver/buff/callfunc.cc @@ -323,7 +323,6 @@ void CallFuncBuff::ProcLightCircle() ( a8::XTimerWp passive_skill_timer; a8::XTimerWp active_skill_timer; - std::vector> curr_effect_list; std::map in_human_infos; ); @@ -358,14 +357,6 @@ void CallFuncBuff::ProcLightCircle() } }, &xtimer_attacher); - for (auto effect : context->curr_effect_list) { - owner->RemoveEffect(effect); - } - context->curr_effect_list.clear(); - for (int effect_id : skill->meta->_number_meta->_effect_list) { - context->curr_effect_list.push_back(owner->AddEffect(effect_id)); - } - } } );