forked from External/mage
Merge pull request #2688 from spjspj/master
spjspj - Eye of the Storm fix
This commit is contained in:
commit
45a614c2ba
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ import mage.util.CardUtil;
|
|||
public class EyeOfTheStorm extends CardImpl {
|
||||
|
||||
public EyeOfTheStorm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{5}{U}{U}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{5}{U}{U}");
|
||||
|
||||
// Whenever a player casts an instant or sorcery card, exile it. Then that player copies each instant or sorcery card exiled with Eye of the Storm. For each copy, the player may cast the copy without paying its mana cost.
|
||||
this.addAbility(new EyeOfTheStormAbility());
|
||||
|
|
@ -101,7 +101,7 @@ class EyeOfTheStormAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (event.getZone() == Zone.HAND) {
|
||||
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))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue