Fix for Baron triggering on playing Morph creatures
@@ -157,6 +157,7 @@ class BaronVonCountTriggeredAbility extends TriggeredAbilityImpl {
}
Integer doomNumber = (Integer) game.getState().getValue(mageObject.getId() + "_doom");
if (spell != null && sourcePermanent != null && mageObject != null && doomNumber > 0) {
+ if (!spell.isFaceDown(game)) {
String doomString = doomNumber.toString();
if (spell.getCard().getManaCost().getText().contains(doomString)
|| String.valueOf(spell.getPower().getBaseValue()).contains(doomString)
@@ -171,6 +172,7 @@ class BaronVonCountTriggeredAbility extends TriggeredAbilityImpl {
}
}
}
+ }
return false;
}
