Search in sources :

Example 1 with CopyPermanentEffect

use of mage.abilities.effects.common.CopyPermanentEffect 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)

Example 2 with CopyPermanentEffect

use of mage.abilities.effects.common.CopyPermanentEffect in project mage by magefree.

the class ProteanThaumaturgeCopyApplier method createAbility.

static Ability createAbility() {
    Ability ability = new ConstellationAbility(new CopyPermanentEffect(StaticFilters.FILTER_PERMANENT_CREATURE, new ProteanThaumaturgeCopyApplier(), true).setText("{this} become a copy of another target creature, except it has this ability"), true, false);
    ability.addTarget(new TargetPermanent(filter));
    return ability;
}
Also used : ConstellationAbility(mage.abilities.abilityword.ConstellationAbility) Ability(mage.abilities.Ability) ConstellationAbility(mage.abilities.abilityword.ConstellationAbility) CopyPermanentEffect(mage.abilities.effects.common.CopyPermanentEffect) TargetPermanent(mage.target.TargetPermanent)

Example 3 with CopyPermanentEffect

use of mage.abilities.effects.common.CopyPermanentEffect in project mage by magefree.

the class ArtisanOfFormsCopyApplier method createAbility.

static Ability createAbility() {
    Ability ability = new HeroicAbility(new CopyPermanentEffect(StaticFilters.FILTER_PERMANENT_CREATURE, new ArtisanOfFormsCopyApplier(), true).setText("have {this} become a copy of target creature, except it has this ability"), true);
    ability.addTarget(new TargetCreaturePermanent());
    return ability;
}
Also used : HeroicAbility(mage.abilities.keyword.HeroicAbility) Ability(mage.abilities.Ability) TargetCreaturePermanent(mage.target.common.TargetCreaturePermanent) CopyPermanentEffect(mage.abilities.effects.common.CopyPermanentEffect) HeroicAbility(mage.abilities.keyword.HeroicAbility)

Aggregations

Ability (mage.abilities.Ability)3 CopyPermanentEffect (mage.abilities.effects.common.CopyPermanentEffect)3 TargetPermanent (mage.target.TargetPermanent)2 ConstellationAbility (mage.abilities.abilityword.ConstellationAbility)1 CycleControllerTriggeredAbility (mage.abilities.common.CycleControllerTriggeredAbility)1 HeroicAbility (mage.abilities.keyword.HeroicAbility)1 TargetCreaturePermanent (mage.target.common.TargetCreaturePermanent)1