Examples of SuspendAbility


Examples of mage.abilities.keyword.SuspendAbility

    public RestoreBalance(UUID ownerId) {
        super(ownerId, 38, "Restore Balance", Rarity.RARE, new CardType[]{CardType.SORCERY}, "");
        this.expansionSetCode = "TSP";

        // Suspend 6-{W}
        this.addAbility(new SuspendAbility(6, new ColoredManaCost(ColoredManaSymbol.W), this));
        // Each player chooses a number of lands he or she controls equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players sacrifice creatures and discard cards the same way.
        this.getSpellAbility().addEffect(new RestoreBalanceEffect());
    }
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        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.keyword.SuspendAbility

    public LotusBloom(UUID ownerId) {
        super(ownerId, 259, "Lotus Bloom", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "");
        this.expansionSetCode = "TSP";

        // Suspend 3-{0}
        this.addAbility(new SuspendAbility(3, new GenericManaCost(0), this));

        // {tap}, Sacrifice Lotus Bloom: Add three mana of any one color to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(3), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        // Search your library for a basic land card and put it onto the battlefield. Then shuffle your library.
        TargetCardInLibrary target = new TargetCardInLibrary(new FilterBasicLandCard());
        this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect(target, false, Outcome.PutLandInPlay));
       
        // Suspend 2-{G}
        this.addAbility(new SuspendAbility(2, new ManaCostsImpl("{G}"), this));
    }
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // {R}: Pardic Dragon gets +1/+0 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
        // Suspend 2-{R}{R}
        this.addAbility(new SuspendAbility(2, new ManaCostsImpl("{R}{R}"), this, true));
        // Whenever an opponent casts a spell, if Pardic Dragon is suspended, that player may put a time counter on Pardic Dragon.
        this.addAbility(new ConditionalTriggeredAbility(
                new SpellCastOpponentTriggeredAbility(Zone.EXILED, new PardicDragonEffect(), new FilterSpell(), false, SetTargetPointer.PLAYER),
                SuspendedCondition.getInstance(),
                "Whenever an opponent casts a spell, if {this} is suspended, that player may put a time counter on {this}."
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        this.toughness = new MageInt(6);

        // Deep-Sea Kraken is unblockable.
        this.addAbility(new UnblockableAbility());
        // Suspend 9-{2}{U}
        this.addAbility(new SuspendAbility(9, new ManaCostsImpl("{2}{U}"), this));
        // Whenever an opponent casts a spell, if Deep-Sea Kraken is suspended, remove a time counter from it.
        this.addAbility(new ConditionalTriggeredAbility(
                new SpellCastAllTriggeredAbility(new RemoveCounterSourceEffect(CounterType.TIME.createInstance()), filter, false), SuspendedCondition.getInstance(),
                "Whenever an opponent casts a spell, if Deep-Sea Kraken is suspended, remove a time counter from it.", false));
    }
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        super(ownerId, 201, "Hypergenesis", Rarity.RARE, new CardType[]{CardType.SORCERY}, "");
        this.expansionSetCode = "TSP";
        this.color.setGreen(true);

        // Suspend 3-{1}{G}{G}
        this.addAbility(new SuspendAbility(3, new ManaCostsImpl("{1}{G}{G}"), this));
       
        // Starting with you, each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.
        this.getSpellAbility().addEffect(new HypergenesisEffect());
    }
View Full Code Here

Examples of mage.abilities.keyword.SuspendAbility

        // Destroy target creature. Its controller loses life equal to its power plus its toughness.
        this.getSpellAbility().addEffect(new PhthisisEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

        // Suspend 5-{1}{B}
        this.addAbility(new SuspendAbility(5, new ManaCostsImpl("{1}{B}"), this));
    }
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.