- "Hand Axe" can now be discarded during Archery phase to add 1 to archery.

This commit is contained in:
marcins78@gmail.com
2011-10-20 08:31:14 +00:00
parent f26c430678
commit 528e16d3db
3 changed files with 13 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ public class Card2_010 extends AbstractAttachableFPPossession {
@Override
protected List<? extends Action> getExtraInPlayPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canPlayCardDuringPhase(game, Phase.ARCHERY, self)) {
if (PlayConditions.canUseFPCardDuringPhase(game.getGameState(), Phase.ARCHERY, self)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new DiscardCardsFromPlayEffect(self, self));

View File

@@ -22,8 +22,14 @@ public class GatherPlayableActionsVisitor extends CompletePhysicalCardVisitor {
@Override
protected void doVisitPhysicalCard(PhysicalCard physicalCard) {
List<? extends Action> list = physicalCard.getBlueprint().getPhaseActions(_playerId, _game, physicalCard);
if (list != null)
_actions.addAll(list);
if (list != null) {
for (Action action : list) {
if (action != null)
_actions.add(action);
else
System.out.println("Null action from: " + physicalCard.getBlueprint().getName());
}
}
}
public List<? extends Action> getActions() {

View File

@@ -1,4 +1,8 @@
<pre style="font-size:80%">
<b>20 Oct. 2011</b>
- "The One Ring" should now work correctly if you put it on twice during a turn (move twice).
- "Hand Axe" can now be discarded during Archery phase to add 1 to archery.
<b>19 Oct. 2011</b>
- Finished "Battle of Helm's Deep (05)" expansion.
- Modified the texts of the effects.