Examples of TurnedFaceUpSourceTriggeredAbility


Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{4}{R}{R}")));
       
        // When Ashcloud Phoenix is turned face up, it deals 2 damage to each player.
        Effect effect = new DamagePlayersEffect(2, TargetController.ANY);
        effect.setText("it deals 2 damage to each player");
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(effect));
    }
View Full Code Here

Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        this.addAbility(new MorphAbility(this, new RevealTargetFromHandCost(new TargetCardInHand(filter))));
       
        // When Horde Ambusher is turned face up, target creature can't block this turn.
        Effect effect = new CantBlockTargetEffect(Duration.EndOfTurn);
        effect.setText("target creature can't block this turn");
        Ability ability = new TurnedFaceUpSourceTriggeredAbility(effect);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Morph {5}{U}{U}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{U}{U}")));
        // When Thousand Winds is turned face up, return all other tapped creatures to their owners' hands.
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new ReturnToHandFromBattlefieldAllEffect(filter)));
    }
View Full Code Here

Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Morph {1}{G}{U}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{1}{G}{U}")));
        // When Icefeather Aven is turned face up, you may return another target creature to its owner's hand.
        Ability ability = new TurnedFaceUpSourceTriggeredAbility(new ReturnToHandTargetEffect(), false, true);
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        this.toughness = new MageInt(3);

        // Morph-Return two Islands you control to their owner's hand.
        this.addAbility(new MorphAbility(this, new ReturnToHandTargetCost(new TargetControlledPermanent(2,2, filter, true))));
        // When Fathom Seer is turned face up, draw two cards.
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new DrawCardSourceControllerEffect(2)));
    }
View Full Code Here

Examples of mage.abilities.common.TurnedFaceUpSourceTriggeredAbility

        // Morph {3}{G}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{G}{G}")));

        // When Thelonite Hermit is turned face up, put four 1/1 green Saproling creature tokens onto the battlefield.
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new CreateTokenEffect(new SaprolingToken(), 4)));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.