mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Eye of the Storm - Fixed copy check.
This commit is contained in:
parent
d71eaef879
commit
89718f0d0a
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ class EyeOfTheStormAbility extends TriggeredAbilityImpl {
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
Spell spell = game.getStack().getSpell(event.getTargetId());
|
||||
if (spell != null && !spell.isCopy()
|
||||
if (spell != null
|
||||
&& !spell.isCopy()
|
||||
&& spell.getCard() != null
|
||||
&& !spell.getCard().isCopy()
|
||||
&& (spell.getCardType().contains(CardType.INSTANT) || spell.getCardType().contains(CardType.SORCERY))) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
effect.setTargetPointer(new FixedTarget(event.getTargetId()));
|
||||
|
|
Loading…
Reference in a new issue