- 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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user