main.floors.MT10= { "floorId": "MT10", "title": "朦胧的环境", "name": "朦胧的环境", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, "cannotViewMap": false, "images": [ { "name": "8.jpg", "reverse": ":o", "canvas": "bg", "x": 0, "y": 0 } ], "ratio": 1, "defaultGround": "ground", "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": { "6,1": [ { "type": "if", "condition": "(flag:hard===3)", "true": [ { "type": "changeFloor", "floorId": "MT11", "loc": [ 6, 9 ], "direction": "up" } ], "false": [ { "type": "setCurtain", "color": [ 0, 0, 0, 1 ], "time": 1000, "keep": true }, { "type": "hideStatusBar" }, { "type": "changeFloor", "floorId": "JQ1", "loc": [ 6, 12 ] } ] } ] }, "changeFloor": { "6,6": { "floorId": "MT9", "loc": [ 6, 6 ] } }, "beforeBattle": {}, "afterBattle": { "6,3": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] }, { "type": "animate", "name": "EMsikao", "loc": [ 6, 4 ] } ], "5,4": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "7,4": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "9,2": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "9,6": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "9,9": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "3,9": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "2,5": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "3,2": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ] }, "afterGetItem": {}, "afterOpenDoor": { "4,7": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ], "8,7": [ { "type": "setValue", "name": "flag:tmys", "operator": "+=", "value": "1" }, { "type": "if", "condition": "(flag:tmys==41)", "true": [ { "type": "openDoor", "loc": [ 6, 2 ] } ] } ] }, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [40226,40204,40204,40204,40204,40204,40204,40204,40204,40204,40204,40204,40206], [40225,40044,40044,40044,40044,40044, 89,40044,40044,40044,40044,40044,40194], [40225,40044, 0,352, 0,40044, 86,40044, 0,203, 0,40044,40194], [40225,40044, 28,40044, 29,40044,204,40044, 29,40044, 27,40044,40194], [40225,40044, 0,40044, 0,353, 0,353, 0,40044, 29,40044,40194], [40225,40044,203,40044,40044,40044, 0,40044, 29,40044, 28,40044,40194], [40225,40044, 0, 27, 0,40044,104,40044, 0,203, 0,40044,40194], [40225,40044,40044,40044, 81,40044,40044,40044, 81,40044,40044,40044,40194], [40225,40044, 27,40044, 0, 29,40044, 29, 0,40044, 28,40044,40194], [40225,40044, 0,203, 0,40044,40044,40044, 0,203, 0,40044,40194], [40225,40044, 34,40044, 0, 31,40044, 31, 0,40044, 34,40044,40194], [40225,40044,40044,40044,40044,40044,40044,40044,40044,40044,40044,40044,40194], [40224,40179,40179,40179,40179,40179,40179,40179,40179,40179,40179,40179,40182] ], "bgmap": [ ], "fgmap": [ ], "bg2map": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fg2map": [ ], "bgm": "congtianerjiang.mp3" }