summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b3dd690..d729f3d 100644
--- a/rules.js
+++ b/rules.js
@@ -8682,10 +8682,11 @@ function roll_for_siegeworks() {
}
}
+
function roll_for_ravens_rock() {
let prot = 2
// Trebuchets only count vs Raven's Rock in Sally or Relief Sally battles
- if (count_siege_markers(game.battle.where) > 0) {
+ if (game.battle.sally || game.battle.relief) {
if (enemy_has_trebuchets()) {
logi(`C${AOW_TEUTONIC_TREBUCHETS}.`)
prot--