- Cards that play next site should be working correctly now

This commit is contained in:
marcins78@gmail.com
2011-10-13 21:53:06 +00:00
parent 5809ee24fc
commit 9564bdcfea
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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.