Package mage.abilities.effects.common.combat

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


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

        // {U}, {tap}: Target creature is unblockable this turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new UnblockableTargetEffect(),
                new ManaCostsImpl("{U}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
        // Transmute {1}{U}{U}
View Full Code Here


        // {tap}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
        // {tap}: Target creature is unblockable this turn.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnblockableTargetEffect(), new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "DKA";

        this.color.setBlue(true);

        // Target creature is unblockable this turn.
        this.getSpellAbility().addEffect(new UnblockableTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Flashback {U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        // {T}: Add {1} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(0, 0, 0, 0, 0, 1, 0), new TapSourceCost()));

        // {4}, {T}: Target creature is unblockable this turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnblockableTargetEffect(), new ManaCostsImpl("{4}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        // Target creature gains shroud until end of turn and is unblockable this turn.
        Effect effect = new GainAbilityTargetEffect(ShroudAbility.getInstance(), Duration.EndOfTurn);
        effect.setText("Target creature gains shroud until end of turn");
        this.getSpellAbility().addEffect(effect);
        effect = new UnblockableTargetEffect();
        effect.setText("and is unblockable this turn");
        this.getSpellAbility().addEffect(effect);
       
        // Splice onto Arcane-Return a blue creature you control to its owner's hand.
        this.addAbility(new SpliceOntoArcaneAbility(new ReturnToHandTargetCost(new TargetControlledCreaturePermanent(filter))));
View Full Code Here

        this.toughness = new MageInt(2);

        // Other Merfolk creatures you control get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter1, true)));
        // {tap}: Target Merfolk creature is unblockable this turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UnblockableTargetEffect(), new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent(filter2));
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.combat.UnblockableTargetEffect

Copyright © 2018 www.massapicom. 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.