* Fixed a problem that you can see the second card from top of libraray while able to cancel the cast of the top card (fixes #3196).

This commit is contained in:
LevelX2 2017-07-12 17:05:44 +02:00
parent db4dc81d5f
commit eb9a18c07a
3 changed files with 17 additions and 4 deletions

View file

@ -138,6 +138,7 @@ public class Spell extends StackObjImpl implements Card {
}
public boolean activate(Game game, boolean noMana) {
setDoneActivatingManaAbilities(false); // Used for e.g. improvise
if (!spellAbilities.get(0).activate(game, noMana)) {
return false;
}
@ -157,7 +158,7 @@ public class Spell extends StackObjImpl implements Card {
}
}
}
setDoneActivatingManaAbilities(false); // can be activated again maybe during the resolution of the spell (e.g. Metallic Rebuke)
setDoneActivatingManaAbilities(true); // can be activated again maybe during the resolution of the spell (e.g. Metallic Rebuke)
return true;
}