Ejemplo n.º 1
0
        public override void InvokeAction(CardAction cardAction, MingmingBattleLogic source, MingmingBattleLogic target, Card card)
        {
            var controller = FindObjectsOfType <PartyController>().First(m => m.HasMingming(target)); //should never be null

            foreach (var mingming in controller.Mingmings.Where(m => m.IsInPlay))
            {
                cardAction.InvokeAction(source, mingming.Logic, card.CardAlignment);
            }
        }
Ejemplo n.º 2
0
 public override void InvokeAction(CardAction cardAction, MingmingBattleLogic source, MingmingBattleLogic target, Card card)
 {
     cardAction.InvokeAction(source, target, card.CardAlignment);
 }