238 lines
8.9 KiB
JavaScript
238 lines
8.9 KiB
JavaScript
main.floors.DPR4_3=
|
|
{
|
|
"floorId": "DPR4_3",
|
|
"title": "龙宫游乐园:4-3",
|
|
"name": "4-3",
|
|
"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": {
|
|
"11,2": [
|
|
{
|
|
"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}把蓝钥匙和${core.hasItem(\"Backpack\") ?4:2}把黄钥匙,你买吗?",
|
|
"choices": [
|
|
{
|
|
"text": "我太需要了",
|
|
"need": "status:money>=100",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:money",
|
|
"operator": "-=",
|
|
"value": "100"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:B",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "离开",
|
|
"action": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"6,12": {
|
|
"floorId": "DPR3_3",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"direction": "down"
|
|
},
|
|
"0,1": {
|
|
"floorId": "DPR4_2",
|
|
"loc": [
|
|
11,
|
|
1
|
|
],
|
|
"direction": "left"
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"5,3": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"5",
|
|
"3"
|
|
],
|
|
[
|
|
"5",
|
|
"5"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"4",
|
|
"4"
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"5,5": [
|
|
{
|
|
"type": "specialDoor",
|
|
"loc": [
|
|
[
|
|
"5",
|
|
"3"
|
|
],
|
|
[
|
|
"5",
|
|
"5"
|
|
]
|
|
],
|
|
"doors": [
|
|
[
|
|
"4",
|
|
"4"
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[142,142,142,142,142,142,142,142,142,142,142,142,142],
|
|
[ 92, 0, 21, 21,206, 81, 0, 82, 0,203, 0, 0,142],
|
|
[142,142,142,142,142,142,213,142,142,142, 0,122,142],
|
|
[142, 22, 0, 32,142,222, 0, 81, 0,215, 0, 0,142],
|
|
[142, 0, 56, 0, 85, 0, 0,142,142,142,142,142,142],
|
|
[142, 21, 0, 32,142,222, 0,142,401, 31, 21,214,142],
|
|
[142,142,142,142,142,142,218,142,142,142,142, 81,142],
|
|
[142, 21, 32,142,213, 81, 0, 81,218,142, 0, 31,142],
|
|
[142,411,400, 81, 31,142, 0,142, 0, 81,213, 0,142],
|
|
[142,142,142,142,142,142,206,142,142,142,142,142,142],
|
|
[142, 0, 32, 0,215, 81, 0, 81,213, 0, 31, 0,142],
|
|
[142,411, 0, 21, 0,142, 0,142, 0, 22, 0,401,142],
|
|
[142,142,142,142,142,142, 93,142,142,142,142,142,142]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
]
|
|
} |