Package mage.abilities.effects.common.continious

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


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

        // Bloodrush - 1{R}{G}, Discard Zhur-Taa Swine: Target attacking creature gets +5/+4 until end of turn.
        this.addAbility(new BloodrushAbility("{1}{R}{G}", new BoostTargetEffect(5,4, Duration.EndOfTurn)));


    }
View Full Code Here


        this.addAbility(new DelveAbility());
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // {X}, {T}, Exile X cards from your graveyard: Target creature gets -X/-X until end of turn.
        DynamicValue xValue = new SignInversionDynamicValue(new ManacostVariableValue());
        Effect effect = new BoostTargetEffect(xValue,xValue,Duration.EndOfTurn);
        effect.setText("Target creature gets -X/-X until end of turn");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{X}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(1,1,new FilterCard("cards from your graveyard")), "Exile X cards from your graveyard"));
        this.addAbility(ability);
View Full Code Here

        this.expansionSetCode = "KTK";

        this.color.setGreen(true);
        // <i>Ferocious</i> - The creature you control gets +2/+2 until end of turn before it fights if you control a creature with power 4 or greater.
        Effect effect = new ConditionalContinousEffect(
                new BoostTargetEffect(2,2,Duration.EndOfTurn),
                new LockedInCondition(FerociousCondition.getInstance()),
                "<i>Ferocious</i> - The creature you control gets +2/+2 until end of turn before it fights if you control a creature with power 4 or greater");
        effect.setApplyEffectsAfter();
        this.getSpellAbility().addEffect(effect);
View Full Code Here

        this.color.setBlack(true);

        // Target creature gets -3/-3 until end of turn. You lose 3 life.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(-3, -3, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(3));
    }
View Full Code Here

        // Strive - Setessan Tactics costs G more to cast for each target beyond the first.
        this.addAbility(new StriveAbility("{G}"));
        // Until end of turn, any number of target creatures each get +1/+1 and gain "T: This creature fights another target creature."
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE));
        Effect effect = new BoostTargetEffect(1,1, Duration.EndOfTurn);
        effect.setText("Until end of turn, any number of target creatures each get +1/+1");
        this.getSpellAbility().addEffect(effect);
        Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new FightTargetSourceEffect(), new TapSourceCost());
        gainedAbility.addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(gainedAbility, Duration.EndOfTurn,
                "and gain \"T: This creature fights another target creature.\""));
View Full Code Here

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

        // Morbid - When Morkut Banshee enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn.
        TriggeredAbility triggeredAbility = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(-4, -4, Duration.EndOfTurn));
        TriggeredAbility ability = new ConditionalTriggeredAbility(triggeredAbility, MorbidCondition.getInstance(), staticText);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

    static {
        filter.add(new AnotherPredicate());
    }

    public EfreetWeaponmasterAbility() {
        super(Zone.BATTLEFIELD, new BoostTargetEffect(3,0, Duration.EndOfTurn), false);
        this.addTarget(new TargetControlledCreaturePermanent(filter));
        this.setWorksFaceDown(true);
    }
View Full Code Here

        this.color.setGreen(true);

        // Delve
        this.addAbility(new DelveAbility());
        // Target creature gets +6/+6 until end of turn
        this.getSpellAbility().addEffect(new BoostTargetEffect(6,6,Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.color.setWhite(true);

        // Strive - Desperate Stand costs RW more to cast for each target beyond the first.
        this.addAbility(new StriveAbility("{R}{W}"));
        // Any number of target creatures each get +2/+0 and gain first strike and vigilance until end of turn.
        Effect effect = new BoostTargetEffect(2,0,Duration.EndOfTurn);
        effect.setText("Any number of target creatures each get +2/+0");
        this.getSpellAbility().addEffect(effect);       
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, "and gain first strike"));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn, "and vigilance until end of turn"));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE));
       
View Full Code Here

        this.expansionSetCode = "KTK";

        this.color.setRed(true);

        // Target creature you control gets +1/+0 until end of turn. It fights target creature you don't control.
        Effect effect = new BoostTargetEffect(1,0,Duration.EndOfTurn);
        effect.setApplyEffectsAfter();
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
       
        effect = new FightTargetsEffect();
        effect.setText("It fights target creature you don't control");
        this.getSpellAbility().addEffect(effect);       
        Target target = new TargetCreaturePermanent(filter);
        this.getSpellAbility().addTarget(target);

    }
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.