Examples of TapAllEffect


Examples of mage.abilities.effects.common.TapAllEffect

        this.expansionSetCode = "10E";

        this.color.setBlue(true);

        // Tap all creatures without flying.
        this.getSpellAbility().addEffect(new TapAllEffect(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapAllEffect

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter1, true)));
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
       
        // {U}{U}{U}: Tap all creatures without flying.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapAllEffect(filter2), new ManaCostsImpl("{U}{U}{U}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapAllEffect

        this.expansionSetCode = "SOK";

        this.color.setWhite(true);

        // Choose one - Tap all Spirits; or tap all non-Spirit creatures.
        this.getSpellAbility().addEffect(new TapAllEffect(filterSpirit));
       
        Mode mode = new Mode();
        mode.getEffects().add(new TapAllEffect(filterNonSpirit));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapAllEffect

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

        // When Ivory Giant enters the battlefield, tap all nonwhite creatures.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new TapAllEffect(filter)));
        // Suspend 5-{W}
        this.addAbility(new SuspendAbility(5, new ManaCostsImpl("{W"), this));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapAllEffect

    public ChimericIdol(UUID ownerId) {
        super(ownerId, 136, "Chimeric Idol", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "PCY";

        // {0}: Tap all lands you control. Chimeric Idol becomes a 3/3 Turtle artifact creature until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapAllEffect(new FilterControlledLandPermanent("all lands you control")), new ManaCostsImpl("{0}"));
        ability.addEffect(new BecomesCreatureSourceEffect(new ChimericIdolToken(), "", Duration.EndOfTurn));
        this.addAbility(ability);

    }
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.