Package mage.abilities.effects.common.continious

Examples of mage.abilities.effects.common.continious.BoostTargetEffect


        // Target creature can't be the target of spells or abilities your opponents control this turn.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CantBeTargetedTargetEffect(filter, Duration.EndOfTurn));

        // If Vines of Vastwood was kicked, that creature gets +4/+4 until end of turn.
        this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(4, 4, Duration.EndOfTurn),
                new LockedInCondition(KickedCondition.getInstance()), staticText));
    }
View Full Code Here


    public TeeteringPeaks(UUID ownerId) {
        super(ownerId, 226, "Teetering Peaks", Rarity.COMMON, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "ZEN";
        this.addAbility(new EntersBattlefieldTappedAbility());
        Ability ability = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(2, 0, Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
        this.addAbility(new RedManaAbility());
    }
View Full Code Here

        super(ownerId, 227, "Turntimber Grove", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ZEN";

        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new GreenManaAbility());
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(1, 1, Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        // Put a 7/1 red Elemental creature token with trample and haste onto the battlefield. Exile it at the beginning of the next end step.
        this.getSpellAbility().addEffect(new ElementalAppealEffect());
        // If Elemental Appeal was kicked, that creature gets +7/+0 until end of turn.
        this.getSpellAbility().addEffect(new ConditionalContinousEffect(
                new BoostTargetEffect(7, 0, Duration.EndOfTurn),
                new LockedInCondition(KickedCondition.getInstance()),
                "If {this} was kicked, that creature gets +7/+0 until end of turn"));
    }
View Full Code Here

        this.expansionSetCode = "ZEN";

        this.color.setGreen(true);
        PermanentsOnBattlefieldCount value = new PermanentsOnBattlefieldCount(filter);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(value, value, Duration.EndOfTurn));
    }
View Full Code Here

    public Disfigure(UUID ownerId) {
        super(ownerId, 87, "Disfigure", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}");
        this.expansionSetCode = "ZEN";

        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new BoostTargetEffect(-2, -2, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.color.setWhite(true);

        // Two target creatures you control each get +2/+2 and gain flying until end of turn.
        this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent(2));
        this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
    }
View Full Code Here

        this.expansionSetCode = "ZEN";

        this.color.setRed(true);

        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(3, 0, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn));
    }
View Full Code Here

class AdventuringGearAbility extends LandfallAbility {

    public AdventuringGearAbility() {
        super(null, false);
        this.addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
        this.addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

* @author BetaSteward_at_googlemail.com
*/
public class ExaltedAbility extends TriggeredAbilityImpl {

    public ExaltedAbility() {
        super(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.continious.BoostTargetEffect

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.