- "The Evil Becomes Stronger" now correctly allows to spot only ELVEN archer allies, not just any allies.

This commit is contained in:
marcin.sciesinski
2017-11-13 18:55:31 -08:00
parent 28c00ea6fd
commit 2181588b55
2 changed files with 4 additions and 3 deletions

View File

@@ -36,6 +36,7 @@
- "Crazy Cob" can now also play minions when Orcs are killed.
- "Great Barricade" now allows to exert only companions, and doesn't crash the game, if there is a Dwarf follower present.
- "Ancestral Knowledge" no longer crashes the game, when a Dwarf follower is present.
- "The Evil Becomes Stronger" now correctly allows to spot only ELVEN archer allies, not just any allies.
<b>17 Dec. 2015</b>
- "Armor of Khazad" no longer allows to return itself from discard and can now be transferred.

View File

@@ -41,10 +41,10 @@ public class Card31_011 extends AbstractEvent {
@Override
public PlayEventAction getPlayCardAction(final String playerId, LotroGame game, final PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
if (Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), CardType.ALLY)) {
if (Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), Culture.ELVEN, Keyword.ARCHER, CardType.ALLY)) {
final PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new ChooseActiveCardEffect(self, playerId, "Choose an Ally", CardType.ALLY) {
new ChooseActiveCardEffect(self, playerId, "Choose an Ally", Culture.ELVEN, Keyword.ARCHER, CardType.ALLY) {
@Override
protected void cardSelected(LotroGame game, PhysicalCard card) {
action.insertEffect(
@@ -52,7 +52,7 @@ public class Card31_011 extends AbstractEvent {
new StrengthModifier(self, Filters.sameCard(card), 2), Phase.REGROUP));
action.insertEffect(
new AddUntilStartOfPhaseModifierEffect(
new AllyParticipatesInArcheryFireAndSkirmishesModifier(self, Filters.sameCard(card)), Phase.REGROUP));
new AllyParticipatesInArcheryFireAndSkirmishesModifier(self, card), Phase.REGROUP));
}
});
action.appendEffect(