main.floors.MT180= { "floorId": "MT180", "title": "主塔 180 层", "name": "180", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, "images": [ { "name": "8.jpg", "reverse": ":o", "canvas": "bg", "x": 0, "y": 0 } ], "ratio": 1, "defaultGround": "ground", "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.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, -296, -88);\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": "MT179", "loc": [ 6, 0 ] }, "6,0": { "floorId": "MT181", "loc": [ 6, 12 ] } }, "beforeBattle": {}, "afterBattle": { "5,10": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ], "2,9": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ], "4,7": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ], "4,3": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ], "2,2": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ], "5,1": [ { "type": "setValue", "name": "flag:wotainanle", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:wotainanle==28)", "true": [ { "type": "openDoor", "loc": [ 6, 1 ], "floorId": "MT183" } ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [40044,40044,40044,40044,40044,40044, 91,40044,40044,40044,40044,40044,40044], [40044,40044, 0,916, 0,958, 0,40044,916,915,916,961,40044], [40044,40044,958,40044,40044,40044,40044,40044,40044, 83,40044,40044,40044], [40044,40044,916, 0,958,40044, 0, 81,915,915, 81,915,915], [40044,40044,40044,40044, 0,40044, 0,40044,40044,40044,40044,40044,40044], [40044,40044,40044,40044,916,40044, 0,40044,917,40044,916,961,40044], [40044,40044,40044,40044, 0,40044, 0,40044,915,40044,915,916,40044], [40044,40044,40044,40044,958,40044, 0,40044, 82,40044, 83,40044,40044], [40044,40044, 0,916, 0,40044, 0, 81,916, 81,914,914,915], [40044,40044,958,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], [40044,40044, 0,916, 0,958, 0,40044,961,961,917,917,917], [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], [40044,40044,40044,40044,40044,40044, 93,40044,40044,40044,40044,40044,40044] ], "bgmap": [ ], "fgmap": [ ], "bg2map": [ ], "fg2map": [ ] }