Examples of DamageControllerEffect


Examples of mage.abilities.effects.common.DamageControllerEffect

        this.toughness = new MageInt(3);

        // {tap}: Orcish Artillery deals 2 damage to target creature or player and 3 damage to you.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        ability.addEffect(new DamageControllerEffect(3));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.color.setRed(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Whenever Horde Ambusher blocks, it deals 1 damage to you.
        this.addAbility(new BlocksTriggeredAbility(new DamageControllerEffect(1), false));
       
        // Morph - Reveal a red card in your hand.
        this.addAbility(new MorphAbility(this, new RevealTargetFromHandCost(new TargetCardInHand(filter))));
       
        // When Horde Ambusher is turned face up, target creature can't block this turn.
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 one mana of any color to your mana pool. Grand Coliseum deals 1 damage to you.
        Ability ability = new AnyColorManaAbility();
        ability.addEffect(new DamageControllerEffect(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.color.setBlack(true);

        // Exile two target nonartifact creatures. Ashes to Ashes deals 5 damage to you.
        this.getSpellAbility().addEffect(new AshesToAshesEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(2, filter));
        this.getSpellAbility().addEffect(new DamageControllerEffect(5));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);

        // Whenever enchanted creature becomes tapped, Lust for War deals 3 damage to that creature's controller.
        Ability attachedAbility = new BecomesTappedTriggeredAbility(new DamageControllerEffect(3));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(attachedAbility, AttachmentType.AURA)));

        // Enchanted creature attacks each turn if able.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(new AttacksEachTurnStaticAbility(), AttachmentType.AURA)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        super(ownerId, 349, "Brushland", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "10E";
        this.addAbility(new ColorlessManaAbility());

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

Examples of mage.abilities.effects.common.DamageControllerEffect

    public CityOfBrass(UUID ownerId) {
        super(ownerId, 327, "City of Brass", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "7ED";

        // Whenever City of Brass becomes tapped, it deals 1 damage to you.
        this.addAbility(new BecomesTappedTriggeredAbility(new DamageControllerEffect(1)));

        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.toughness = new MageInt(1);

        // {tap}: Sparksmith deals X damage to target creature and X damage to you, where X is the number of Goblins on the battlefield.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)), new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        ability.addEffect(new DamageControllerEffect(new PermanentsOnBattlefieldCount(filter)));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

        this.expansionSetCode = "10E";

        this.addAbility(new ColorlessManaAbility());

        Ability blueManaAbility = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlueMana, new TapSourceCost());
        blueManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(blueManaAbility);
        Ability blackManaAbility = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana, new TapSourceCost());
        blackManaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(blackManaAbility);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageControllerEffect

                new DoIfCostPaid(new UntapSourceEffect(), new GenericManaCost(4)),
                TargetController.YOU,
                false));
        // At the beginning of your draw step, if Mana Vault is tapped, it deals 1 damage to you.
        this.addAbility(new ConditionalTriggeredAbility(
                new BeginningOfDrawTriggeredAbility(Zone.BATTLEFIELD, new DamageControllerEffect(1), TargetController.YOU, false),
                SourceTappedCondition.getInstance(),
                "At the beginning of your draw step, if Mana Vault is tapped, it deals 1 damage to you.", false));
        // {tap}: Add {3} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(3), new TapSourceCost()));
    }
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.