Package mage.abilities.effects.common.continious

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


        this.color.setBlue(true);
        this.color.setGreen(true);

        // Until end of turn, target creature loses all abilities
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature loses all abilities");
        this.getSpellAbility().addEffect(effect);
        // and becomes a green Snake with base power and toughness 1/1.
        effect = new BecomesCreatureTargetEffect(new SnakeToken(), null, Duration.EndOfTurn);
        effect.setText("and becomes a green Snake with base power and toughness 1/1");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
       
        // Draw a card.
        effect = new DrawCardSourceControllerEffect(1);
        effect.setText("<br>Draw a card.");
        this.getSpellAbility().addEffect(effect);
       
    }
View Full Code Here


        this.color.setRed(true);
        this.color.setBlue(true);

        // Until end of turn, target creature you control becomes a blue and red Dragon with base power and toughness 4/4, loses all abilities, and gains flying.
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("");
        this.getSpellAbility().addEffect(effect);
        effect = new BecomesCreatureTargetEffect(new DragonToken(), null, Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature you control becomes a blue and red Dragon with base power and toughness 4/4, loses all abilities, and gains flying.");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());

        // Overload {3}{U}{U}{R}{R}
        Ability ability = new OverloadAbility(this, new LoseAllAbilitiesAllEffect(new FilterControlledCreaturePermanent(""), Duration.EndOfTurn), new ManaCostsImpl("{3}{U}{U}{R}{R}"));
View Full Code Here

        this.color.setRed(true);

        // Turn
        // Until end of turn, target creature loses all abilities and becomes a red Weird with base power and toughness 0/1.
        getLeftHalfCard().getColor().setBlue(true);
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature loses all abilities");
        getLeftHalfCard().getSpellAbility().addEffect(effect);
        effect = new BecomesCreatureTargetEffect(new WeirdToken(), null, Duration.EndOfTurn);
        effect.setText("and becomes a red Weird with base power and toughness 0/1");
        getLeftHalfCard().getSpellAbility().addEffect(effect);
        getLeftHalfCard().getSpellAbility().addTarget(new TargetCreaturePermanent());

        // Burn
        // Burn deals 2 damage to target creature or player.
        getRightHalfCard().getColor().setRed(true);
        effect = new DamageTargetEffect(2);
        effect.setText("Burn deals 2 damage to target creature or player");
        getRightHalfCard().getSpellAbility().addEffect(effect);
        getRightHalfCard().getSpellAbility().addTarget(new TargetCreatureOrPlayer());

    }
View Full Code Here

        this.expansionSetCode = "M12";

        this.color.setBlue(true);

        // Until end of turn, target creature loses all abilities and becomes a blue Frog with base power and toughness 1/1.
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature loses all abilities");
        this.getSpellAbility().addEffect(effect);
        effect = new BecomesCreatureTargetEffect(new FrogToken(), null, Duration.EndOfTurn);
        effect.setText("and becomes a blue Frog with base power and toughness 1/1");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

TOP

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

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.