mirror of
https://github.com/correl/mage.git
synced 2025-03-16 09:16:26 -09: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)) {
|
if (!controllerId.equals(playerId)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Why is this check made? It prevents Flashback with non mana costs (Cabal Therapy)
|
// 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()) {
|
if (this.getManaCosts().isEmpty() && this.getCosts().isEmpty()) {
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
if (costs.canPay(sourceId, controllerId, game)) {
|
if (costs.canPay(sourceId, controllerId, game)) {
|
||||||
if (getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) {
|
if (getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) {
|
||||||
SplitCard splitCard = (SplitCard) game.getCard(getSourceId());
|
SplitCard splitCard = (SplitCard) game.getCard(getSourceId());
|
||||||
|
|
Loading…
Add table
Reference in a new issue