- If one side is removed from Skirmish, before it ends and the other side has a total strength less than or equal to 0,

the side that is present, still wins.
This commit is contained in:
marcins78
2013-03-20 18:17:46 +00:00
parent ab69a24525
commit 5d73c99a34
2 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
<b>20 Mar. 2013</b>
- "Uruk Mender" has now 8 strength (per card text).
- "Illuminate" now spots Gandalf, not just GANDALF culture card to play it.
- If one side is removed from Skirmish, before it ends and the other side has a total strength less than or equal to 0,
the side that is present, still wins.
<b>19 Mar. 2013</b>
- Applied revision 1 changes to set 20.

View File

@@ -34,10 +34,17 @@ public class ResolveSkirmishEffect extends AbstractEffect {
}
public Result getUpcomingResult(LotroGame game) {
final Skirmish skirmish = game.getGameState().getSkirmish();
if (skirmish.getShadowCharacters().size() == 0)
return Result.SHADOW_LOSES;
if (skirmish.getFellowshipCharacter() == null)
return Result.FELLOWSHIP_LOSES;
int fpStrength = RuleUtils.getFellowshipSkirmishStrength(game);
int shadowStrength = RuleUtils.getShadowSkirmishStrength(game);
final PhysicalCard fellowshipCharacter = game.getGameState().getSkirmish().getFellowshipCharacter();
final PhysicalCard fellowshipCharacter = skirmish.getFellowshipCharacter();
int multiplier = 2;
if (fellowshipCharacter != null)