using System; using System.Collections.Generic; namespace BetterGenshinImpact.GameTask.AutoGeniusInvokation.Model; [Obsolete] public class RoundStrategy { public List RawCommandList { get; set; } = new List(); public List ActionCommands { get; set; } = new List(); public List MaybeNeedElement(Duel duel) { List result = new List(); 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; } }