Fix ClickMove & RM animate export custom ratio
This commit is contained in:
parent
1432e5d979
commit
ccdc613afd
@ -237,7 +237,7 @@
|
|||||||
<option value="functions">脚本编辑</option>
|
<option value="functions">脚本编辑</option>
|
||||||
<option value="appendpic">追加素材</option>
|
<option value="appendpic">追加素材</option>
|
||||||
</select>
|
</select>
|
||||||
<span style="font-size: 12px; margin-left: 10px">
|
<span style="font-size: 12px; margin-left: 5px">
|
||||||
<input type="radio" id="brushMod" name="brushMod" value="line" checked="checked" />画线
|
<input type="radio" id="brushMod" name="brushMod" value="line" checked="checked" />画线
|
||||||
<input type="radio" id="brushMod2" name="brushMod" value="rectangle" />画矩形
|
<input type="radio" id="brushMod2" name="brushMod" value="rectangle" />画矩形
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -286,7 +286,7 @@ control.prototype.resetStatus = function(hero, hard, floorId, route, maps, value
|
|||||||
// 保存的Index
|
// 保存的Index
|
||||||
core.status.saveIndex = core.getLocalStorage('saveIndex2', 1);
|
core.status.saveIndex = core.getLocalStorage('saveIndex2', 1);
|
||||||
|
|
||||||
core.status.automaticRoute.clickMoveDirectly = core.getLocalStorage('clickMoveDirectly', false);
|
core.status.automaticRoute.clickMoveDirectly = core.getLocalStorage('clickMoveDirectly', true);
|
||||||
|
|
||||||
if (core.isset(values))
|
if (core.isset(values))
|
||||||
core.values = core.clone(values);
|
core.values = core.clone(values);
|
||||||
|
|||||||
@ -104,7 +104,7 @@ function core() {
|
|||||||
'cursorX': null,
|
'cursorX': null,
|
||||||
'cursorY': null,
|
'cursorY': null,
|
||||||
"moveDirectly": false,
|
"moveDirectly": false,
|
||||||
'clickMoveDirectly': false,
|
'clickMoveDirectly': true,
|
||||||
},
|
},
|
||||||
|
|
||||||
// 按下键的时间:为了判定双击
|
// 按下键的时间:为了判定双击
|
||||||
|
|||||||
@ -266,8 +266,10 @@ maps.prototype.canMoveDirectly = function (destX,destY) {
|
|||||||
if (fromX==destX&&fromY==destY) return 0;
|
if (fromX==destX&&fromY==destY) return 0;
|
||||||
|
|
||||||
// 可以无视起点事件
|
// 可以无视起点事件
|
||||||
// if (core.getBlock(fromX,fromY)!=null||core.status.checkBlock.damage[13*fromX+fromY]>0)
|
var nowBlockId = core.getBlockId(fromX, fromY);
|
||||||
// return -1;
|
if ((nowBlockId!=null&&nowBlockId!='upFloor'&&nowBlockId!='downFloor')
|
||||||
|
||core.status.checkBlock.damage[13*fromX+fromY]>0)
|
||||||
|
return -1;
|
||||||
|
|
||||||
// BFS
|
// BFS
|
||||||
var visited=[], queue=[];
|
var visited=[], queue=[];
|
||||||
|
|||||||
BIN
常用工具/RM动画导出器.exe
BIN
常用工具/RM动画导出器.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user