558 lines
15 KiB
JavaScript
558 lines
15 KiB
JavaScript
main.floors.MT175=
|
|
{
|
|
"floorId": "MT175",
|
|
"title": "最后的大学",
|
|
"name": "最后的大学",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": false,
|
|
"images": [
|
|
{
|
|
"name": "yuzhou.jpg",
|
|
"canvas": "bg",
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
],
|
|
"ratio": 1,
|
|
"defaultGround": "ground",
|
|
"bgm": "gaolikangzhi.mp3",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}",
|
|
"events": {},
|
|
"changeFloor": {
|
|
"6,12": {
|
|
"floorId": "MT174",
|
|
"loc": [
|
|
6,
|
|
0
|
|
]
|
|
},
|
|
"12,6": {
|
|
"floorId": "MT178",
|
|
"loc": [
|
|
0,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"0,2": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"10,5": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"11,6": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,7": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"4,5": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"8,10": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"12,10": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"8,2": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"10,9": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,8": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"1,11": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,3": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"4,7": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,10": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"1,8": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,1": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:I963",
|
|
"operator": "+=",
|
|
"value": "6"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:dasishenghuo",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:dasishenghuo==165)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
1
|
|
],
|
|
"floorId": "MT178"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[ 4, 4,593,591,915, 22, 4,915,912,912, 82, 4,914],
|
|
[945, 4, 4, 4, 4,358, 4, 4, 4, 4, 81, 4, 81],
|
|
[511, 4, 4, 4, 4, 81, 4, 0,507,895, 0, 81,914],
|
|
[ 83, 4, 0,507, 81,894, 0,895, 4, 0,894, 4, 81],
|
|
[ 21, 4,897, 4, 4, 4,545, 0, 4,915, 0, 4,914],
|
|
[ 21, 82, 0, 21,959, 22, 0, 4, 4, 4,358, 4, 4],
|
|
[ 4, 4, 4, 4, 4, 4, 83, 4,592, 0, 0,959, 94],
|
|
[ 4, 0,894, 0,545, 81, 0,959, 0,591, 4, 4, 4],
|
|
[ 4,547, 4, 4, 4, 4,507, 4, 4, 4, 4,894, 23],
|
|
[895, 0, 4, 0,912, 82, 0, 23, 0, 81,507, 0,895],
|
|
[914, 0, 82,912, 0, 4,547, 4,959, 4, 4, 4,959],
|
|
[ 4,507, 4, 4, 82, 4, 0, 4, 0,591, 4,591, 0],
|
|
[ 4, 0,591,592, 0, 4, 93, 4,592, 21, 4, 21,592]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"bg2map": [
|
|
|
|
],
|
|
"fg2map": [
|
|
|
|
],
|
|
"flyPoint": [
|
|
6,
|
|
12
|
|
]
|
|
} |