yimengjiutian/project/floors/MT178.js

470 lines
13 KiB
JavaScript
Raw Normal View History

2023-06-07 04:06:48 +08:00
main.floors.MT178=
{
"floorId": "MT178",
"title": "主塔 178 层",
"name": "178",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [
{
"name": "yuzhou.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
2023-06-07 04:06:48 +08:00
"ratio": 1,
"defaultGround": "ground",
"bgm": "gaolikangzhi.mp3",
2023-06-07 04:06:48 +08:00
"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": {
"0,6": {
"floorId": "MT175",
"loc": [
12,
6
]
},
"6,0": {
"floorId": "MT184",
"loc": [
6,
12
]
}
},
2023-06-07 04:06:48 +08:00
"beforeBattle": {},
"afterBattle": {
"6,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"
}
]
}
],
"11,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"
}
]
}
],
"1,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"
}
]
}
],
"2,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"
}
]
}
],
"11,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"
}
]
}
],
"9,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,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,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"
}
]
}
],
"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"
}
]
}
],
"4,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"
}
]
}
],
"8,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"
}
]
}
],
"5,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,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"
}
]
}
],
"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"
}
]
}
]
},
2023-06-07 04:06:48 +08:00
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 4, 4, 4, 4, 4, 4, 89, 4, 4, 4, 4, 4, 4],
[ 4, 0, 23,594,961, 4, 86, 4,961,594, 23, 0, 4],
[ 4,511, 4, 4, 4, 4,511, 4, 4, 4, 4,511, 4],
[ 4,593,591,591, 0, 4, 83, 4, 0,592,592,593, 4],
[ 4, 4, 4, 4,358, 4, 82, 4,358, 4, 4, 4, 4],
[ 4,895, 0,894, 0, 4, 82, 4, 0,894, 0,896, 4],
[ 92, 0,896, 0,916,959, 0,959,916, 0,895, 0, 4],
[ 4, 4, 4, 4, 4, 4, 83, 4, 4, 4, 4, 4, 4],
[ 4,594, 4,917, 4, 0,959, 0, 4,961, 4,961, 4],
[ 4,917, 4,917, 4,593, 0,916, 4,594, 4,594, 4],
[ 4, 0,511, 0, 4, 4,358, 4, 4,511, 4,511, 4],
[ 4,917, 4, 0,358,593, 0,917,358, 0,594, 0, 4],
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
2023-06-07 04:06:48 +08:00
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}