From 54dd6ff01b6bc50c8b43be86b8119dd1bd27c16b Mon Sep 17 00:00:00 2001 From: V4Victini Date: Fri, 28 Dec 2012 12:01:27 -0500 Subject: [PATCH] Fix GK/LK Should be >= as opposed to > --- data/moves.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/data/moves.js b/data/moves.js index 365671100d..a981266728 100644 --- a/data/moves.js +++ b/data/moves.js @@ -4457,23 +4457,23 @@ exports.BattleMovedex = { accuracy: 100, basePower: false, basePowerCallback: function(pokemon, target) { - if (target.weightkg > 200) { + if (target.weightkg >= 200) { this.debug('120 bp'); return 120; } - if (target.weightkg > 100) { + if (target.weightkg >= 100) { this.debug('100 bp'); return 100; } - if (target.weightkg > 50) { + if (target.weightkg >= 50) { this.debug('80 bp'); return 80; } - if (target.weightkg > 25) { + if (target.weightkg >= 25) { this.debug('60 bp'); return 60; } - if (target.weightkg > 10) { + if (target.weightkg >= 10) { this.debug('40 bp'); return 40; } @@ -6528,19 +6528,19 @@ exports.BattleMovedex = { basePower: false, basePowerCallback: function(pokemon, target) { var targetWeight = target.weightkg; - if (target.weightkg > 200) { + if (target.weightkg >= 200) { return 120; } - if (target.weightkg > 100) { + if (target.weightkg >= 100) { return 100; } - if (target.weightkg > 50) { + if (target.weightkg >= 50) { return 80; } - if (target.weightkg > 25) { + if (target.weightkg >= 25) { return 60; } - if (target.weightkg > 10) { + if (target.weightkg >= 10) { return 40; } return 20;