From 74afc76b77fafee88c4fce97968f59e0395fb2da Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Fri, 21 Dec 2018 13:00:29 +0800 Subject: [PATCH] Fix statistics bug --- libs/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ui.js b/libs/ui.js index 1fd6bad0..386444d1 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -2675,7 +2675,6 @@ ui.prototype.drawStatistics = function () { if (t!="") ext[id]=t; } - core.status.hero = core.clone(temp); total.count[id]++; total.add.hp+=hp; total.add.atk+=atk; @@ -2689,6 +2688,8 @@ ui.prototype.drawStatistics = function () { current.add.mdef+=mdef; } } + + core.status.hero = temp; } }) })