- Cards played from other zones than hand should not count for initiative (as if in hand), while they are being played.

This commit is contained in:
marcins78@gmail.com
2011-11-21 23:41:58 +00:00
parent 56c7fc9ee8
commit c59906f4ed
3 changed files with 7 additions and 2 deletions

View File

@@ -84,8 +84,10 @@ public class PlayEventAction extends AbstractCostToEffectAction {
if (!_cardRemoved) {
_cardRemoved = true;
game.getGameState().sendMessage(_eventPlayed.getOwner() + " plays " + GameUtils.getCardLink(_eventPlayed) + " from " + _eventPlayed.getZone().getHumanReadable());
boolean fromHand = (_eventPlayed.getZone() == Zone.HAND);
game.getGameState().removeCardsFromZone(_eventPlayed.getOwner(), Collections.singleton(_eventPlayed));
game.getGameState().addCardToZone(game, _eventPlayed, Zone.VOID);
if (fromHand)
game.getGameState().addCardToZone(game, _eventPlayed, Zone.VOID);
game.getGameState().eventPlayed(_eventPlayed);
}

View File

@@ -84,8 +84,10 @@ public class PlayPermanentAction extends AbstractCostToEffectAction {
if (!_cardRemoved) {
_cardRemoved = true;
boolean fromHand = (_permanentPlayed.getZone() == Zone.HAND);
game.getGameState().removeCardsFromZone(_permanentPlayed.getOwner(), Collections.singleton(_permanentPlayed));
game.getGameState().addCardToZone(game, _permanentPlayed, Zone.VOID);
if (fromHand)
game.getGameState().addCardToZone(game, _permanentPlayed, Zone.VOID);
}
if (!_discountResolved) {

View File

@@ -9,6 +9,7 @@
- "Terrible and Evil" exerts Gandalf X times now, rather than only once.
- If there is more than one minion assigned to a character (but not yet skirmishing) and one of the minion gets removed
from skirmish (for example - killed), the assignment should not be cancelled.
- Cards played from other zones than hand should not count for initiative (as if in hand), while they are being played.
<b>20 Nov. 2011</b>
- "Sauron" no longer has his twilight cost reduced by the twilight pool size, instead of burdens spotted.