- "Into the Wild" now increases site number only based on sites in current region (per card text).

This commit is contained in:
marcins78
2013-03-14 10:42:57 +00:00
parent 6f49aba89c
commit 44b85082da
3 changed files with 13 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
<pre style="font-size:80%">
<b>14 Mar. 2013</b>
- "Into the Wild" now increases site number only based on sites in current region (per card text).
<b>13 Mar. 2013</b>
- "Waylayed" now wounds 1 companion 4 times, instead of 4 companions once.
- "Goblin Scrapper" has now correct stats - 6/2/4.

View File

@@ -14,7 +14,8 @@ import com.gempukku.lotro.logic.modifiers.SpotCondition;
* 1
* Into the Wild
* Gondor Condition • Support Area
* While you can spot a [Gondor] ranger, each minion's site number is +1 for each site from your adventure deck on the adventure path.
* While you can spot a [Gondor] ranger, each minion's site number is +1 for each site from your adventure deck on the adventure path
* in the current region.
*/
public class Card20_197 extends AbstractPermanent {
public Card20_197() {
@@ -25,6 +26,6 @@ public class Card20_197 extends AbstractPermanent {
public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) {
return new MinionSiteNumberModifier(
self, CardType.MINION, new SpotCondition(Culture.GONDOR, Keyword.RANGER),
new CountActiveEvaluator(CardType.SITE, Zone.ADVENTURE_PATH, Filters.owner(self.getOwner())));
new CountActiveEvaluator(CardType.SITE, Zone.ADVENTURE_PATH, Filters.owner(self.getOwner()), Filters.currentRegion));
}
}

View File

@@ -669,6 +669,13 @@ public class Filters {
}
};
public static final Filter currentRegion = new Filter() {
@Override
public boolean accepts(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard) {
return GameUtils.getRegion(gameState.getCurrentSiteNumber()) == GameUtils.getRegion(gameState);
}
};
public static Filter siteNumber(final int siteNumber) {
return new Filter() {
@Override