Exemplo n.º 1
0
        private void PutToZoneAfterResolve(Card card, Effect.Context ctx)
        {
            if (card.Is().Sorcery || card.Is().Instant)
            {
                card.PutToGraveyard();
                return;
            }

            if (card.Is().Aura)
            {
                var attachedCardController = card.GetControllerOfACardThisIsAttachedTo();
                attachedCardController.PutCardToBattlefield(card);
                return;
            }

            card.PutToBattlefield();
        }
Exemplo n.º 2
0
        public void EffectResolved(Effect.Context ctx)
        {
            var putToZone = _p.AfterResolve ?? PutToZoneAfterResolve;

            putToZone(ctx.OwningCard, ctx);
        }
Exemplo n.º 3
0
 void IEffectSource.EffectResolved(Effect.Context ctx)
 {
 }