From 0e25ec455da9602ca342b0213bf577a346ebc0b9 Mon Sep 17 00:00:00 2001 From: TalkTakesTime Date: Fri, 4 Apr 2014 21:29:12 +1300 Subject: [PATCH] Better placing for Knock Off --- js/client-teambuilder.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index d26462ddc..468568616 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -1329,7 +1329,7 @@ if (move.id === 'toxic' || move.id === 'leechseed' || move.id === 'willowisp') moveCount['Stall']++; moveCount['Support']++; } - } else if (move.id === 'rapidspin' || move.id === 'knockoff' || move.id === 'counter' || move.id === 'mirrorcoat' || move.id === 'metalburst') { + } else if (move.id === 'rapidspin' || move.id === 'counter' || move.id === 'mirrorcoat' || move.id === 'metalburst') { moveCount['Support']++; } else if (move.id === 'nightshade' || move.id === 'seismictoss' || move.id === 'foulplay') { moveCount['Offense']++; @@ -1339,6 +1339,7 @@ } else { moveCount[move.category]++; moveCount['Offense']++; + if (move.id === 'knockoff') moveCount['Support']++; if (move.id === 'scald' || move.id === 'voltswitch' || move.id === 'uturn') moveCount[move.category] -= 0.2; } } @@ -1349,11 +1350,6 @@ moveCount['Special'] += moveCount['SpecialSetup']; if (hasMove['dragondance'] || hasMove['quiverdance']) moveCount['Ultrafast'] = 1; - if (hasMove['knockoff'] && moveCount['Physical'] >= 2) { // Knock Off this gen can be a support move or an offensive move - moveCount['Physical']++; - moveCount['PhysicalAttack']++; - moveCount['Offense']++; - } var isFast = (stats.spe > 95); var physicalBulk = (stats.hp+75)*(stats.def+87);