Package mage.abilities.common

Examples of mage.abilities.common.BecomesMonstrousSourceTriggeredAbility.addTarget()


        // {6}{U}{U}: Monstrosity 4.
        this.addAbility(new MonstrosityAbility("{6}{U}{U}", 4));
        // When Shipbreaker Kraken becomes monstrous, tap up to four target creatures. Those creatures don't untap during their controllers' untap steps for as long as you control Shipbreaker Kraken.
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(new TapTargetEffect());
        ability.addTarget(new TargetCreaturePermanent(0,4));
        ability.addEffect(new ShipbreakerKrakenReplacementEffect());
        this.addAbility(ability);
        this.addWatcher(new ShipbreakerKrakenWatcher());
    }
View Full Code Here


        // {5}{U}{U}: Monstrosity 3.</i>
        this.addAbility(new MonstrosityAbility("{5}{U}{U}",3));
        // When Sealock Monster becomes monstrous, target land becomes an island in addition to its other types.
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(new SealockMonsterBecomesIslandTargetEffect());
        Target target = new TargetLandPermanent();
        ability.addTarget(target);
        this.addAbility(ability);

    }

    public SealockMonster(final SealockMonster card) {
View Full Code Here

        // {3}{G}{G}{G}: Monstrosity 3.
        this.addAbility(new MonstrosityAbility("{3}{G}{G}{G}", 3));
        // When Arbor Colossus becomes monstrous, destroy target creature with flying an opponent controls.
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(new DestroyTargetEffect());
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }

    public ArborColossus(final ArborColossus card) {
        super(card);
View Full Code Here

        // {5}{B}{B}: Monstrosity 1.
        this.addAbility(new MonstrosityAbility("{5}{B}{B}", 1));
        // When Keepsake Gorgon becomes monstrous, destroy target non-Gorgon creature an opponent controls.
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(new DestroyTargetEffect());
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }

    public KeepsakeGorgon(final KeepsakeGorgon card) {
        super(card);
View Full Code Here

        // {X}{X}{G}: Monstrosity X.
        this.addAbility(new MonstrosityAbility("{X}{X}{G}", Integer.MAX_VALUE));
        // When Polukranos, World Eater becomes monstrous, it deals X damage divided as you choose among any number of target creatures your opponents control. Each of those creatures deals damage equal to its power to Polukranos.
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(new PolukranosWorldEaterEffect());
        ability.addTarget(new TargetCreaturePermanentAmount(1, filter));
        this.addAbility(ability);

    }

    @Override
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.