Examples of CantBlockTargetEffect


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

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

        // Whenever Grotag Thrasher attacks, target creature can't block this turn.
        AttacksTriggeredAbility ability = new AttacksTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

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

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
       
        // When Hammerhand enters the battlefield, target creature can't block this turn.
        ability = new EntersBattlefieldTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
       
        // Enchanted creature gets +1/+1 and has haste.
        Effect effect = new BoostEnchantedEffect(1, 1);
View Full Code Here

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

        this.expansionSetCode = "WWK";

        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new RedManaAbility());
        // When Smoldering Spires enters the battlefield, target creature can't block this turn.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

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

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

        // Whenever you cast a red spell, target creature can't block this turn.
        Ability ability = new SpellCastControllerTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn), filter, false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

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

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

        // <i>Heroic</i>  Whenever you cast a spell that targets Arena Athlete, target creature an opponent controls can't block this turn.
        Ability ability = new HeroicAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
        TargetCreaturePermanent target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

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

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

        // Battalion — Whenever Firefist Striker and at least two other creatures attack, target creature can't block this turn.
        Ability ability = new BattalionAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

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

        this.expansionSetCode = "CHK";
        this.subtype.add("Arcane");
        this.color.setRed(true);

        // Up to three target creatures can't block this turn.
        this.getSpellAbility().addEffect(new CantBlockTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 3));

    }
View Full Code Here

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

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

        // Whenever Frenzied Goblin attacks, you may pay {R}. If you do, target creature can't block this turn.
        Ability ability = new AttacksTriggeredAbility(new DoIfCostPaid(new CantBlockTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{R}")),false,
                "Whenever {this} attacks you may pay {R}. If you do, target creature can't block this turn.");
        Target target = new TargetCreaturePermanent();
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

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

        // Cascade
        this.addAbility(new CascadeAbility());

        // Target creature can't block this turn.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CantBlockTargetEffect(Duration.EndOfTurn));

    }
View Full Code Here

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

        this.expansionSetCode = "M10";

        this.color.setRed(true);

        // Up to three target creatures can't block this turn.
        this.getSpellAbility().addEffect(new CantBlockTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 3));
    }
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.