卷轴下方的快捷键说明部分,点击对应的文字提示应该可以直接等于按下相应按键的效果
This commit is contained in:
parent
74b98f3201
commit
3a399c1d3c
@ -321,6 +321,41 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
core.drawTip("请确认当前" + core.material.items['centerFly'].name + "的位置", 'centerFly');
|
||||
return;
|
||||
}
|
||||
core.control.setAutomaticRoute = function (destX, destY, stepPostfix) {
|
||||
if (!core.status.played || core.status.lockControl) return;
|
||||
if (this._setAutomaticRoute_isMoving(destX, destY)) return;
|
||||
if (this._setAutomaticRoute_isTurning(destX, destY, stepPostfix)) return;
|
||||
if (this._setAutomaticRoute_clickMoveDirectly(destX, destY, stepPostfix)) return;
|
||||
// 找寻自动寻路路线
|
||||
if (destY == 13 || destY == 14) {
|
||||
if (destX == 2 || destX == 3) {
|
||||
destY == 13 ? core.openBook(true) : core.ui._drawHelp();
|
||||
}
|
||||
if (destX == 4 || destX == 5) {
|
||||
destY == 13 ? core.useFly(true) : core.turnHero();
|
||||
}
|
||||
if (destX == 6 || destX == 7 || destX == 8) {
|
||||
destY == 13 ? core.openToolbox(true) : core.openQuickShop(true);
|
||||
}
|
||||
if (destX == 9 || destX == 10) {
|
||||
destY == 13 ? core.save(true) : core.openSettings(true);
|
||||
}
|
||||
if (destX == 11 || destX == 12) {
|
||||
destY == 13 ? core.load(true) : core.openSettings(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
var moveStep = core.automaticRoute(destX, destY);
|
||||
if (moveStep.length == 0 && (destX != core.status.hero.loc.x || destY != core.status.hero.loc.y || stepPostfix.length == 0))
|
||||
return;
|
||||
moveStep = moveStep.concat(stepPostfix);
|
||||
core.status.automaticRoute.destX = destX;
|
||||
core.status.automaticRoute.destY = destY;
|
||||
this._setAutomaticRoute_drawRoute(moveStep);
|
||||
this._setAutomaticRoute_setAutoSteps(moveStep);
|
||||
// 立刻移动
|
||||
core.setAutoHeroMove();
|
||||
}
|
||||
},
|
||||
"drawLight": function () {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user