From 29b4789969e606de274ee6c8cb74b07587cd02e7 Mon Sep 17 00:00:00 2001 From: oc Date: Tue, 5 Dec 2017 22:29:28 +0800 Subject: [PATCH] Fix Bug --- libs/core.js | 1 - main.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/core.js b/libs/core.js index 80d32df8..e02a5d54 100644 --- a/libs/core.js +++ b/libs/core.js @@ -1262,7 +1262,6 @@ core.prototype.moveHero = function (direction) { } core.prototype.moveOneStep = function() { - core.status.hero.steps++; // 中毒状态 if (core.hasFlag('poison')) { core.status.hero.hp -= core.values.poisonDamage; diff --git a/main.js b/main.js index 41aa9ef8..a29e173f 100644 --- a/main.js +++ b/main.js @@ -344,5 +344,5 @@ main.dom.normalLevel.onclick = function () { } main.dom.hardLevel.onclick = function () { - core.events.startGame('Gard'); + core.events.startGame('Hard'); }