diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-05 07:43:11 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-05 07:43:11 -0400 |
commit | 94408d03daa8e1e590c75602f9aaccfa7eeae884 (patch) | |
tree | a6cb390ffdbb6d420b56085551a361cddfa1c593 | |
parent | 59ea3cba9379983c3bacdc2b214438e9acd05071 (diff) | |
download | vijayanagara-94408d03daa8e1e590c75602f9aaccfa7eeae884.tar.gz |
Fix event 10 prompt
-rw-r--r-- | events.txt | 1 | ||||
-rw-r--r-- | rules.js | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -213,6 +213,7 @@ SHADED 10 current DS prompt "Move any Qasbah to Spaces containing Governors." piece_undo_opt all is_qasbah(p) + prompt "Move any Qasbah to Spaces containing Governors." space 1 has_governor(s) && !has_qasbah(s) move endspace @@ -2471,6 +2471,7 @@ states.conspire = { }, space(s) { push_undo() + game.decree.count -= 1 goto_conspire_space(s) }, end_conspire: end_decree @@ -2532,7 +2533,6 @@ states.conspire_replace = { let amir = find_piece(AVAILABLE, BK, ELITE) game.decree.pp = place_piece(amir, game.decree.where) if (game.decree.rebel) to_rebel(game.decree.pp) - game.decree.count -= 1 if (!game.decree.rebel) { game.decree.is_rebel = null game.state = "conspire_replace" @@ -6142,6 +6142,7 @@ CODE[10 * 2 + 1] = [ [ vm_current, DS ], [ vm_prompt, "Move any Qasbah to Spaces containing Governors." ], [ vm_piece, true, 0, 999, (p,s)=>is_qasbah(p) ], + [ vm_prompt, "Move any Qasbah to Spaces containing Governors." ], [ vm_space, true, 1, 1, (s)=>has_governor(s) && !has_qasbah(s) ], [ vm_move ], [ vm_endspace ], |