- "Vengeance" now correctly counts cards attached to oposing character.

- "Cliffs of Emyn Muil" is correctly wounding minions skirmishing Hobbit companion now.
This commit is contained in:
marcins78@gmail.com
2011-10-25 22:27:24 +00:00
parent 1864a662e9
commit b64ae17e86
4 changed files with 9 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ public class Card4_208 extends AbstractOldEvent {
new ChooseActiveCardEffect(self, playerId, "Choose an ISENGARD tracker", Filters.culture(Culture.ISENGARD), Filters.keyword(Keyword.TRACKER)) {
@Override
protected void cardSelected(LotroGame game, PhysicalCard card) {
int bonus = 2 * Filters.countSpottable(game.getGameState(), game.getModifiersQuerying(), Filters.attachedTo(Filters.inSkirmishAgainst(Filters.sameCard(self))));
int bonus = 2 * Filters.countSpottable(game.getGameState(), game.getModifiersQuerying(), Filters.attachedTo(Filters.inSkirmishAgainst(card)));
action.insertEffect(
new AddUntilEndOfPhaseModifierEffect(
new StrengthModifier(self, Filters.sameCard(card), bonus), Phase.SKIRMISH));

View File

@@ -62,7 +62,7 @@ public class Card4_299 extends AbstractPermanent {
action.appendCost(
new DiscardCardsFromPlayEffect(self, self));
action.appendEffect(
new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, Filters.inSkirmishAgainst(Filters.sameCard(self.getAttachedTo()))));
new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, Filters.inSkirmishAgainst(Race.HOBBIT, CardType.COMPANION)));
return Collections.singletonList(action);
}
return null;

View File

@@ -511,7 +511,9 @@ public class ServerResource {
Element card = doc.createElement("card");
card.setAttribute("count", String.valueOf(item.getCount()));
card.setAttribute("blueprintId", blueprintId);
card.setAttribute("side", item.getCardBlueprint().getSide().toString());
Side side = item.getCardBlueprint().getSide();
if (side != null)
card.setAttribute("side", side.toString());
collectionElem.appendChild(card);
} else {
Element pack = doc.createElement("pack");

View File

@@ -1,4 +1,8 @@
<pre style="font-size:80%">
<b>24 Oct. 2011</b>
- "Vengeance" now correctly counts cards attached to oposing character.
- "Cliffs of Emyn Muil" is correctly wounding minions skirmishing Hobbit companion now.
<b>24 Oct. 2011</b>
- Frodo and Sam are always Ring-bound (according to rules).
- "Resistance Becomes Unbearable" can be now played in Maneuver phase, as it's supposed to.