diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-03 07:20:43 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-03 07:20:43 -0400 |
commit | 275d97d918cec9664b16a03889dff4c794ed8a0b (patch) | |
tree | 47d247c2f04aaac9a503a908815f6fcbc68bc61b /rules.js | |
parent | 1c984bf4d6355e26b8a78f5b81078abe29885863 (diff) | |
download | vijayanagara-275d97d918cec9664b16a03889dff4c794ed8a0b.tar.gz |
Fix Shaded 6 for non attack
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -5635,7 +5635,12 @@ function vm_shaded_6() { game.state = "campaign" } -function vm_shaded_6_2() { game.state = "shaded_6_2" } +function vm_shaded_6_2() { + if (has_piece_faction(game.vm.m, BK) || has_piece_faction(game.vm.m, VE)) + game.state = "shaded_6_2" + else + vm_next() +} states.shaded_6_2 = { prompt() { |