- "Hand Axe" can now be discarded during Archery phase to add 1 to archery.
This commit is contained in:
@@ -43,7 +43,7 @@ public class Card2_010 extends AbstractAttachableFPPossession {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected List<? extends Action> getExtraInPlayPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
|
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);
|
ActivateCardAction action = new ActivateCardAction(self);
|
||||||
action.appendCost(
|
action.appendCost(
|
||||||
new DiscardCardsFromPlayEffect(self, self));
|
new DiscardCardsFromPlayEffect(self, self));
|
||||||
|
|||||||
@@ -22,8 +22,14 @@ public class GatherPlayableActionsVisitor extends CompletePhysicalCardVisitor {
|
|||||||
@Override
|
@Override
|
||||||
protected void doVisitPhysicalCard(PhysicalCard physicalCard) {
|
protected void doVisitPhysicalCard(PhysicalCard physicalCard) {
|
||||||
List<? extends Action> list = physicalCard.getBlueprint().getPhaseActions(_playerId, _game, physicalCard);
|
List<? extends Action> list = physicalCard.getBlueprint().getPhaseActions(_playerId, _game, physicalCard);
|
||||||
if (list != null)
|
if (list != null) {
|
||||||
_actions.addAll(list);
|
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() {
|
public List<? extends Action> getActions() {
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<pre style="font-size:80%">
|
<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>
|
<b>19 Oct. 2011</b>
|
||||||
- Finished "Battle of Helm's Deep (05)" expansion.
|
- Finished "Battle of Helm's Deep (05)" expansion.
|
||||||
- Modified the texts of the effects.
|
- Modified the texts of the effects.
|
||||||
|
|||||||
Reference in New Issue
Block a user