Examples of UntapAllControllerEffect


Examples of mage.abilities.effects.common.UntapAllControllerEffect

        this.subtype.add("Merfolk");

        this.color.setBlue(true);

        // At the beginning of your end step, untap all Merfolk you control.
        this.addAbility(new BeginningOfYourEndStepTriggeredAbility(new UntapAllControllerEffect(filter, "untap all Merfolk you control"), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapAllControllerEffect

        this.expansionSetCode = "GPT";

        this.color.setWhite(true);

        // Untap all creatures you control.
        Effect effect = new UntapAllControllerEffect(new FilterControlledCreaturePermanent(), rule);
        this.getSpellAbility().addEffect(effect);
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapAllControllerEffect

        // When Godo, Bandit Warlord enters the battlefield, you may search your library for an Equipment card and put it onto the battlefield. If you do, shuffle your library.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter), false, true), true));
        // Whenever Godo attacks for the first time each turn, untap it and all Samurai you control. After this phase, there is an additional combat phase.
        FilterControlledCreaturePermanent untapFilter = new FilterControlledCreaturePermanent();
        untapFilter.add(Predicates.or(new PermanentIdPredicate(this.getId()), new SubtypePredicate("Samurai")));
        Ability ability = new GodoBanditWarlordAttacksTriggeredAbility(new UntapAllControllerEffect(untapFilter,"untap it and all Samurai you control"), false);
        ability.addEffect(new AdditionalCombatPhaseEffect());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapAllControllerEffect

        getLeftHalfCard().getColor().setGreen(true);
        getLeftHalfCard().getColor().setWhite(true);
        Effect effect = new GainAbilityAllEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn, new FilterControlledCreaturePermanent("Creatures you controll"), false);
        effect.setText("Creatures you control are indestructible this turn");
        getLeftHalfCard().getSpellAbility().addEffect(effect);
        getLeftHalfCard().getSpellAbility().addEffect(new UntapAllControllerEffect(new FilterControlledCreaturePermanent(),"Untap each creature you control"));

        // Willing
        // Creatures you control gain deathtouch and lifelink until end of turn.
        getRightHalfCard().getColor().setWhite(true);
        getRightHalfCard().getColor().setBlack(true);
View Full Code Here

Examples of mage.abilities.effects.common.UntapAllControllerEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // When Sky Hussar enters the battlefield, untap all creatures you control.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new UntapAllControllerEffect(new FilterControlledCreaturePermanent(), "untap all creatures you control"), false));

        // Forecast - Tap two untapped white and/or blue creatures you control, Reveal Sky Hussar from your hand: Draw a card.
        this.addAbility(new ForecastAbility(new DrawCardSourceControllerEffect(1), new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, true))));
    }
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.