mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
Merge branch 'dev' of https://github.com/MaaAssistantArknights/MaaAssistantArknights into dev
This commit is contained in:
@@ -313,7 +313,13 @@ asst::AutoRecruitTask::calc_task_result_type asst::AutoRecruitTask::recruit_calc
|
||||
|
||||
// assuming timer would be set to 09:00:00
|
||||
for (RecruitCombs& rc : result_vec) {
|
||||
rc.min_level = (std::max)(rc.min_level, 3);
|
||||
if (rc.min_level < 3) {
|
||||
// find another min level backwards (assuming operator list reversely sorted by level)
|
||||
auto sec = std::find_if(
|
||||
rc.opers.crbegin(), rc.opers.crend(),
|
||||
[](const RecruitOperInfo& op) -> bool { return op.level >= 3; });
|
||||
if (sec != rc.opers.crend()) { rc.min_level = sec->level; }
|
||||
}
|
||||
}
|
||||
|
||||
std::sort(
|
||||
|
||||
@@ -129,8 +129,8 @@
|
||||
<Compile Include="UserControl\ConnectSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>ConnectSettingsUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserControl\RogueliekSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>RogueliekSettingsUserControl.xaml</DependentUpon>
|
||||
<Compile Include="UserControl\RoguelikeSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>RoguelikeSettingsUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserControl\MallSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>MallSettingsUserControl.xaml</DependentUpon>
|
||||
@@ -199,7 +199,7 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="UserControl\RogueliekSettingsUserControl.xaml">
|
||||
<Page Include="UserControl\RoguelikeSettingsUserControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// <copyright file="RogueliekSettingsUserControl.xaml.cs" company="MaaAssistantArknights">
|
||||
// <copyright file="RoguelikeSettingsUserControl.xaml.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
Reference in New Issue
Block a user