Examples of CycleAllTriggeredAbility


Examples of mage.abilities.common.CycleAllTriggeredAbility

        this.expansionSetCode = "ONS";

        this.color.setWhite(true);

        // Whenever a player cycles a card, you may exile target creature. If you do, return that card to the battlefield under its owner's control at the beginning of the next end step.
        Ability ability = new CycleAllTriggeredAbility(new AstralSlideEffect(), true);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.CycleAllTriggeredAbility

        this.expansionSetCode = "ONS";

        this.color.setRed(true);

        // Whenever a player cycles a card, you may pay {1}. If you do, Lightning Rift deals 2 damage to target creature or player.
        Ability ability = new CycleAllTriggeredAbility(new DoIfCostPaid(new DamageTargetEffect(2), new GenericManaCost(1)), false);
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.CycleAllTriggeredAbility

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

        // Whenever a player cycles a card, Stoic Champion gets +2/+2 until end of turn.
        this.addAbility(new CycleAllTriggeredAbility(new BoostSourceEffect(2,2,Duration.EndOfTurn), false));
    }
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.