Into the Wild
This commit is contained in:
@@ -192,7 +192,7 @@ var set20 = {
|
||||
'20_194': 'http://lotrtcg.org/coreset/gondor/flamingbrand.jpg',
|
||||
'20_195': 'http://lotrtcg.org/coreset/gondor/heightenedawareness(r3).jpg',
|
||||
'20_196': 'http://lotrtcg.org/coreset/gondor/hornofgondor.jpg',
|
||||
'20_197': 'http://lotrtcg.org/coreset/gondor/intothewild.jpg',
|
||||
'20_197': 'http://lotrtcg.org/coreset/gondor/intothewild(r3).jpg',
|
||||
'20_198': 'http://lotrtcg.org/coreset/gondor/legacyofnumenor.jpg',
|
||||
'20_199': 'http://lotrtcg.org/coreset/gondor/lyinginwait.jpg',
|
||||
'20_200': 'http://lotrtcg.org/coreset/gondor/nativecover.jpg',
|
||||
|
||||
@@ -11,11 +11,11 @@ import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
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
|
||||
* in the current region.
|
||||
* ❶ •Into the Wild [Gon]
|
||||
* Condition • Support Area
|
||||
* While you can spot a [Gon] ranger, the site number of each minion in play is +1 for each site from your adventure deck in the current region
|
||||
* <p/>
|
||||
* http://lotrtcg.org/coreset/gondor/intothewild(r3).jpg
|
||||
*/
|
||||
public class Card20_197 extends AbstractPermanent {
|
||||
public Card20_197() {
|
||||
@@ -25,7 +25,7 @@ public class Card20_197 extends AbstractPermanent {
|
||||
@Override
|
||||
public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) {
|
||||
return new MinionSiteNumberModifier(
|
||||
self, CardType.MINION, new SpotCondition(Culture.GONDOR, Keyword.RANGER),
|
||||
self, Filters.and(CardType.MINION, Filters.inPlay()), new SpotCondition(Culture.GONDOR, Keyword.RANGER),
|
||||
new CountActiveEvaluator(CardType.SITE, Zone.ADVENTURE_PATH, Filters.owner(self.getOwner()), Filters.currentRegion));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,15 @@ public class Filters {
|
||||
_keywordFilterMap.put(Keyword.BESIEGER, Filters.and(CardType.MINION, keyword(Keyword.BESIEGER)));
|
||||
}
|
||||
|
||||
public static Filter inPlay() {
|
||||
return new Filter() {
|
||||
@Override
|
||||
public boolean accepts(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard) {
|
||||
return physicalCard.getZone().isInPlay();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static boolean canSpot(GameState gameState, ModifiersQuerying modifiersQuerying, Filterable... filters) {
|
||||
return canSpot(gameState, modifiersQuerying, 1, filters);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user