From 432dbbf829e13c939b1b3989034fc01716b67da0 Mon Sep 17 00:00:00 2001 From: FreezePhoenix <24441367+FreezePhoenix@users.noreply.github.com> Date: Wed, 14 Jan 2026 10:59:31 -0500 Subject: [PATCH] Fix miss so that it uses the value from the attack, instead of the attacker --- node/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/server.js b/node/server.js index 414a1c8..36b139f 100644 --- a/node/server.js +++ b/node/server.js @@ -3235,7 +3235,7 @@ function complete_attack(attacker, target, info) { } else if ( target.dc || target.dead || - (attacker.miss && Math.random() * 100 < attacker.miss) || + (info.miss && Math.random() * 100 < info.miss) || (target.avoidance && Math.random() * 100 < target.avoidance) ) { return xy_emit(