mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
chore.重命名抄作业类
This commit is contained in:
@@ -12,12 +12,12 @@ void asst::BattleFormationTask::set_stage_name(std::string name)
|
||||
|
||||
bool asst::BattleFormationTask::_run()
|
||||
{
|
||||
const auto& battle = Resrc.battle();
|
||||
if (!battle.contains_actions(m_stage_name)) {
|
||||
const auto& copilot = Resrc.copilot();
|
||||
if (!copilot.contains_actions(m_stage_name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
m_groups = battle.get_actions(m_stage_name).groups;
|
||||
m_groups = copilot.get_actions(m_stage_name).groups;
|
||||
if (m_groups.empty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user