[MID] Fixed ETB abilities triggering Flame Channeler (fixes #8418)

This commit is contained in:
Daniel Bomar 2021-10-30 20:54:51 -05:00
parent cdfe3d1d2d
commit f3397dcf4f
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ class EmbodimentOfFlameTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
Spell spell = game.getSpellOrLKIStack(event.getSourceId());
return spell != null && isControlledBy(spell.getControllerId());
return spell != null && isControlledBy(spell.getControllerId()) && spell.isInstantOrSorcery(game);
}
@Override

View file

@ -68,7 +68,7 @@ class FlameChannelerTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
Spell spell = game.getSpellOrLKIStack(event.getSourceId());
return spell != null && isControlledBy(spell.getControllerId());
return spell != null && isControlledBy(spell.getControllerId()) && spell.isInstantOrSorcery(game);
}
@Override