mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
Fixed Abrubt Decay could be countered by Kira, Great Glass-Spinner's ability
This commit is contained in:
parent
14d899ea79
commit
7720301fa7
1 changed files with 3 additions and 2 deletions
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.ContinuousRuleModifiyingEffectImpl;
|
||||
import mage.cards.Card;
|
||||
|
|
@ -38,6 +37,8 @@ import mage.game.Game;
|
|||
import mage.game.events.GameEvent;
|
||||
import mage.game.events.GameEvent.EventType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -68,7 +69,7 @@ public class CantCounterSourceEffect extends ContinuousRuleModifiyingEffectImpl
|
|||
if (event.getType() == EventType.COUNTER) {
|
||||
Card card = game.getCard(source.getSourceId());
|
||||
if (card != null) {
|
||||
UUID spellId = card.getSpellAbility().getId();
|
||||
UUID spellId = card.getSpellAbility().getSourceId();
|
||||
if (event.getTargetId().equals(spellId)) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue