feat: 添加刷理智任务报错提示

This commit is contained in:
uye
2023-08-19 16:33:26 +08:00
parent af5ec664ab
commit ec5241ddb6

View File

@@ -970,7 +970,13 @@ namespace MaaWpfGui.ViewModels.UI
bool mainFightRet = Instances.AsstProxy.AsstAppendFight(curStage, medicine, stone, times, DropsItemId, dropsQuantity);
if (mainFightRet && (curStage == "Annihilation") && Instances.SettingsViewModel.UseAlternateStage)
if (!mainFightRet)
{
AddLog(LocalizationHelper.GetString("UnsupportedStages") + ": " + curStage, UiLogColor.Error);
return false;
}
if ((curStage == "Annihilation") && Instances.SettingsViewModel.UseAlternateStage)
{
foreach (var stage in new[] { Stage1, Stage2, Stage3 })
{