summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-01-17 10:03:13 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-01-17 10:03:13 +0100
commit1aa9dd2ed0ce9e486d84a1a42a9e4faacf71f275 (patch)
tree2702a2c6b7682e372ea503250d833d3c0b372a6e
parent7e84906c2ce9286c491a91b91e483fe9bca2be84 (diff)
downloadplantagenet-1aa9dd2ed0ce9e486d84a1a42a9e4faacf71f275.tar.gz
Fuzzer fix die roll intercept
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 2d1bbed..9a94558 100644
--- a/rules.js
+++ b/rules.js
@@ -5937,8 +5937,8 @@ states.intercept = {
else {
let roll = roll_die()
success = roll <= valour
+ log(`Intercept ${success ? "Succeeded." : "Failed."} (${range(valour)}): ${success ? HIT[roll] : MISS[roll]}`)
}
- log(`Intercept ${success ? "Succeeded." : "Failed."} (${range(valour)}): ${success ? HIT[roll] : MISS[roll]}`)
if (success) {
goto_intercept_march()