tianta/project/floors/shenhai.js

697 lines
28 KiB
JavaScript
Raw Normal View History

2022-10-21 23:00:12 +08:00
main.floors.shenhai=
{
"floorId": "shenhai",
"title": "神海",
"name": "神海",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [],
"item_ratio": 1,
"firstArrive": [
{
"type": "setValue",
"name": "flag:shenhaiFairy2",
"value": "1"
},
{
"type": "if",
"condition": "(flag:322==1)",
"true": [],
"false": []
}
],
"events": {
"6,2": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "if",
"condition": "(flag:shenhaimu==1)",
"true": [
"汪洋之墓 母亲汪雪"
],
"false": [
{
"type": "showImage",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].........汪大哥的.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "animate",
"name": "dian",
"loc": [
"hero",
"hero"
]
},
{
"type": "sleep",
"time": 20
},
{
"type": "showImage",
"code": 2,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].........汪大哥的母亲还是很关心他的\n啊........",
"\t[邵虎]汪大哥的执念是姐姐邵怜。那么就让我来\n完善这个执念吧。",
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "moveHero",
"steps": [
"left:1"
]
},
{
"type": "changePos",
"loc": [
5,
3
],
"direction": "up"
},
{
"type": "setCurtain",
"color": [
11,
11,
11,
1
],
"time": 500,
"keep": true
},
{
"type": "setBlock",
"number": "npc0",
"loc": [
[
5,
2
]
]
},
{
"type": "setValue",
"name": "flag:285",
"value": "1"
},
{
"type": "sleep",
"time": 100
},
{
"type": "setCurtain",
"time": 500
},
{
"type": "showImage",
"code": 2,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].........汪大哥,姐姐,再见。",
{
"type": "hideImage",
"code": 3,
"time": 0
},
{
"type": "setValue",
"name": "flag:shenhaimu",
"value": "1"
}
]
}
]
},
"4,7": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "comment",
"text": "JS脚本判定shenhaiFairy1的值"
},
{
"type": "function",
"function": "function(){\nif (core.getFlag(\"322\",0) == 1 ) {\n\tcore.setFlag(\"shenhaiFairy1\",1);\n}\nif (core.getFlag(\"338\",0) == 1 ) {\n\tcore.setFlag(\"shenhaiFairy1\",2);\n}\nif (core.getFlag(\"342\",0) == 1 ) {\n\tcore.setFlag(\"shenhaiFairy1\",3);\n}\n}"
},
{
"type": "switch",
"condition": "flag:shenhaiFairy1",
"caseList": [
{
"case": "1",
"action": [
{
"type": "comment",
"text": "322,20层全结束"
},
{
"type": "showImage",
"code": 1,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]媚儿又跑哪里去了。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
},
{
"case": "2",
"action": [
{
"type": "comment",
"text": "338,-10层可以去死了"
},
{
"type": "showImage",
"code": 1,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪].................",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
},
{
"case": "3",
"action": [
{
"type": "comment",
"text": "342,魔龙剧情结束"
},
{
"type": "showImage",
"code": 1,
"image": "xianzileng.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]再见了,小龙,请一定要幸福呦.........",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
]
}
]
},
"9,3": [
{
"type": "comment",
"text": "JS脚本判定shenhaiFairy2的值"
},
{
"type": "function",
"function": "function(){\nif (core.getFlag(\"284\",0) == 1 ) {\n\tcore.setFlag(\"shenhaiFairy2\",2);\n}\nif (core.getFlag(\"297\",0) == 1 ) {\n\tcore.setFlag(\"shenhaiFairy2\",3);\n}\n}"
},
{
"type": "switch",
"condition": "shenhaiFairy2",
"caseList": [
{
"case": "1",
"action": [
{
"type": "comment",
"text": "仙子初始状态"
},
{
"type": "animate",
"name": "sangang",
"loc": [
9,
3
]
},
{
"type": "sleep",
"time": 1500
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]小邵,你来了。",
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].........对于汪大哥的事.....我很抱歉",
"\t[守塔仙子汪雪]呵呵,没关系........他也有自己的选择吧。",
"\t[守塔仙子汪雪]..............就和我一样。",
{
"type": "showImage",
"code": 1,
"image": "shaohujinzhang.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].........您.........其实也已经不在了吧......",
{
"type": "showImage",
"code": 2,
"image": "xianzileng.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]..............",
"\t[守塔仙子汪雪]其实在生下汪洋那孩子之后不久.......我就已经被杀死了.......",
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]抱歉.........既然您还站在这里.......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
9,
3
]
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]................我不会让汪洋走我的道路的。",
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "animate",
"name": "shenglvehao",
"loc": "hero"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]看来这里面也有很多故事啊...........",
{
"type": "showImage",
"code": 2,
"image": "xianzileng.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]作为一个精灵......我本不会有像人类的烦恼。",
"\t[守塔仙子汪雪]但——我不只是简单的精灵........是丈夫用生命换来我的寿命延伸..........",
"\t[守塔仙子汪雪]我没办法像其他精灵一样,无忧无虑的活着......\n大概天魔是想让我这样无忧无虑的活下去.......\n但我不能.........",
"\t[守塔仙子汪雪]我有着人类的记忆,即使已经度过了百年,曾经昔日的友人去世我都是微笑着当一个旁观者........",
"\t[守塔仙子汪雪]就连现在也是一样.........",
"\t[守塔仙子汪雪]琥骑士......毒尾......腐翼......角尊.......\n甚至是我的儿子汪洋..........他们的死我都只是淡淡的看着.....淡淡的看着.......",
"\t[守塔仙子汪雪]我见过的死亡太多了........可为了活下去,我就必须这样选择.......为了丈夫......我也必须活下去...........",
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]客观立场.......您或许是这样的.......",
"\t[邵虎]可我是身在局里人,打破您的记忆,我深表遗憾...........",
{
"type": "showImage",
"code": 2,
"image": "xianzileng.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]呵呵,杰克也这么说过。",
{
"type": "showImage",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]杰克真是个神奇的人呢......",
"\t[守塔仙子汪雪]..........................",
"\t[守塔仙子汪雪]人生看得多了......大概思想也会逻辑起来吧....\n小邵我不会拜托你手下留情......请对杰克好一 点吧..........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "animate",
"name": "wenhao",
"loc": "hero"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]那头小龙也快憋不住了吧.......媚儿叫我不在塔外逗留,看来也是这样啊...........",
{
"type": "showImage",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]是媚骑士吗........?最近联盟难道要有动作?",
"\t[守塔仙子汪雪]先有动作的是小龙他们也说不定。总之塔上面不太安全,戾骑士应该在吧。你也要小心。",
"\t[守塔仙子汪雪]呵呵......不管是杰克,小邵你,还是媚儿,小龙他们........我都会情不自禁的加一句小心呢.............",
"\t[守塔仙子汪雪]..........大概我是真的不希望你们出事吧........尽管就算你们死了我也可以笑着结受就是了。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "animate",
"name": "luanma",
"loc": "hero"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+2"
},
{
"type": "setValue",
"name": "flag:284",
"value": "1"
}
]
},
{
"case": "2",
"action": [
{
"type": "comment",
"text": "284神海仙子"
},
{
"type": "sleep",
"time": 1500
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]既然媚儿让我到安全的地方去,想想看还是塔侧的这片水域比较让人舒心。",
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
},
{
"case": "3",
"action": [
{
"type": "comment",
"text": "297结束"
},
{
"type": "sleep",
"time": 1500
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子汪雪]天塔.......开始不太平了。",
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
}
]
}
],
"6,11": null,
"5,2": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "if",
"condition": "(flag:285==1)",
"true": [
{
"type": "setBlock",
"number": "npc0"
},
"邵怜之墓 弟弟邵虎"
],
"false": []
}
]
}
},
"changeFloor": {
"6,11": {
"floorId": "MT1",
"loc": [
12,
3
]
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
[345,350,350,350,350,350,350,350,350,350,350,350,351],
[348, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,352],
[348, 15, 15, 15, 15, 0,133, 15, 15, 15, 15, 15,352],
[348, 15, 15, 15, 0, 0, 0, 15, 0,124, 15, 15,352],
[348, 15, 15, 0, 0, 0, 0, 3, 3, 0, 0, 15,352],
[348, 15, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0,352],
[348, 15, 0, 3, 3, 3, 0, 0, 0, 0, 0, 15,352],
[348, 15, 3, 3,124, 0, 0, 0, 0, 0, 0, 0,352],
[348, 15, 15, 0, 0, 0, 3, 3, 3, 0, 0, 15,352],
[348, 15, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15,352],
[348, 15, 15, 15, 3, 3, 3, 0, 0, 15, 15, 15,352],
[348, 15, 15, 15, 15, 15, 89, 0, 15, 15, 15, 15,352],
[349,346,346,346,346,346,346,346,346,346,347,346,346]
],
"bgmap": [
],
"fgmap": [
],
"width": 13,
"height": 13,
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {}
}