222 lines
7.7 KiB
JavaScript
222 lines
7.7 KiB
JavaScript
main.floors.DPL3_2=
|
|
{
|
|
"floorId": "DPL3_2",
|
|
"title": "龙宫游乐园:3-2",
|
|
"name": "3-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": {
|
|
"8,1": [
|
|
{
|
|
"type": "if",
|
|
"condition": "switch:A",
|
|
"true": [
|
|
{
|
|
"type": "if",
|
|
"condition": "(flags.MapStatus?.Hard===\"疯狂\")",
|
|
"true": [
|
|
"\t[商人,woman]你需要依靠战斗筹码来击败吸血鬼,可惜十字架变成百宝袋了"
|
|
],
|
|
"false": [
|
|
"\t[商人,woman]如果你拥有十字架,在对战丧尸和吸血鬼的时候攻击力翻倍。没有十字架的时候很难打倒他们,特别是吸血鬼。"
|
|
]
|
|
},
|
|
{
|
|
"type": "hide",
|
|
"remove": true
|
|
}
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "choices",
|
|
"text": "\t[商人,woman]我100星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙,你买吗?",
|
|
"choices": [
|
|
{
|
|
"text": "我太需要了",
|
|
"need": "status:money>=100",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:money",
|
|
"operator": "-=",
|
|
"value": "200"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:A",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "使用1星光支付",
|
|
"need": "flags.star.level>0",
|
|
"condition": "item:FriendshipBadge&&!switch:B",
|
|
"action": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nflags.star.level--\n}"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:B",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "离开",
|
|
"action": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"12,6": {
|
|
"floorId": "DPL3_1",
|
|
"loc": [
|
|
1,
|
|
6
|
|
],
|
|
"direction": "right"
|
|
},
|
|
"0,9": {
|
|
"floorId": "DPL3_3",
|
|
"loc": [
|
|
11,
|
|
9
|
|
],
|
|
"direction": "left"
|
|
},
|
|
"2,0": {
|
|
"floorId": "DPL4_2",
|
|
"loc": [
|
|
2,
|
|
11
|
|
],
|
|
"direction": "up"
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"9,9": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"9",
|
|
"9"
|
|
],
|
|
[
|
|
"11",
|
|
"9"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"10",
|
|
"10"
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"11,9": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"9",
|
|
"9"
|
|
],
|
|
[
|
|
"11",
|
|
"9"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"10",
|
|
"10"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[142,142, 91,142,142,142,142,142,142,142,142,142,142],
|
|
[142, 0, 0,203, 0,142, 31,142,122,142,401, 32,142],
|
|
[142,214,142,142, 81,142, 22,142, 0, 82, 21,218,142],
|
|
[142, 21,142,400, 0,142,411,142, 0,142,142, 81,142],
|
|
[142, 21,142, 0, 31,142,213,142, 0,142, 31,206,142],
|
|
[142, 22,142, 81,142,142, 81,142,213,142,142, 81,142],
|
|
[142, 21, 83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
|
[142, 21,142,142,142,142,142,205,142,142, 81,142,142],
|
|
[142,214,142, 0, 31, 0,142, 0,142, 0, 0, 0,142],
|
|
[ 92, 0,142,206, 0,210, 81, 0,142,203, 0,203,142],
|
|
[142,209,142, 81,142,142,142, 0,142,142, 85,142,142],
|
|
[142, 0, 0, 0,216,421,142, 0, 82, 0, 63, 0,142],
|
|
[142,142,142,142,142,142,142,142,142,142,142,142,142]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
]
|
|
} |