363 lines
10 KiB
JavaScript
363 lines
10 KiB
JavaScript
main.floors.MT50=
|
|
{
|
|
"floorId": "MT50",
|
|
"title": "小学中段",
|
|
"name": "小学中段",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": false,
|
|
"cannotViewMap": false,
|
|
"images": [],
|
|
"ratio": 5,
|
|
"defaultGround": "ground",
|
|
"bgm": "title.mp3",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {
|
|
"6,1": [
|
|
{
|
|
"type": "if",
|
|
"condition": "((status:atk<822)||((status:def<832)||(status:mdef<1078)))",
|
|
"true": [
|
|
"把所有宝石都吃完才给过。"
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:hard===3)",
|
|
"true": [
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "MT51",
|
|
"loc": [
|
|
6,
|
|
10
|
|
],
|
|
"direction": "up"
|
|
}
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "hideStatusBar"
|
|
},
|
|
{
|
|
"type": "setCurtain",
|
|
"color": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"time": 1000,
|
|
"keep": true
|
|
},
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "JQ13",
|
|
"loc": [
|
|
6,
|
|
12
|
|
],
|
|
"direction": "up"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"1,11": {
|
|
"floorId": ":before",
|
|
"stair": "upFloor"
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"6,3": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:door_MT50_6_2",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"8,7": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"4,11": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"8,11": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,8": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,5": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,5": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"11,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"9,3": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,3": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"1,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:qiliu",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:qiliu==76)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
1
|
|
],
|
|
"floorId": "MT44"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {
|
|
"6,2": {
|
|
"0": {
|
|
"condition": "flag:door_MT50_6_2==1",
|
|
"currentFloor": true,
|
|
"priority": 0,
|
|
"delayExecute": false,
|
|
"multiExecute": false,
|
|
"data": [
|
|
{
|
|
"type": "openDoor"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:door_MT50_6_2",
|
|
"operator": "=",
|
|
"value": "null"
|
|
}
|
|
]
|
|
},
|
|
"1": null
|
|
}
|
|
},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
|
|
[ 4,770, 1,768, 23, 4, 89, 4,773,768, 1,770, 4],
|
|
[ 4,769, 1, 0,769, 4, 85, 4,769, 0, 1,769, 4],
|
|
[ 4,768, 1,222, 0, 1,211, 1, 0,222, 1,768, 4],
|
|
[ 4,222, 1, 81, 1, 1, 85, 1, 1, 81, 1,222, 4],
|
|
[ 4, 0, 81,210, 0,768, 0,210, 0, 21, 22, 0, 4],
|
|
[ 4,769, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4],
|
|
[ 4, 21, 82, 0,768, 0,772, 0,623, 0,770, 0, 4],
|
|
[ 4,768, 1, 81, 1, 81, 1,210, 1, 1, 1, 82, 4],
|
|
[ 4, 0, 1, 0, 1,774, 1, 0, 1,774,774,774, 4],
|
|
[ 4, 0, 1, 22, 1, 1, 1,772, 1, 1, 1, 1, 4],
|
|
[ 4, 88, 1, 0,623, 0,769, 0,210,771,772,769, 4],
|
|
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"bg2map": [
|
|
|
|
],
|
|
"fg2map": [
|
|
|
|
]
|
|
} |