mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Brago King Eternal - Added missing ability.
This commit is contained in:
parent
8bf72382e4
commit
7b21953f05
2 changed files with 17 additions and 0 deletions
|
@ -56,6 +56,9 @@ public class MoltenPsyche extends CardImpl {
|
||||||
super(ownerId, 98, "Molten Psyche", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
|
super(ownerId, 98, "Molten Psyche", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
|
||||||
this.expansionSetCode = "SOM";
|
this.expansionSetCode = "SOM";
|
||||||
this.color.setRed(true);
|
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.getSpellAbility().addEffect(new MoltenPsycheEffect());
|
||||||
this.addWatcher(new MoltenPsycheWatcher());
|
this.addWatcher(new MoltenPsycheWatcher());
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,18 @@ package mage.sets.vintagemasters;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.MageInt;
|
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.abilities.keyword.FlyingAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Rarity;
|
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
|
// Flying
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
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.
|
// 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) {
|
public BragoKingEternal(final BragoKingEternal card) {
|
||||||
|
|
Loading…
Reference in a new issue