* Eye of the Storm - removed the check that the spell has to be cast from the hand zone (fixes #2684).

This commit is contained in:
LevelX2 2016-12-17 01:14:53 +01:00
parent 8ed258010a
commit 0ce97cc0a7

View file

@ -36,7 +36,6 @@ import mage.cards.Card;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.cards.CardsImpl;
import mage.cards.CardSetInfo;
import mage.cards.SplitCard;
import mage.constants.CardType;
import mage.constants.Outcome;
@ -101,15 +100,13 @@ class EyeOfTheStormAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getZone() != Zone.OUTSIDE) {
Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && !spell.isCopy()
&& (spell.getCardType().contains(CardType.INSTANT) || spell.getCardType().contains(CardType.SORCERY))) {
for (Effect effect : this.getEffects()) {
effect.setTargetPointer(new FixedTarget(event.getTargetId()));
}
return true;
Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && !spell.isCopy()
&& (spell.getCardType().contains(CardType.INSTANT) || spell.getCardType().contains(CardType.SORCERY))) {
for (Effect effect : this.getEffects()) {
effect.setTargetPointer(new FixedTarget(event.getTargetId()));
}
return true;
}
return false;
}
@ -130,7 +127,9 @@ class EyeOfTheStormEffect1 extends OneShotEffect {
public EyeOfTheStormEffect1() {
super(Outcome.Neutral);
staticText = "Whenever a player casts an instant or sorcery card, exile it. Then that player copies each instant or sorcery card exiled with {this}. For each copy, the player may cast the copy without paying its mana cost";
staticText = "Whenever a player casts an instant or sorcery card, exile it. "
+ "Then that player copies each instant or sorcery card exiled with {this}. "
+ "For each copy, the player may cast the copy without paying its mana cost";
}
public EyeOfTheStormEffect1(final EyeOfTheStormEffect1 effect) {