mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
spjspj - Eye of the Storm fix
This commit is contained in:
parent
ce8befffdd
commit
9c6b9073a8
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…
Reference in a new issue