using System.Collections.Generic; using Continentis.MainGame.Card; using Continentis.MainGame.Character; using Continentis.MainGame.Commands; using SLSUtilities.General; namespace Continentis.Mods.Basic.Cards { public class DualStrike : CardLogicBase { public override void SetUpLogicComponents() { AddLogicComponent(); } public override CommandGroup PlayEffect(List targetList) { return ForEachTarget( targetList, target => Cmd.Sequential( Cmd.Parallel( new Cmd_PlayAnimation(user.characterView, "Attack"), Cmd.Do(() => AttackTarget(target, GetTargetedFinalDamage(target))) ), Cmd.Parallel( new Cmd_PlayAnimation(user.characterView, "Attack"), Cmd.Do(() => AttackTarget(target, GetTargetedFinalDamage(target))) ) ), ExecutionMode.Sequential); } public override void ApplyAttributeChangesByCard() { LogicComponent().SetDamage_Physics(); } } }