From 7b21953f0567106359c5803c3ac26773824e2ee5 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 13 Nov 2014 00:18:26 +0100 Subject: [PATCH] * Brago King Eternal - Added missing ability. --- .../mage/sets/scarsofmirrodin/MoltenPsyche.java | 3 +++ .../mage/sets/vintagemasters/BragoKingEternal.java | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/MoltenPsyche.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/MoltenPsyche.java index 0deef747a8..f3a7c906f5 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/MoltenPsyche.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/MoltenPsyche.java @@ -56,6 +56,9 @@ public class MoltenPsyche extends CardImpl { super(ownerId, 98, "Molten Psyche", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{R}{R}"); this.expansionSetCode = "SOM"; this.color.setRed(true); + + // Each player shuffles the cards from his or her hand into his or her library, then draws that many cards. + // Metalcraft - If you control three or more artifacts, Molten Psyche deals damage to each opponent equal to the number of cards that player has drawn this turn. this.getSpellAbility().addEffect(new MoltenPsycheEffect()); this.addWatcher(new MoltenPsycheWatcher()); } diff --git a/Mage.Sets/src/mage/sets/vintagemasters/BragoKingEternal.java b/Mage.Sets/src/mage/sets/vintagemasters/BragoKingEternal.java index e6d59e51a4..3e2dce1821 100644 --- a/Mage.Sets/src/mage/sets/vintagemasters/BragoKingEternal.java +++ b/Mage.Sets/src/mage/sets/vintagemasters/BragoKingEternal.java @@ -29,10 +29,18 @@ package mage.sets.vintagemasters; import java.util.UUID; import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility; +import mage.abilities.effects.Effect; +import mage.abilities.effects.common.ExileTargetEffect; +import mage.abilities.effects.common.ReturnFromExileEffect; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Rarity; +import mage.constants.Zone; +import mage.filter.common.FilterNonlandPermanent; +import mage.target.common.TargetControlledPermanent; /** * @@ -54,6 +62,12 @@ public class BragoKingEternal extends CardImpl { // Flying this.addAbility(FlyingAbility.getInstance()); // When Brago, King Eternal deals combat damage to a player, exile any number of target nonland permanents you control, then return those cards to the battlefield under their owner's control. + Effect effect = new ExileTargetEffect(this.getId(), this.getName(), Zone.BATTLEFIELD); + effect.setText("exile any number of target nonland permanents you control"); + Ability ability = new DealsCombatDamageToAPlayerTriggeredAbility(effect, false); + ability.addTarget(new TargetControlledPermanent(0, Integer.MAX_VALUE, new FilterNonlandPermanent(), false)); + ability.addEffect(new ReturnFromExileEffect(this.getId(), Zone.BATTLEFIELD, ", then return those cards to the battlefield under their owner's control")); + this.addAbility(ability); } public BragoKingEternal(final BragoKingEternal card) {