summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js5
-rw-r--r--rules.ts5
2 files changed, 10 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index abaf9af..815669b 100644
--- a/rules.js
+++ b/rules.js
@@ -2103,6 +2103,11 @@ states.use_organization_medallion = {
};
states.use_strategy_medallion = {
inactive: 'choose to use Strategy Medallion',
+ auto_resolve() {
+ if (game.used_medallions.includes(data_1.STRATEGY_MEDALLION_ID))
+ return true;
+ return false;
+ },
prompt() {
const { f } = get_active_node_args();
view.prompt = `Strategy Medallion: Add 1 strength to ${front_names[f]}?`;
diff --git a/rules.ts b/rules.ts
index a2982e4..1158bd4 100644
--- a/rules.ts
+++ b/rules.ts
@@ -2537,6 +2537,11 @@ states.use_organization_medallion = {
states.use_strategy_medallion = {
inactive: 'choose to use Strategy Medallion',
+ auto_resolve() {
+ if (game.used_medallions.includes(STRATEGY_MEDALLION_ID))
+ return true
+ return false
+ },
prompt() {
// gen_spend_hero_points(); // confusing when available during this question
const { f } = get_active_node_args();