* Unbound Flourishing - fixed that it can copy spells without X;

This commit is contained in:
Oleg Agafonov 2019-06-22 05:53:25 +04:00
parent 8c4dc55a8f
commit ee5a6d8d10

View file

@ -129,8 +129,10 @@ class UnboundFlourishingCopyAbility extends TriggeredAbilityImpl {
if (event.getType() == GameEvent.EventType.SPELL_CAST) {
Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && spell.isInstantOrSorcery()) {
game.getState().setValue(this.getSourceId() + UnboundFlourishing.needPrefix, spell);
return true;
if (spell.getSpellAbility().getManaCostsToPay().containsX()) {
game.getState().setValue(this.getSourceId() + UnboundFlourishing.needPrefix, spell);
return true;
}
}
}