This commit is contained in:
aozhiwei 2023-03-14 17:57:28 +08:00
parent 291c4da50c
commit 422f769f22

View File

@ -323,7 +323,6 @@ void CallFuncBuff::ProcLightCircle()
(
a8::XTimerWp passive_skill_timer;
a8::XTimerWp active_skill_timer;
std::vector<std::weak_ptr<Effect>> curr_effect_list;
std::map<int, InnerObject> 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));
}
}
}
);