summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 15:41:10 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit7b45732c42e6b657a99cf9b6367f8d7a54086f88 (patch)
tree56c38738c4f62e0c15c949b2287138412e26d717
parent0a29180008b0061481d059249172ef4e020ff3c7 (diff)
downloadnevsky-7b45732c42e6b657a99cf9b6367f8d7a54086f88.tar.gz
Fix Evade - only in melee steps.
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b0a5157..b5c0919 100644
--- a/rules.js
+++ b/rules.js
@@ -7634,7 +7634,8 @@ function action_assign_hits(lord, type) {
if (lord_has_capability(lord, AOW_TEUTONIC_HALBBRUDER))
protection += 1
- if (evade > 0 && !game.battle.storm) {
+ // Evade only in Battle Melee steps
+ if (evade > 0 && !game.battle.storm && game.battle.step >= 2) {
let die = roll_die()
if (die <= evade) {
logi(`${FORCE_TYPE_NAME[type]} ${die} <= ${evade}`)