Examples of DetainTargetEffect


Examples of mage.abilities.effects.common.DetainTargetEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // Whenever Archon of the Triumvirate attacks, detain up to two target nonland permanents your opponents control.
        // (Until your next turn, those permanents can't attack or block and their activated abilities can't be activated.)
        Ability ability = new AttacksTriggeredAbility(new DetainTargetEffect(), false);
        ability.addTarget(new TargetNonlandPermanent(0,2,filter, false));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
       
        // {3}{W}{U}: Detain target nonland permanent an opponent controls.
        // (Until your next turn, that permanent can't attack or block and its activated abilities can't be activated.)
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DetainTargetEffect(), new ManaCostsImpl("{3}{W}{U}"));
        TargetNonlandPermanent target = new TargetNonlandPermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // When Isperia's Skywatch enters the battlefield, detain target creature an opponent controls.
        // (Until your next turn, that creature can't attack or block and its activated abilities can't be activated.)
        Ability ability = new EntersBattlefieldTriggeredAbility(new DetainTargetEffect());
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // When Azorius Justiciar enters the battlefield, detain up to two target creatures your opponents control.
        // (Until your next turn, those creatures can't attack or block and their activated abilities can't be activated.)
        Ability ability = new EntersBattlefieldTriggeredAbility(new DetainTargetEffect());
        ability.addTarget(new TargetCreaturePermanent(0,2,filter,false));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // When Lyev Skyknight enters the battlefield, detain target nonland permanent an opponent controls.
        // (Until your next turn, that permanent can't attack or block and its activated abilities can't be activated.)
        Ability ability = new EntersBattlefieldTriggeredAbility(new DetainTargetEffect(), false);
        TargetNonlandPermanent target = new TargetNonlandPermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        // Soulsworn Spirit is unblockable.
        this.addAbility(new UnblockableAbility());
       
        // When Soulsworn Spirit enters the battlefield, detain target creature an opponent controls.
        //(Until your next turn, that creature can't attack or block and its activated abilities can't be activated.)
        Ability ability = new EntersBattlefieldTriggeredAbility(new DetainTargetEffect());
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        super(ownerId, 3, "Lyev Decree", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{W}");
        this.expansionSetCode = "DGM";
        this.color.setWhite(true);

        // Detain up to two target creatures your opponent controls.
        this.getSpellAbility().addEffect(new DetainTargetEffect());
        Target target = new TargetCreaturePermanent(0,2,filter,false);
        this.getSpellAbility().addTarget(target);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        this.color.setWhite(true);

        // At the beginning of your upkeep, detain target creature an opponent controls.
        // (Until your next turn, that creature can't attack or block and its activated abilities can't be activated.)
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new DetainTargetEffect(), TargetController.YOU, false);
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

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

        // When Azorius Arrester enters the battlefield, detain target creature an opponent controls.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DetainTargetEffect(), false);
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DetainTargetEffect

        this.color.setBlue(true);
        // Detain target creature an opponent controls.
        // (Until your next turn, that creature can't attack or block and its activated abilities can't be activated.)
        this.getSpellAbility().addEffect(new DetainTargetEffect());
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        this.getSpellAbility().addTarget(target);
       
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
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.