- Fixed a problem, where if a card was played with a discount and also had Toil, the toil could not be played and card

playing was cancelled and put into discard.
This commit is contained in:
marcins78@gmail.com
2011-12-19 10:46:30 +00:00
parent 6876fc1cc7
commit 37e11aec6f
3 changed files with 4 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ public class AttachPermanentAction extends AbstractCostToEffectAction implements
if (_discountEffect != null) {
int requiredDiscount = 0;
if (_cardToAttach.getBlueprint().getSide() == Side.SHADOW) {
int twilightCost = game.getModifiersQuerying().getPlayOnTwilightCost(game.getGameState(), _cardToAttach, _target);
int twilightCost = game.getModifiersQuerying().getPlayOnTwilightCost(game.getGameState(), _cardToAttach, _target) + _twilightModifier;
int underPool = twilightCost - game.getGameState().getTwilightPool();
if (underPool > 0)
requiredDiscount = underPool;

View File

@@ -103,7 +103,7 @@ public class PlayPermanentAction extends AbstractCostToEffectAction implements D
if (_discountEffect != null) {
int requiredDiscount = 0;
if (_permanentPlayed.getBlueprint().getSide() == Side.SHADOW) {
int twilightCost = game.getModifiersQuerying().getTwilightCost(game.getGameState(), _permanentPlayed, _ignoreRoamingPenalty);
int twilightCost = game.getModifiersQuerying().getTwilightCost(game.getGameState(), _permanentPlayed, _ignoreRoamingPenalty) + _twilightModifier;
int underPool = twilightCost - game.getGameState().getTwilightPool();
if (underPool > 0)
requiredDiscount = underPool;

View File

@@ -4,6 +4,8 @@
- "Moving This Way" now reveals the Nazgul before putting it on bottom of deck.
- "The Angle" should not freeze the game anymore, when used and can spot 6 companions.
- "Southron Commander" should now display a proper text to the FP player when used.
- Fixed a problem, where if a card was played with a discount and also had Toil, the toil could not be played and card
playing was cancelled and put into discard.
<b>15 Dec. 2011</b>
- "Legolas Bow" now correctly allows to heal when Legolas bearing it is exerted to play an event or condition.