Replay Speed

This commit is contained in:
ckcz123 2018-03-15 15:47:58 +08:00
parent b4fdc3b326
commit a551311051
2 changed files with 3 additions and 3 deletions

View File

@ -1458,7 +1458,7 @@ control.prototype.replay = function () {
core.changeFloor(floorId, stair, null, null, function () { core.changeFloor(floorId, stair, null, null, function () {
core.replay(); core.replay();
}); });
}, 750); }, 750 / Math.sqrt(core.status.replay.speed));
return; return;
} }
} }
@ -1491,7 +1491,7 @@ control.prototype.replay = function () {
core.status.event.selection = parseInt(selections.shift()); core.status.event.selection = parseInt(selections.shift());
core.events.openShop(shopId, false); core.events.openShop(shopId, false);
}, 750); }, 750 / Math.sqrt(core.status.replay.speed));
return; return;
} }
} }

View File

@ -559,7 +559,7 @@ events.prototype.doAction = function() {
core.status.route.push("choices:"+index); core.status.route.push("choices:"+index);
core.events.insertAction(data.choices[index].action); core.events.insertAction(data.choices[index].action);
core.events.doAction(); core.events.doAction();
}, 750) }, 750 / Math.sqrt(core.status.replay.speed))
} }
else { else {
core.stopReplay(); core.stopReplay();