* Elite Spellbinder - Fixed that the playable check for the exiled card did not check the required mana correctly.
package mage.cards.e;
+import java.util.UUID;
import mage.MageInt;
import mage.MageObjectReference;
import mage.abilities.Ability;
@@ -20,8 +21,6 @@ import mage.target.common.TargetCardInHand;
import mage.target.common.TargetOpponent;
import mage.util.CardUtil;
-import java.util.UUID;
-
/**
* @author TheElk801
*/
@@ -152,8 +151,14 @@ class EliteSpellbinderCostEffect extends CostModificationEffectImpl {
@Override
public boolean applies(Ability abilityToModify, Ability source, Game game) {
+ if (game.inCheckPlayableState()) { // during playable check, the card is still in exile zone, the zcc is one less
+ UUID cardtoCheckId = CardUtil.getMainCardId(game, abilityToModify.getSourceId());
+ return mor.getSourceId().equals(cardtoCheckId)
+ && mor.getZoneChangeCounter() == game.getState().getZoneChangeCounter(cardtoCheckId) + 1;
+ } else {
return mor.refersTo(CardUtil.getMainCardId(game, abilityToModify.getSourceId()), game);
}
+ }
@Override
public EliteSpellbinderCostEffect copy() {
