* Dee-Sea Kraken - Fixed a bug that oponent spells didn't trigger the ability to remove supend counters.

This commit is contained in:
LevelX2 2014-07-19 22:13:16 +02:00
parent c945d2367c
commit 993cb99e11

View file

@ -85,7 +85,7 @@ public class SpellCastAllTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) { public boolean checkTrigger(GameEvent event, Game game) {
if (event.getType() == GameEvent.EventType.SPELL_CAST) { if (event.getType() == GameEvent.EventType.SPELL_CAST) {
Spell spell = game.getStack().getSpell(event.getTargetId()); Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && filter.match(spell, game)) { if (spell != null && filter.match(spell, getControllerId(), game)) {
if (rememberSource) { if (rememberSource) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(spell.getId())); this.getEffects().get(0).setTargetPointer(new FixedTarget(spell.getId()));
} }