Remove unneeded variable.

That var was being used to show what `result` and `chance` were for.
This commit is contained in:
Kris Johnson 2015-04-16 18:44:45 -06:00
parent 1edc40f936
commit 09efc8ecdd

View File

@ -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) {