Examples of MorphAbility


Examples of mage.abilities.keyword.MorphAbility

        this.color.setWhite(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Morph {3}{W}{W}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{W}{W}")));
        // When Master of Pearls is turned face up, creatures you control get +2/+2 until end of turn.
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new BoostControlledEffect(2,2, Duration.EndOfTurn, new FilterCreaturePermanent("creatures"))));
    }
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

        this.color.setRed(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);

        // Morph {2}{R}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{2}{R}")));
       
        // When Jeering Instigator is turned face up, if it's your turn, gain control of another target creature until end of turn. Untap it. That creature gains haste until end of turn.
        Ability ability = new TurnedFaceUpSourceTriggeredAbility(new ConditionalContinousEffect(new GainControlTargetEffect(Duration.EndOfTurn), MyTurnCondition.getInstance(), "if it's your turn, gain control of another target creature until end of turn"));
        Effect effect = new UntapTargetEffect();
        effect.setText("Untap that creature");
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

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

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

Examples of mage.abilities.keyword.MorphAbility

        Effect effect = new DrawDiscardControllerEffect(1,1);
        effect.setText("you may draw a card. If you do, discard a card");
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(effect, true));
       
        // Morph 2BGU
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{B}{G}{U}")));
    }
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

       
        // When Ashcloud Phoenix dies, return it to the battlefield face down.
        this.addAbility(new DiesTriggeredAbility(new AshcloudPhoenixEffect()));
       
        // Morph {4}{R}{R}
        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.keyword.MorphAbility

        this.toughness = new MageInt(4);

        // Lifelink
        this.addAbility(LifelinkAbility.getInstance());
        // Morph {2}{W}{B}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}{W}{B}{G}")));
    }
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

        Target target = new TargetSpell();
        ability.addTarget(target);
        this.addAbility(ability);

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

Examples of mage.abilities.keyword.MorphAbility

        // Whenever Horde Ambusher blocks, it deals 1 damage to you.
        this.addAbility(new BlocksTriggeredAbility(new DamageControllerEffect(1), false));
       
        // Morph - Reveal a red card in your hand.
        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);
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // Hexproof
        this.addAbility(HexproofAbility.getInstance());
        // Morph {3}{G}{U}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{G}{U}")));
    }
View Full Code Here

Examples of mage.abilities.keyword.MorphAbility

        this.toughness = new MageInt(1);

        // Tap two untapped Elves you control: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false))));
        // Morph {G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{G}")));
    }
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.