Updated SiteNumber value evaluation -> CurrentSiteNumber

This commit is contained in:
Christian 'ketura' McCarty
2022-08-17 00:15:11 -05:00
parent 8aad76e52f
commit 12fc68b357
3 changed files with 3 additions and 3 deletions

View File

@@ -649,7 +649,7 @@
type: playSite
block: fellowship
number: {
type: siteNumber
type: currentSiteNumber
}
}
}

View File

@@ -1154,7 +1154,7 @@
type: exert
filter: self
times: {
type: siteNumber
type: currentSiteNumber
}
}
effect: {

View File

@@ -88,7 +88,7 @@ public class ValueResolver {
}
return trueValue.getEvaluator(actionContext).evaluateExpression(game, cardAffected);
};
} else if (type.equalsIgnoreCase("siteNumber")) {
} else if (type.equalsIgnoreCase("currentSiteNumber")) {
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber();
} else if (type.equalsIgnoreCase("nextSiteNumber")) {
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber() + 1;