Search in sources :

Example 1 with CycleControllerTriggeredAbility

use of mage.abilities.common.CycleControllerTriggeredAbility in project mage by magefree.

the class CrystallineResonanceCopyApplier method createAbility.

static Ability createAbility() {
    Ability ability = new CycleControllerTriggeredAbility(new CopyPermanentEffect(StaticFilters.FILTER_PERMANENT_CREATURE, new CrystallineResonanceCopyApplier(), true).setDuration(Duration.UntilYourNextTurn).setText("have {this} become a copy of another target permanent until your next turn, " + "except it has this ability"), true);
    ability.addTarget(new TargetPermanent(filter));
    return ability;
}
Also used : Ability(mage.abilities.Ability) CycleControllerTriggeredAbility(mage.abilities.common.CycleControllerTriggeredAbility) CycleControllerTriggeredAbility(mage.abilities.common.CycleControllerTriggeredAbility) CopyPermanentEffect(mage.abilities.effects.common.CopyPermanentEffect) TargetPermanent(mage.target.TargetPermanent)

Aggregations

Ability (mage.abilities.Ability)1 CycleControllerTriggeredAbility (mage.abilities.common.CycleControllerTriggeredAbility)1 CopyPermanentEffect (mage.abilities.effects.common.CopyPermanentEffect)1 TargetPermanent (mage.target.TargetPermanent)1