- "Sneaking!" now sums the minions vitality to check if it should cancel the skirmish, or heal him.

This commit is contained in:
marcins78@gmail.com
2011-11-23 18:59:52 +00:00
parent 11de1d3ea0
commit 1ca9f85146
2 changed files with 5 additions and 6 deletions

View File

@@ -46,11 +46,9 @@ public class Card7_073 extends AbstractEvent {
private boolean hasMoreVitalityThanMinionsHeIsSkirmishing(LotroGame game, PhysicalCard smeagol) {
int smeagolVitality = game.getModifiersQuerying().getVitality(game.getGameState(), smeagol);
for (PhysicalCard minion : Filters.filterActive(game.getGameState(), game.getModifiersQuerying(), Filters.inSkirmishAgainst(smeagol))) {
int minionVitality = game.getModifiersQuerying().getVitality(game.getGameState(), minion);
if (minionVitality >= smeagolVitality)
return false;
}
return true;
int minionVitality = 0;
for (PhysicalCard minion : Filters.filterActive(game.getGameState(), game.getModifiersQuerying(), Filters.inSkirmishAgainst(smeagol)))
minionVitality += game.getModifiersQuerying().getVitality(game.getGameState(), minion);
return smeagolVitality >= minionVitality;
}
}

View File

@@ -2,6 +2,7 @@
<b>23 Nov. 2011</b>
- "Jarnsmid" now modifies the twilight cost of the itmes by -1, rather than +1.
- "Phial of Galadriel" now requires to exert an Elf when it's played.
- "Sneaking!" now sums the minions vitality to check if it should cancel the skirmish, or heal him.
<b>22 Nov. 2011</b>
- If a FP character had already some minion assigned, when FP player assigns minion, that character now counts the