summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 540de57..f8afca9 100644
--- a/rules.js
+++ b/rules.js
@@ -4786,6 +4786,21 @@ function vm_free_rally() {
goto_rally_space()
}
+// VM: REBEL
+
+function vm_free_rebel() {
+ game.cmd = {
+ type: "Rebel",
+ limited: 1,
+ free: 1,
+ spaces: [],
+ selected: [],
+ pieces: [],
+ where: -1,
+ }
+ game.state = "rebel"
+}
+
// VM: INFLUENCE SUCCESSION
function vm_influence_succession() {
@@ -4977,7 +4992,6 @@ states.vm_any_limited_command = {
push_undo()
init_vm_command("Rebel", true, true)
game.state = "rebel"
-
},
attack() {
push_undo()
@@ -5175,6 +5189,7 @@ CODE[1 * 2 + 0] = [
[ vm_move ],
[ vm_endspace ],
[ vm_endpiece ],
+ [ vm_free_rebel ],
[ vm_return ],
]