From cecc8bc1df575ab9b5d3cb3151dd536f299d0839 Mon Sep 17 00:00:00 2001 From: Plopman Date: Fri, 5 Apr 2013 17:58:37 +0200 Subject: [PATCH] Fix AlternativeCost. It's no longer possible to cast spells with alternative caost for any zone --- Mage/src/mage/players/PlayerImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index fe4df43a022..164f5f0accd 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -718,7 +718,9 @@ public abstract class PlayerImpl> implements Player, Ser for (ActivatedAbility ability: object.getAbilities().getActivatedAbilities(Zone.HAND)) { useable.put(ability.getId(), ability); } - } else { + } + //Alternative cost are not use for Flashback. This lines alloews to play spell with Alternative cost (like Force of Will) from wrong zone + /*else { // this allows alternative costs like Flashback work from other than hand zones for (ActivatedAbility ability: object.getAbilities().getActivatedAbilities(Zone.HAND)) { for (AlternativeCost cost: ability.getAlternativeCosts()) { @@ -727,7 +729,7 @@ public abstract class PlayerImpl> implements Player, Ser } } } - } + }*/ } Abilities otherAbilities = game.getState().getOtherAbilities(object.getId(), zone); if (otherAbilities != null) {