Updated SiteNumber value evaluation -> CurrentSiteNumber
This commit is contained in:
@@ -649,7 +649,7 @@
|
|||||||
type: playSite
|
type: playSite
|
||||||
block: fellowship
|
block: fellowship
|
||||||
number: {
|
number: {
|
||||||
type: siteNumber
|
type: currentSiteNumber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1154,7 +1154,7 @@
|
|||||||
type: exert
|
type: exert
|
||||||
filter: self
|
filter: self
|
||||||
times: {
|
times: {
|
||||||
type: siteNumber
|
type: currentSiteNumber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
effect: {
|
effect: {
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ public class ValueResolver {
|
|||||||
}
|
}
|
||||||
return trueValue.getEvaluator(actionContext).evaluateExpression(game, cardAffected);
|
return trueValue.getEvaluator(actionContext).evaluateExpression(game, cardAffected);
|
||||||
};
|
};
|
||||||
} else if (type.equalsIgnoreCase("siteNumber")) {
|
} else if (type.equalsIgnoreCase("currentSiteNumber")) {
|
||||||
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber();
|
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber();
|
||||||
} else if (type.equalsIgnoreCase("nextSiteNumber")) {
|
} else if (type.equalsIgnoreCase("nextSiteNumber")) {
|
||||||
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber() + 1;
|
return actionContext -> (game, cardAffected) -> game.getGameState().getCurrentSiteNumber() + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user