diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-14 08:24:05 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-14 08:24:05 -0400 |
commit | 77dcd69d67d1569d2cb8a0bd3a3b2e5d6a5cbde9 (patch) | |
tree | 8633527074385153b7950568c1711645f311497a | |
parent | 4dfb25fd38166e1cdd4998fb46d82ee7283e08f8 (diff) | |
download | vijayanagara-77dcd69d67d1569d2cb8a0bd3a3b2e5d6a5cbde9.tar.gz |
Missing rebel in event 1
-rw-r--r-- | events.txt | 1 | ||||
-rw-r--r-- | rules.js | 17 |
2 files changed, 17 insertions, 1 deletions
@@ -9,6 +9,7 @@ EVENT 1 move endspace endpiece + free_rebel SHADED 1 stay_eligible @@ -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 ], ] |