From 09efc8ecddeb6361bf13034ad1de1f4bd6c20fd4 Mon Sep 17 00:00:00 2001 From: Kris Johnson Date: Thu, 16 Apr 2015 18:44:45 -0600 Subject: [PATCH] Remove unneeded variable. That var was being used to show what `result` and `chance` were for. --- config/formats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/formats.js b/config/formats.js index 2c3ea78ea0..f07bec377c 100644 --- a/config/formats.js +++ b/config/formats.js @@ -3496,7 +3496,7 @@ exports.Formats = [ move.onHit = function (target, source) { var result = this.random(100); var chance = source.hasAbility('serenegrace') ? 60 : 30; - var triggerFlinch = result < chance; + // If the result is less than 60 or 30, then Kibitz will flinch the target. if (this.willMove(target) && result < chance) { target.addVolatile('flinch'); } else if (target.hp !== 0 && !target.newlySwitched) {