Fixing sites sizes for sets 05 and 06.

This commit is contained in:
marcins78@gmail.com
2011-10-23 12:15:16 +00:00
parent e1e14054d4
commit 8ff4b20385
3 changed files with 10 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ public class Card1_331 extends AbstractSite {
protected void forEachCardExertedCallback(PhysicalCard character) {
action.appendEffect(
new AddUntilEndOfPhaseModifierEffect(
new StrengthModifier(self, Filters.sameCard(character), 2), Phase.SKIRMISH));
new StrengthModifier(self, character, 2), Phase.SKIRMISH));
}
});
return Collections.singletonList(action);

View File

@@ -363,9 +363,10 @@ public class GameState {
Zone zone = card.getZone();
if (zone.isInPlay())
stopAffecting(card);
else if (zone == Zone.STACKED)
stopAffectingStacked(card);
if (card.getBlueprint().getCardType() != CardType.SITE || (getCurrentPhase() != Phase.GAME_SETUP && getCurrentSite() == card))
stopAffecting(card);
else if (zone == Zone.STACKED)
stopAffectingStacked(card);
List<PhysicalCardImpl> zoneCards = getZoneCards(card.getOwner(), card.getBlueprint().getCardType(), zone);
boolean b = zoneCards.remove(card);
@@ -444,7 +445,7 @@ public class GameState {
}
if (zone.isInPlay()) {
if (zone != Zone.ADVENTURE_PATH || _currentPhase != Phase.GAME_SETUP)
if (card.getBlueprint().getCardType() != CardType.SITE || (getCurrentPhase() != Phase.GAME_SETUP && getCurrentSite() == card))
startAffecting(game, card);
} else if (zone == Zone.STACKED)
startAffectingStacked(game, card);

View File

@@ -70,6 +70,10 @@ var Card = Class.extend({
return (cardNo >= 115 && cardNo <= 120);
if (setNo == 4)
return (cardNo >= 323 && cardNo <= 363);
if (setNo == 5)
return (cardNo >= 118 && cardNo <= 120);
if (setNo == 6)
return (cardNo >= 115 && cardNo <= 120);
},
getUrlByBlueprintId: function(blueprintId) {