using System; using System.Collections.Generic; namespace BetterGenshinImpact.GameTask.AutoGeniusInvokation.Model; [Obsolete] public class RoundStrategy { public List RawCommandList { get; set; } = []; public List ActionCommands { get; set; } = []; public List MaybeNeedElement(Duel duel) { List result = []; for (int i = 0; i < ActionCommands.Count; i++) { if (ActionCommands[i].Action == ActionEnum.SwitchLater && i != ActionCommands.Count - 1 && ActionCommands[i + 1].Action == ActionEnum.UseSkill) { result.Add(duel.Characters[ActionCommands[i].TargetIndex].Element); } } return result; } }