- "Hobbit Farmer" and other allies copying site text should now be able to activate the site phase actions.

This commit is contained in:
marcins78@gmail.com
2012-01-15 20:13:41 +00:00
parent b9443880a1
commit 4a8414b8c5
3 changed files with 5 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ public class PlayConditions {
}
public static boolean canUseSiteDuringPhase(LotroGame game, Phase phase, PhysicalCard self) {
return (phase == null || game.getGameState().getCurrentPhase() == phase) && (game.getGameState().getCurrentSite() == self);
return game.getGameState().getCurrentPhase() == phase;
}
public static boolean location(LotroGame game, Filterable... filters) {

View File

@@ -33,8 +33,7 @@ public class Card6_120 extends AbstractSite {
@Override
public List<ActivateCardAction> getOptionalBeforeActions(String playerId, LotroGame game, Effect effect, PhysicalCard self) {
if (PlayConditions.canUseSiteDuringPhase(game, null, self)
&& TriggerConditions.isGettingWounded(effect, game, CardType.MINION, Filters.owner(playerId))
if (TriggerConditions.isGettingWounded(effect, game, CardType.MINION, Filters.owner(playerId))
&& PlayConditions.canDiscardFromHand(game, playerId, 2, Filters.any)) {
final WoundCharactersEffect woundEffect = (WoundCharactersEffect) effect;
Collection<PhysicalCard> woundedCharacters = woundEffect.getAffectedCardsMinusPrevented(game);

View File

@@ -1,4 +1,7 @@
<pre style="font-size:80%">
<b>15 Jan. 2012</b>
- "Hobbit Farmer" and other allies copying site text should now be able to activate the site phase actions.
<b>14 Jan. 2012</b>
- "Refuge" now discards companion from hand, rather than condition to heal a companion.
- "When moves to" actions now happen before twilight for movement is added.