using System.Collections.Generic; namespace Wizard; public class AIOtherWhenPlayEvo : AIOtherWhenPlayTagArgument { public AIOtherWhenPlayEvo(string text, PlaySimulationType playType) : base(text, playType) { } protected override void RunTagMethod(List targets, AIVirtualField field, AIVirtualCard tagOwner, List playPtn, AISituationInfo situation) { AIAutoEvolutionSimulationUtility.AutoEvolution(field, targets, playPtn, situation, SelectType); } protected override void CreateLegalSelectTypes() { base.LegalSelectTypes = new AIScriptTokenArgType[1] { AIScriptTokenArgType.ALL_SELECT }; } protected override List GetFilteredTargets(List candidates, AIVirtualCard tagOwner, List playPtn, AISituationInfo situation, bool isBlockDead = true) { return AIFilteringUtility.FilteringForFollowerOnly(candidates, tagOwner, base.TargetFilters, playPtn, situation, isBlockDead); } protected override List GetCandidateRange(AIVirtualField field) { return field.CardListSet.BothInplayCards; } }