- FP player should be able to play only FP cards, Shadow player - Shadow cards, even if effect text doesn't say it
(i.e. "Fellowship: Play Man to draw a card.")
This commit is contained in:
@@ -445,6 +445,10 @@ public class Filters {
|
||||
return new Filter() {
|
||||
@Override
|
||||
public boolean accepts(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard) {
|
||||
Side expectedSide = (physicalCard.getOwner().equals(gameState.getCurrentPlayerId()) ? Side.FREE_PEOPLE : Side.SHADOW);
|
||||
if (physicalCard.getBlueprint().getSide() != expectedSide)
|
||||
return false;
|
||||
|
||||
return physicalCard.getBlueprint().checkPlayRequirements(physicalCard.getOwner(), game, physicalCard, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<pre style="font-size:80%">
|
||||
<b>12 Jan. 2012</b>
|
||||
- Players can now (using Settings tab) specify which form of answer selection to use - buttons or drop-down.
|
||||
- FP player should be able to play only FP cards, Shadow player - Shadow cards, even if effect text doesn't say it
|
||||
(i.e. "Fellowship: Play Man to draw a card.")
|
||||
|
||||
<b>11 Jan. 2012</b>
|
||||
- "Isengard Sword" now correctly gives -2 Strength to character in skirmish against its bearer.
|
||||
|
||||
Reference in New Issue
Block a user