296 lines
12 KiB
JavaScript
296 lines
12 KiB
JavaScript
main.floors.MAL50=
|
|
{
|
|
"floorId": "MAL50",
|
|
"title": "魔法学院:50F",
|
|
"name": "主楼 50F",
|
|
"width": 13,
|
|
"height": 13,
|
|
"map": [
|
|
[148,148,148,148,148,148,249,149,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148, 0, 0, 0,149,149,149,149,149],
|
|
[148,148,148,148,148,393, 0,394,149,149,149,149,149],
|
|
[148,148,148,148,148,148, 0,149,149,149,149,149,149]
|
|
],
|
|
"canFlyTo": false,
|
|
"canFlyFrom": false,
|
|
"canUseQuickShop": false,
|
|
"images": [],
|
|
"ratio": 5,
|
|
"defaultGround": "magicground",
|
|
"bgm": "battle.mp3",
|
|
"firstArrive": null,
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {
|
|
"5,11": {
|
|
"trigger": null,
|
|
"enable": false,
|
|
"noPass": null,
|
|
"displayDamage": true,
|
|
"opacity": 1,
|
|
"filter": {
|
|
"blur": 0,
|
|
"hue": 0,
|
|
"grayscale": 0,
|
|
"invert": false,
|
|
"shadow": 0
|
|
},
|
|
"data": []
|
|
},
|
|
"7,11": {
|
|
"trigger": null,
|
|
"enable": false,
|
|
"noPass": null,
|
|
"displayDamage": true,
|
|
"opacity": 1,
|
|
"filter": {
|
|
"blur": 0,
|
|
"hue": 0,
|
|
"grayscale": 0,
|
|
"invert": false,
|
|
"shadow": 0
|
|
},
|
|
"data": []
|
|
}
|
|
},
|
|
"changeFloor": {},
|
|
"afterBattle": {
|
|
"6,0": [
|
|
{
|
|
"type": "if",
|
|
"condition": "((item:pickaxe>0 || item:earthquake>0) &&( item:downFly>0))",
|
|
"true": [
|
|
{
|
|
"type": "animate",
|
|
"name": "zone",
|
|
"loc": "hero"
|
|
},
|
|
"\t[魔王,redKing]你是如此的强大…居然能打败我…什么…我居然被封印了…啊…",
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
5,
|
|
11
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
7,
|
|
11
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"false": [
|
|
"\t[魔王,redKing]你是如此的强大…居然能打败我…但是你封印不了我…我还会复活的…哈哈哈哈…",
|
|
{
|
|
"type": "playBgm",
|
|
"name": "win.mp3"
|
|
},
|
|
{
|
|
"type": "choices",
|
|
"text": "下次有机会的话,试试封印魔王吧",
|
|
"choices": [
|
|
{
|
|
"text": "登记生命值榜单",
|
|
"action": [
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴高手(魔法学院-${flags.MapStatus?.Hard}-生命值)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记攻击力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:atk",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴高手(魔法学院-${flags.MapStatus?.Hard}-攻击力)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记防御力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:def",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴高手(魔法学院-${flags.MapStatus?.Hard}-防御力)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,11": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 11],\n\t[7, 11],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nif (!flags.debug) {\n\tconst achievement = new Set(JSON.parse(core.decodeBase64(core.getLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", 'W10='))))\n\tif (core.status.route[6].substring(7) === \"NTVhdjU0dUM=\") achievement.add(\"516607A2E777E09E9954E0A14FC40A27\")\n\tcore.setLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", core.encodeBase64(JSON.stringify([...achievement])))\n}\n}"
|
|
},
|
|
{
|
|
"type": "playBgm",
|
|
"name": "win.mp3"
|
|
},
|
|
{
|
|
"type": "choices",
|
|
"text": "你就是传说中的星趴大神!",
|
|
"choices": [
|
|
{
|
|
"text": "登记生命值榜单",
|
|
"action": [
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-生命值)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记攻击力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:atk",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-攻击力)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记防御力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:def",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-防御力)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,11": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 11],\n\t[7, 11],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nif (!flags.debug) {\n\tconst achievement = new Set(JSON.parse(core.decodeBase64(core.getLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", 'W10='))))\n\tif (core.status.route[6].substring(7) === \"NTVhdjU0dUM=\") achievement.add(\"516607A2E777E09E9954E0A14FC40A27\")\n\tcore.setLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", core.encodeBase64(JSON.stringify([...achievement])))\n}\n}"
|
|
},
|
|
{
|
|
"type": "playBgm",
|
|
"name": "win.mp3"
|
|
},
|
|
{
|
|
"type": "choices",
|
|
"text": "你就是传说中的星趴大神!",
|
|
"choices": [
|
|
{
|
|
"text": "登记生命值榜单",
|
|
"action": [
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-生命值)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记攻击力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:atk",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-攻击力)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "登记防御力榜单",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"value": "status:def",
|
|
"norefresh": true
|
|
},
|
|
{
|
|
"type": "win",
|
|
"reason": "星趴大神(魔法学院-${flags.MapStatus?.Hard}-防御力)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"cannotMove": {},
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"autoEvent": {},
|
|
"beforeBattle": {},
|
|
"cannotMoveIn": {},
|
|
"bg2map": [],
|
|
"fg2map": []
|
|
} |