From c41a490fe6490b894ec2ca0feb55e93d21df7726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Fri, 17 Apr 2020 14:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=9B=8B=E9=BB=98=E8=AE=A4=E6=95=B0?= =?UTF-8?q?=E5=80=BC=E6=94=B9=E4=B8=BA99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multi.html | 6 +++--- script.js | 2 +- solo.html | 6 +++--- triple.html | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/multi.html b/multi.html index ec4a25b8..ccb1aa7c 100644 --- a/multi.html +++ b/multi.html @@ -734,9 +734,9 @@ var formation = new Formation(teamsCount,5);
diff --git a/script.js b/script.js index 9092f37c..6ed1e161 100644 --- a/script.js +++ b/script.js @@ -1793,7 +1793,7 @@ function editMon(teamNum,isAssist,indexInTeam) const monEditAddHp = settingBox.querySelector(".row-mon-plus .m-plus-hp"); const monEditAddAtk = settingBox.querySelector(".row-mon-plus .m-plus-atk"); const monEditAddRcv = settingBox.querySelector(".row-mon-plus .m-plus-rcv"); - if (mon.plus) + if (mon.plus && mon.id>0) { monEditAddHp.value = mon.plus[0]; monEditAddAtk.value = mon.plus[1]; diff --git a/solo.html b/solo.html index 482635e6..921f2f96 100644 --- a/solo.html +++ b/solo.html @@ -686,9 +686,9 @@ var formation = new Formation(teamsCount,6);
diff --git a/triple.html b/triple.html index 595b05bd..69b87e27 100644 --- a/triple.html +++ b/triple.html @@ -1321,9 +1321,9 @@ var formation = new Formation(teamsCount,6);