Examples of ActivateAsSorceryActivatedAbility


Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        this.addAbility(IntimidateAbility.getInstance());
        // Sacrifice Brain Weevil: Target player discards two cards. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(2), new SacrificeSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        super(ownerId, 155, "Snake Basket", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "VIS";

        // {X}, Sacrifice Snake Basket: Put X 1/1 green Snake creature tokens onto the battlefield. Activate this ability only any time you could cast a sorcery.
        Effect effect = new CreateTokenEffect(new SnakeToken(), new ManacostVariableValue());
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{X}"));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.subtype.add("Shaman");
    this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        // {B}, Sacrifice a creature: Target player discards a card. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(1),new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        ability.addCost(new ManaCostsImpl("{B}"));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.toughness = new MageInt(1);

        // Bushido 1 (When this blocks or becomes blocked, it gets +1/+1 until end of turn.)
        this.addAbility(new BushidoAbility(1));
        // {1}{W}, {T}: Put a training counter on target creature.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(new Counter("Training")), new ManaCostsImpl("{1}{W}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        // That creature gains bushido 1 and becomes a Samurai in addition to its other creature types. Activate this ability only any time you could cast a sorcery.
        ability.addEffect(new GainAbilityTargetEffect(new BushidoAbility(1),Duration.Custom));
        ability.addEffect(new AddCardSubTypeTargetEffect("Samurai",Duration.Custom));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

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

        // Sacrifice Bloodpyre Elemental: Bloodpyre Elemental deals 4 damage to target creature. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(4), new SacrificeSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Sacrifice a creature: Target player discards two cards. Activate this ability only any time you could cast a sorcery.
        TargetControlledPermanent target = new TargetControlledCreaturePermanent(1,1, new FilterControlledCreaturePermanent("a creature"), true);
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(2), new SacrificeTargetCost(target));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.color.setBlack(true);

        // {B}, Sacrifice a creature: Target opponent reveals his or her hand. You choose a card from it.
        // That player discards that card. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardCardYouChooseTargetEffect(), new ManaCostsImpl("{B}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(LifelinkAbility.getInstance(), Duration.WhileOnBattlefield, new FilterCreaturePermanent("Creatures"))));
        // {2}{B}{B}, {T}: Return target creature card from your graveyard to the battlefield.
        // It gains haste. Exile it at the beginning of the next end step.
        // If it would leave the battlefield, exile it instead of putting it anywhere else.
        // Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new WhipOfErebosEffect(), new ManaCostsImpl("{2}{B}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard")));
        ability.addEffect(new WhipOfErebosReplacementEffect());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

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

        // {4}{B}, {tap}: Target player discards two cards. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(2),new ManaCostsImpl("{4}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // Channel - {5}{B}{B}, Discard Ghost-Lit Stalker: Target player discards four cards. Activate this ability only any time you could cast a sorcery.
        Ability ability2 = new ChannelAbility("{5}{B}{B}", new DiscardTargetEffect(4), TimingRule.SORCERY);
        ability2.addTarget(new TargetPlayer());
        this.addAbility(ability2);
View Full Code Here

Examples of mage.abilities.common.ActivateAsSorceryActivatedAbility

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

        // {3}{U}: Target player draws a card. Activate this ability only any time you could cast a sorcery.
        Ability firstAbility = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(1), new ManaCostsImpl("{3}{U}"));
        firstAbility.addTarget(new TargetPlayer());
        this.addAbility(firstAbility);
        // {3}{B}: Target player discards a card. Activate this ability only any time you could cast a sorcery.
        Ability secondAbility = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(1), new ManaCostsImpl("{3}{B}"));
        secondAbility.addTarget(new TargetPlayer());
        this.addAbility(secondAbility);
    }
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.