* Counterbalance - Fixed that the counter effect did not correctly work.

This commit is contained in:
LevelX2 2014-03-23 09:06:58 +01:00
parent de12dce50c
commit c72b87a446
7 changed files with 93 additions and 32 deletions

View file

@ -80,6 +80,7 @@ public class SpellStack extends ArrayDeque<StackObject> {
}
this.remove(stackObject);
stackObject.counter(sourceId, game);
game.informPlayers(new StringBuilder(stackObject.getName()).append(" is countered").toString());
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.COUNTERED, objectId, sourceId, stackObject.getControllerId()));
return true;
}