summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-26 22:36:05 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit96f2dd8ec10988947d86e97186220f34cadf31dd (patch)
tree52ce0b4cb277a06b439cce454542209c6e5135fa
parent763118f70215a0b736349431efcb4a8dab6947cb (diff)
downloadnevsky-96f2dd8ec10988947d86e97186220f34cadf31dd.tar.gz
Raven's rock is event not capability.
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 077efa9..db4d977 100644
--- a/rules.js
+++ b/rules.js
@@ -8600,10 +8600,10 @@ function roll_for_ravens_rock() {
prot--
}
if (prot > 0) {
- game.battle.xhits = roll_for_protection(`C${EVENT_RUSSIAN_RAVENS_ROCK} ${range(prot)}`, true, prot, game.battle.xhits)
- game.battle.hits = roll_for_protection(`C${EVENT_RUSSIAN_RAVENS_ROCK} ${range(prot)}`, false, prot, game.battle.hits)
+ game.battle.xhits = roll_for_protection(`E${EVENT_RUSSIAN_RAVENS_ROCK} ${range(prot)}`, true, prot, game.battle.xhits)
+ game.battle.hits = roll_for_protection(`E${EVENT_RUSSIAN_RAVENS_ROCK} ${range(prot)}`, false, prot, game.battle.hits)
} else {
- logi(`No C${EVENT_RUSSIAN_RAVENS_ROCK}.`)
+ logi(`No E${EVENT_RUSSIAN_RAVENS_ROCK}.`)
}
}
@@ -9834,7 +9834,7 @@ states.hillforts = {
},
lord(lord) {
push_undo()
- logcap(AOW_TEUTONIC_HILLFORTS)
+ log(`C${AOW_TEUTONIC_HILLFORTS} skipped L${lord}.`)
feed_lord_skip(lord)
if (has_friendly_lord_who_must_feed())
game.state = "feed"