forked from External/mage
Improved Word of Command turn control handling
This commit is contained in:
parent
b7c6afc66d
commit
492c5ab63e
5 changed files with 45 additions and 57 deletions
|
|
@ -36,7 +36,13 @@ public class SpellStack extends ArrayDeque<StackObject> {
|
|||
StackObject top = null;
|
||||
try {
|
||||
top = this.peek();
|
||||
top.resolve(game);
|
||||
Spell topSpell = getSpell(top.getId());
|
||||
if (topSpell != null) {
|
||||
top.resolve(game);
|
||||
game.resetControlAfterSpellResolve(topSpell);
|
||||
} else {
|
||||
top.resolve(game);
|
||||
}
|
||||
} finally {
|
||||
if (top != null) {
|
||||
if (contains(top)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue