mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Dee-Sea Kraken - Fixed a bug that oponent spells didn't trigger the ability to remove supend counters.
This commit is contained in:
parent
c945d2367c
commit
993cb99e11
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue