Examples of CantAttackUnlessDefenderControllsPermanent


Examples of mage.abilities.effects.common.combat.CantAttackUnlessDefenderControllsPermanent

        this.color.setBlue(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(4);

        // Whimwader can't attack unless defending player controls a blue permanent.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantAttackUnlessDefenderControllsPermanent(filter)));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.CantAttackUnlessDefenderControllsPermanent

        this.color.setBlue(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        // Godhunter Octopus can't attack unless defending player controls an enchantment or an enchanted permanent.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantAttackUnlessDefenderControllsPermanent(filter)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.CantAttackUnlessDefenderControllsPermanent

        this.color.setBlue(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        // Sea Serpent can't attack unless defending player controls an Island.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantAttackUnlessDefenderControllsPermanent(filter)));
        // When you control no Islands, sacrifice Sea Serpent.
        this.addAbility(new SeaSerpentTriggeredAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.combat.CantAttackUnlessDefenderControllsPermanent

        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(3);

        // Dreamwinder can't attack unless defending player controls an Island.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantAttackUnlessDefenderControllsPermanent(filter)));
        // {U}, Sacrifice an Island: Target land becomes an Island until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesBasicLandTargetEffect(Duration.EndOfTurn, "Island"), new ManaCostsImpl("{U}"));
        Target target = new TargetLandPermanent();
        ability.addTarget(target);
        ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(1, 1, filter, true)));
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.