修复滑切
This commit is contained in:
parent
00876fa43f
commit
8d45c38f62
@ -2063,7 +2063,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
core.status.hero.statistics.poisonDamage += damage;
|
||||
core.status.hero.hp -= damage;
|
||||
}
|
||||
core.showComment(nowx, nowy)
|
||||
core.showComment(x, y)
|
||||
core.clearMap("hero");
|
||||
if (
|
||||
core.bigmap.width * 32 === core.bigmap.height * 32 &&
|
||||
|
@ -605,6 +605,60 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true",
|
||||
"text": "可以发送和接收在线留言。",
|
||||
"hideInToolbox": true,
|
||||
"hideInReplay": true
|
||||
"hideInReplay": true,
|
||||
"useItemEvent": [
|
||||
{
|
||||
"type": "while",
|
||||
"condition": "true",
|
||||
"data": [
|
||||
{
|
||||
"type": "choices",
|
||||
"text": "本功能需要您在h5mota.com在线游玩并处于登录状态时使用,可以发送和接受留言。\n发言后需要选择\"获取最新留言\"才能看到自己新发的留言。",
|
||||
"choices": [
|
||||
{
|
||||
"text": "地图上显示在线留言:${flag:comment?'开':'关'}",
|
||||
"icon": "postman",
|
||||
"action": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\nif (core.hasFlag('comment')) {\n\tcore.setFlag('comment', false);\n\tcore.plugin.clearCommentSign();\n} else {\n\tcore.setFlag('comment', true);\n\tcore.plugin.drawCommentSign();\n}\n}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "写留言",
|
||||
"action": [
|
||||
{
|
||||
"type": "input2",
|
||||
"text": "请输入要发送的评论,文明友善发言,拒绝放假、剧透。"
|
||||
},
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\nconst input = core.getFlag('input', '');\nconst tags = [core.status.floorId,\n\tcore.getHeroLoc().x.toString(), core.getHeroLoc().y.toString()\n]\nif (!core.isReplaying()) {\n\tcore.plugin.postComment(input, tags);\n}\n}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "获取最新留言",
|
||||
"action": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\nif (!core.isReplaying()) {\n\tcore.plugin.getComment();\n\tsetTimeout(core.plugin.drawCommentSign, 1000);\n}\n}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "退出",
|
||||
"action": [
|
||||
{
|
||||
"type": "exit"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -15611,7 +15611,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
block?.event &&
|
||||
!main.replayChecking &&
|
||||
!core.isReplaying() &&
|
||||
!core.getFlag("__isFlying__", false)
|
||||
!core.hasFlag("__isFlying__") && !core.hasFlag("__fromLoad__")
|
||||
) {
|
||||
const dirEntries = allChangeEntries.find(
|
||||
(v) => v[1] === block.event.id
|
||||
@ -15708,9 +15708,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
_run();
|
||||
}
|
||||
},
|
||||
core.status.replay.speed == 24
|
||||
? 1
|
||||
: 10 / core.status.replay.speed
|
||||
core.status.replay.speed == 24 ?
|
||||
1 :
|
||||
10 / core.status.replay.speed
|
||||
);
|
||||
|
||||
core.animateFrame.lastAsyncId = animate;
|
||||
|
Loading…
Reference in New Issue
Block a user