statistics
This commit is contained in:
parent
e18cc0a9f8
commit
b4d7424762
@ -187,7 +187,7 @@ events.prototype.gameOver = function (ending, fromReplay) {
|
|||||||
formData.append('experience', core.status.hero.experience);
|
formData.append('experience', core.status.hero.experience);
|
||||||
formData.append('steps', core.status.hero.steps);
|
formData.append('steps', core.status.hero.steps);
|
||||||
formData.append('seed', core.getFlag('seed'));
|
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));
|
formData.append('route', core.encodeRoute(core.status.route));
|
||||||
|
|
||||||
if (main.isCompetition)
|
if (main.isCompetition)
|
||||||
|
|||||||
@ -1895,7 +1895,8 @@ ui.prototype.drawStatistics = function () {
|
|||||||
core.drawText([
|
core.drawText([
|
||||||
getText("全塔", total),
|
getText("全塔", total),
|
||||||
getText("当前", current),
|
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瞬间移动次数:"+statistics.moveDirectly+",共计少走"+statistics.ignoreSteps+"步。"
|
||||||
+"\n\n总计通过血瓶恢复生命值为"+core.formatBigNumber(statistics.hp)+"点。\n\n"
|
+"\n\n总计通过血瓶恢复生命值为"+core.formatBigNumber(statistics.hp)+"点。\n\n"
|
||||||
+"总计受到的伤害为"+core.formatBigNumber(statistics.battleDamage+statistics.poisonDamage+statistics.extraDamage)
|
+"总计受到的伤害为"+core.formatBigNumber(statistics.battleDamage+statistics.poisonDamage+statistics.extraDamage)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user