summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 39f1372..3c1e44b 100644
--- a/rules.js
+++ b/rules.js
@@ -4701,17 +4701,21 @@ states.free_increase_support_level = {
prompt() {
prompt("Combat: Increase support level or keep counter to reduce cost of card?")
view.color = POPULACE
- gen_action_region(game.where)
+ gen_action_support(game.where, get_support(game.where) + 1)
view.actions.keep = 1
},
- region(where) {
+ support() {
push_undo()
log("Increased support level.")
- increase_support(where)
+ increase_support(game.where)
let bit = find_next_killed_in_combat()
game.combat.killed &= ~bit
goto_free_increase_support_level()
},
+ region(where) {
+ push_undo()
+ this.support()
+ },
keep() {
push_undo()
let bit = find_next_killed_in_combat()