- Cards that play next site should be working correctly now
This commit is contained in:
@@ -27,7 +27,12 @@ public class PlaySiteEffect extends AbstractEffect {
|
||||
}
|
||||
|
||||
private PhysicalCard getMatchingSite(LotroGame game) {
|
||||
Collection<PhysicalCard> matching = Filters.filter(game.getGameState().getAdventureDeck(_playerId), game.getGameState(), game.getModifiersQuerying(), Filters.siteNumber(_siteNumber), Filters.siteBlock(_siteBlock));
|
||||
Collection<PhysicalCard> matching;
|
||||
if (_siteBlock != null) {
|
||||
matching = Filters.filter(game.getGameState().getAdventureDeck(_playerId), game.getGameState(), game.getModifiersQuerying(), Filters.siteNumber(_siteNumber), Filters.siteBlock(_siteBlock));
|
||||
} else {
|
||||
matching = Filters.filter(game.getGameState().getAdventureDeck(_playerId), game.getGameState(), game.getModifiersQuerying(), Filters.siteNumber(_siteNumber));
|
||||
}
|
||||
if (matching.size() > 0)
|
||||
return matching.iterator().next();
|
||||
else
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
- Added animations to cards entering play
|
||||
- Cereborn now correctly exerts itself for his ability.
|
||||
- You can't transfer card to the same bearer ("Horn of Boromir")
|
||||
- Cards that play next site should be working correctly now
|
||||
|
||||
<b>6 Oct. 2011</b>
|
||||
- "Hollowing of Isengard" now correctly discards itself upon use.
|
||||
|
||||
Reference in New Issue
Block a user