- "Ancestral Knowledge" no longer crashes the game, when a Dwarf follower is present.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
- "Burglar's Contract" can now be used in Skirmish.
|
||||
- "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.
|
||||
|
||||
<b>17 Dec. 2015</b>
|
||||
- "Armor of Khazad" no longer allows to return itself from discard and can now be transferred.
|
||||
|
||||
@@ -6,6 +6,7 @@ import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndDiscardCardsFromPlayEffect;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
|
||||
import com.gempukku.lotro.common.*;
|
||||
import com.gempukku.lotro.filters.Filters;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
|
||||
@@ -26,7 +27,7 @@ public class Card30_001 extends AbstractEvent {
|
||||
@Override
|
||||
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
|
||||
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
|
||||
&& PlayConditions.canExert(self, game, Race.DWARF);
|
||||
&& PlayConditions.canExert(self, game, Race.DWARF, Filters.character);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -34,7 +35,7 @@ public class Card30_001 extends AbstractEvent {
|
||||
int count = PlayConditions.canSpot(game, 4, Side.SHADOW, CardType.CONDITION) ? 2 : 1;
|
||||
final PlayEventAction action = new PlayEventAction(self);
|
||||
action.appendCost(
|
||||
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Race.DWARF));
|
||||
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Race.DWARF, Filters.character));
|
||||
action.appendEffect(
|
||||
new ChooseAndDiscardCardsFromPlayEffect(action, playerId, count, count, CardType.CONDITION));
|
||||
return action;
|
||||
|
||||
Reference in New Issue
Block a user