mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
perf: 优化下抄作业的小逻辑
This commit is contained in:
@@ -37,11 +37,11 @@ bool asst::SSSBattleProcessTask::set_stage_name(const std::string& stage_name)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool asst::SSSBattleProcessTask::do_derived_action(size_t action_index)
|
||||
bool asst::SSSBattleProcessTask::do_derived_action(const battle::copilot::Action& action, size_t index)
|
||||
{
|
||||
LogTraceFunction;
|
||||
|
||||
const auto& action = get_combat_data().actions.at(action_index);
|
||||
std::ignore = index;
|
||||
|
||||
switch (action.type) {
|
||||
case battle::copilot::ActionType::DrawCard:
|
||||
|
||||
Reference in New Issue
Block a user