From e93a0faf75763d09f95c52ecb93dfbd0ebe2cd42 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Mon, 19 Nov 2018 20:45:28 -0500 Subject: [PATCH] Support AVs in teambuilder This is really hacky code; the Preact rewrite will make it nicer... --- js/client-teambuilder.js | 72 +++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 26 deletions(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 025b1b668..cd20a6cc8 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -1144,9 +1144,11 @@ buf += '
'; buf += ''; + var supportsEVs = !this.curTeam.format.startsWith('gen7letsgo'); + // stats buf += '