summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-21 14:06:46 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commitc499061ae2b86458b134ec83f16aa572b85905c1 (patch)
treeb6efcef743330d41f4d66dcbcf28647c055a4854
parent14fdd3eedfe90b62f01cd3c57767e1a9dbd4308e (diff)
downloadandean-abyss-c499061ae2b86458b134ec83f16aa572b85905c1.tar.gz
Fix event 19 - terror/attack in space.
-rw-r--r--events.txt2
-rw-r--r--rules.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/events.txt b/events.txt
index 3cb693c..57b8f5c 100644
--- a/events.txt
+++ b/events.txt
@@ -221,7 +221,7 @@ EVENT 19
endspace
else
prompt "Free Attack or Terror in each space possible."
- space all can_terror(s) || can_attack(s)
+ space all can_terror_in_space(s) || can_attack_in_space(s)
free_attack_terror
endspace
endif
diff --git a/rules.js b/rules.js
index 7032d7d..b787e1a 100644
--- a/rules.js
+++ b/rules.js
@@ -8267,7 +8267,7 @@ CODE[19 * 2 + 0] = [
[ vm_endspace ],
[ vm_else ],
[ vm_prompt, "Free Attack or Terror in each space possible." ],
- [ vm_space, true, 999, 999, (s)=>can_terror(s) || can_attack(s) ],
+ [ vm_space, true, 999, 999, (s)=>can_terror_in_space(s) || can_attack_in_space(s) ],
[ vm_free_attack_terror ],
[ vm_endspace ],
[ vm_endif ],