Package mage.abilities.keyword

Examples of mage.abilities.keyword.MorphAbility


        // Whenever Headhunter deals combat damage to a player, that player discards a card.
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1), false, true));
       
        // Morph {B} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{B}")));

    }
View Full Code Here


        this.color.setGreen(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        // Morph {4}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{G}")));
        // Whenever Pine Walker or another creature you control is turned face up, untap that creature.
        Effect effect = new UntapTargetEffect();
        effect.setText("untap that creature");
        this.addAbility(new TurnedFaceUpAllTriggeredAbility(effect, new FilterControlledCreaturePermanent("{this} or another creature you control"), true));
View Full Code Here

        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(5);

        // Morph {4}{U}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{4}{U}")));
    }
View Full Code Here

        // Lifelink
        this.addAbility(LifelinkAbility.getInstance());
       
        // Morph {1}{B}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{1}{B}")));
    }
View Full Code Here

        // Hellbent - Gathan Raiders gets +2/+2 as long as you have no cards in hand.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(
                new BoostSourceEffect(2,2,Duration.WhileOnBattlefield), HellbentCondition.getInstance(),
                "<i>Hellbent</i> - {this} gets +2/+2 as long as you have no cards in hand")));
        // Morph-Discard a card.
        this.addAbility(new MorphAbility(this, new DiscardCardCost()));
    }
View Full Code Here

        this.toughness = new MageInt(1);

        // Damage that would reduce your life total to less than 1 reduces it to 1 instead.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new FortuneThiefReplacementEffect()));
        // Morph {R}{R}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}{R}")));
    }
View Full Code Here

        this.color.setBlue(true);
        this.power = new MageInt(1);
        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

        // At the beginning of your upkeep, sacrifice Krosan Cloudscraper unless you pay {G}{G}.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new SacrificeSourceUnlessPaysEffect(new ManaCostsImpl("{G}{G}")), TargetController.YOU, false));

        // Morph {7}{G}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{7}{G}{G}")));
    }
View Full Code Here

        // protection from white and from blue
        this.addAbility(new ProtectionAbility(protectionFilter));
        // {R}: Akroma, Angel of Fury gets +1/+0 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1,0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
        // Morph {3}{R}{R}{R}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{R}{R}{R}")));
    }
View Full Code Here

        // Saproling creatures get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(1, 1, Duration.WhileOnBattlefield, filter, false)));

        // 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

Related Classes of mage.abilities.keyword.MorphAbility

Copyright © 2018 www.massapicom. 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.