fix: 移除多余检查

This commit is contained in:
status102
2026-02-26 11:40:13 +08:00
parent d43d7d1092
commit 167fc5e2f1

View File

@@ -711,9 +711,6 @@ bool asst::BattleFormationTask::check_and_select_skill(const battle::OperUsage&
return true;
}*/
if (oper.requirements.skill_level == 0) {
return true; // 无技能等级要求
}
auto result = m_quick_formation_ui.find_oper_skill(oper.skill, oper.requirements.skill_level == 0);
if (!result) {
LogError << __FUNCTION__ << "| Skill" << oper.skill << "not found in quick detection";