235 lines
8.6 KiB
JavaScript
235 lines
8.6 KiB
JavaScript
main.floors.DPL7_2=
|
|
{
|
|
"floorId": "DPL7_2",
|
|
"title": "龙宫游乐园:7-2",
|
|
"name": "7-2",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": false,
|
|
"cannotMoveDirectly": false,
|
|
"images": [],
|
|
"ratio": 1,
|
|
"defaultGround": "magicground2",
|
|
"bgm": "maps5A.mp3",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {
|
|
"9,7": [
|
|
{
|
|
"type": "if",
|
|
"condition": "switch:A",
|
|
"true": [
|
|
"\t[商人,woman]神圣盾可以让你抵挡魔法攻击。但它不在这里",
|
|
{
|
|
"type": "hide",
|
|
"remove": true,
|
|
"time": 200
|
|
}
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "choices",
|
|
"text": "\t[商人,woman]给我1000G我就恢复你${core.hasItem(\"Backpack\") ?4000:2000}生命",
|
|
"choices": [
|
|
{
|
|
"text": "是",
|
|
"action": [
|
|
{
|
|
"type": "if",
|
|
"condition": "(status:money>=1000)",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:money",
|
|
"operator": "-=",
|
|
"value": "1000"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"operator": "+=",
|
|
"value": "2000"
|
|
},
|
|
{
|
|
"type": "playSound",
|
|
"name": "确定"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"operator": "+=",
|
|
"value": "2000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:A",
|
|
"value": "true"
|
|
},
|
|
"\t[商人,woman]感谢惠顾。"
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "操作失败"
|
|
},
|
|
"\t[商人,woman]你的金币不足!"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "使用4星光支付",
|
|
"need": "flags.star.level>3",
|
|
"condition": "item:FriendshipBadge&&!switch:B",
|
|
"action": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nflags.star.level-=4\n}"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"operator": "+=",
|
|
"value": "2000"
|
|
},
|
|
{
|
|
"type": "playSound",
|
|
"name": "确定"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:hp",
|
|
"operator": "+=",
|
|
"value": "2000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:B",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "否",
|
|
"action": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"11,0": {
|
|
"floorId": "DPL8_2",
|
|
"loc": [
|
|
11,
|
|
11
|
|
],
|
|
"direction": "up"
|
|
},
|
|
"0,6": {
|
|
"floorId": "DPL7_3",
|
|
"loc": [
|
|
11,
|
|
6
|
|
],
|
|
"direction": "left"
|
|
},
|
|
"12,11": {
|
|
"floorId": "DPL7_1",
|
|
"loc": [
|
|
1,
|
|
11
|
|
],
|
|
"direction": "right"
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"6,1": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"6",
|
|
"1"
|
|
],
|
|
[
|
|
"6",
|
|
"3"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"7",
|
|
"2"
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"6,3": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"6",
|
|
"1"
|
|
],
|
|
[
|
|
"6",
|
|
"3"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"7",
|
|
"2"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[142,142,142,142,142,142,142,142,142,142,142, 91,142],
|
|
[142, 31, 0, 0,142, 0,219,142, 21, 31,142, 0,142],
|
|
[142, 0,220, 0, 81, 0, 0, 85, 0, 63,142, 0,142],
|
|
[142,142, 81,142,142, 0,219,142, 21, 31,142,420,142],
|
|
[142, 32, 0, 0,142, 82,142,142,142,142,142, 0,142],
|
|
[142,142,207,142,142, 0, 0, 0, 0,204, 0, 21,142],
|
|
[ 92, 0, 0, 0, 0, 0,142,142,142,142,142,142,142],
|
|
[142,450,142, 82,142, 81,142,404,142,122,142, 21,142],
|
|
[142,404,142, 21,142,207,142,204,142,204,142,414,142],
|
|
[142,414,142, 21,142, 0,142, 0, 0, 0,142,207,142],
|
|
[142, 81,142, 21,142, 31,142,142, 81,142,142, 81,142],
|
|
[142, 0,220, 0, 81, 0, 0, 0, 0, 0, 0, 0, 94],
|
|
[142,142,142,142,142,142,142,142,142,142,142,142,142]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
]
|
|
} |