summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-25 21:39:54 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-25 21:39:54 -0400
commit21214c0adae4eaec7b4ca6cb7489e9fef11fa1c4 (patch)
treea21e6037645e859a235c71a27382630d953cb948 /rules.js
parent430fafb58cd045cde81a27327e5b81bc860d7a41 (diff)
downloadvijayanagara-21214c0adae4eaec7b4ca6cb7489e9fef11fa1c4.tar.gz
Fix timurid step 2
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js16
1 files changed, 1 insertions, 15 deletions
diff --git a/rules.js b/rules.js
index 45ceb40..e655a53 100644
--- a/rules.js
+++ b/rules.js
@@ -5363,20 +5363,6 @@ states.vm_timurid_crisis = {
}
}
-function timurid_step1() {
- let n = Math.floor(count_pieces(AVAILABLE, MI, TROOPS) / 2)
-
- loge("Succession Crisis in Delhi.")
- push_summary()
- for (let i = 0; i < n; ++i) {
- let p = find_piece(AVAILABLE, MI, TROOPS)
- log_summary_place(p)
- place_piece(p, S_MOUNTAIN_PASSES)
- }
- pop_summary()
- end_card()
-}
-
// VM : TIMURID ADVANCE
function vm_timurid_advance() {
@@ -6759,7 +6745,7 @@ CODE[5 * 2 + 74] = [
[ vm_endspace ],
[ vm_prompt, "Invaders are laying a siege to Delhi!" ],
[ vm_space, true, 1, 1, (s)=>(s === S_DELHI && has_ds_unit(s) && has_mi_unit(s)) ],
- [ vm_while, ()=>(has_ds_unit(game.vm.s)) ],
+ [ vm_while, ()=>(has_ds_unit(game.vm.s) && has_mi_unit(game.vm.s)) ],
[ vm_free_attack, DS ],
[ vm_endwhile ],
[ vm_endspace ],