summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-17 19:02:17 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit48c8d494e2467ffb69b3bc6c42bc832f6474419c (patch)
treede97c79f93955b54f0d5542059a3c79fa57247bb /rules.js
parented0e937ab1e53afcd16a98f74e7a6be76fee2553 (diff)
downloadnevsky-48c8d494e2467ffb69b3bc6c42bc832f6474419c.tar.gz
Lord Events (battle).
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4e9cda8..3e5e5f3 100644
--- a/rules.js
+++ b/rules.js
@@ -6638,6 +6638,7 @@ function action_battle_events(c) {
states.bridge = {
prompt() {
view.prompt = "Bridge: Play on a Center Lord."
+ view.what = game.what
let array = game.battle.array
if (is_attacker()) {
if (array[D2] !== NOBODY)
@@ -6662,6 +6663,7 @@ states.bridge = {
states.field_organ = {
prompt() {
view.prompt = "Field Organ: Play on a Lord."
+ view.what = game.what
let array = game.battle.array
if (is_attacker()) {
for (let pos of battle_attacking_positions)