statistics

This commit is contained in:
oc 2018-05-25 23:03:51 +08:00
parent e18cc0a9f8
commit b4d7424762
2 changed files with 3 additions and 2 deletions

View File

@ -187,7 +187,7 @@ events.prototype.gameOver = function (ending, fromReplay) {
formData.append('experience', core.status.hero.experience);
formData.append('steps', core.status.hero.steps);
formData.append('seed', core.getFlag('seed'));
formData.append('totalTime', Math.floor(core.status.hero.statistics.totalTime));
formData.append('totalTime', Math.floor(core.status.hero.statistics.totalTime/1000));
formData.append('route', core.encodeRoute(core.status.route));
if (main.isCompetition)

View File

@ -1895,7 +1895,8 @@ ui.prototype.drawStatistics = function () {
core.drawText([
getText("全塔", total),
getText("当前", current),
"当前总步数:"+core.status.hero.steps+",游戏时长:"+formatTime(statistics.totalTime)
"当前总步数:"+core.status.hero.steps+",当前游戏时长:"+formatTime(statistics.currTime)
+",总游戏时长"+formatTime(statistics.totalTime)
+"。\n瞬间移动次数"+statistics.moveDirectly+",共计少走"+statistics.ignoreSteps+"步。"
+"\n\n总计通过血瓶恢复生命值为"+core.formatBigNumber(statistics.hp)+"点。\n\n"
+"总计受到的伤害为"+core.formatBigNumber(statistics.battleDamage+statistics.poisonDamage+statistics.extraDamage)