Examples of DamageControllerEffect


Examples of mage.abilities.effects.common.DamageControllerEffect

        this.expansionSetCode = "10E";
       
        this.addAbility(new ColorlessManaAbility());

        Ability redManaAbility = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.RedMana, new TapSourceCost());
        redManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(redManaAbility);
        Ability greenManaAbility = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.GreenMana, new TapSourceCost());
        greenManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(greenManaAbility);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        super(ownerId, 316, "Centaur Garden", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ODY";

        // {tap}: Add {G} to your mana pool. Centaur Garden deals 1 damage to you.
        Ability manaAbility = new GreenManaAbility();
        manaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(manaAbility);

        // Threshold - {G}, {tap}, Sacrifice Centaur Garden: Target creature gets +3/+3 until end of turn. Activate this ability only if seven or more cards are in your graveyard.
        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new BoostTargetEffect(+3,+3, Duration.EndOfTurn),
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.toughness = new MageInt(4);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // At the beginning of your upkeep, Serendib Efreet deals 1 damage to you.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new DamageControllerEffect(1), TargetController.YOU, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}: Add {U} or {B} to your mana pool. Talisman of Dominance deals 1 damage to you.
        Ability blueManaAbility = new BlueManaAbility();
        blueManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(blueManaAbility);
        Ability blackManaAbility = new BlackManaAbility();
        blackManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(blackManaAbility);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}: Add {U} or {R} to your mana pool. Caldera Lake deals 1 damage to you.
        Ability ability = new BlueManaAbility();
        ability.addEffect(new DamageControllerEffect(1));
        this.addAbility(ability);
        ability = new RedManaAbility();
        ability.addEffect(new DamageControllerEffect(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        super(ownerId, 313, "Barbarian Ring", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ODY";

        // {T}: Add {R} to your mana pool. Barbarian Ring deals 1 damage to you.
        Ability redManaAbility = new RedManaAbility();
        redManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(redManaAbility);

        // Threshold - {R}, {T}, Sacrifice Barbarian Ring: Barbarian Ring deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.
        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new DamageTargetEffect(2),
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana, new TapSourceCost()));
        // {tap}: Add one mana of any color to your mana pool. Tarnished Citadel deals 3 damage to you.
        ManaAbility ability = new AnyColorManaAbility(new TapSourceCost());
        ability.addEffect(new DamageControllerEffect(3));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.expansionSetCode = "SOK";
        this.supertype.add("Legendary");

        // {tap}: Add {B} to your mana pool. Tomb of Urami deals 1 damage to you if you don't control an Ogre.
        Ability ability = new BlackManaAbility();
        ability.addEffect(new DamageControllerEffect(1));
        this.addAbility(ability);
        // {2}{B}{B}, {tap}, Sacrifice all lands you control: Put a legendary 5/5 black Demon Spirit creature token with flying named Urami onto the battlefield.
        Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new UramiToken()), new ManaCostsImpl("{2}{B}{B}"));
        ability2.addCost(new TapSourceCost());
        ability2.addCost(new SacrificeAllLandCost());
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.color.setRed(true);

        // Players can't gain life.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantGainLifeAllEffect()));
        // At the beginning of your upkeep, Witch Hunt deals 4 damage to you.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DamageControllerEffect(4), TargetController.YOU, false));
        // At the beginning of your end step, target opponent chosen at random gains control of Witch Hunt.
        Ability ability = new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new WitchHuntEffect(), TargetController.YOU, null, false);
        Target target = new TargetOpponent();
        target.setRandom(true);
        ability.addTarget(target);
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.color.setRed(true);

        // Char deals 4 damage to target creature or player and 2 damage to you.
        this.getSpellAbility().addEffect(new DamageTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        Effect effect = new DamageControllerEffect(2);
        effect.setText("and 2 damage to you");
        this.getSpellAbility().addEffect(effect);
    }
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.