mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Suspend - Fixed that cards with suspend but without costs (e.g. Living End) could be cast for no costs (without Suspend).
This commit is contained in:
parent
6a827fcce8
commit
f49235a34f
1 changed files with 4 additions and 4 deletions
|
@ -93,10 +93,10 @@ public class SpellAbility extends ActivatedAbilityImpl<SpellAbility> {
|
|||
if (!controllerId.equals(playerId)) {
|
||||
return false;
|
||||
}
|
||||
// Why is this check made? It prevents Flashback with non mana costs (Cabal Therapy)
|
||||
// if (this.getManaCosts().isEmpty()) {
|
||||
// return false;
|
||||
// }
|
||||
// Check if spell has no costs (not {0} mana costs), than it's not castable. E.g. for spells like Living End, that only can be cast by Suspend Ability.
|
||||
if (this.getManaCosts().isEmpty() && this.getCosts().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
if (costs.canPay(sourceId, controllerId, game)) {
|
||||
if (getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) {
|
||||
SplitCard splitCard = (SplitCard) game.getCard(getSourceId());
|
||||
|
|
Loading…
Reference in a new issue