main.floors.MAL6= { "floorId": "MAL6", "title": "魔法学院:6F", "name": "主楼 6F", "width": 13, "height": 13, "map": [ [148,148,148,148,148,148,148,148,148,148,148,148,148], [148, 88,148, 21, 21,148, 0,217, 0, 21,201, 0,148], [148, 0,148, 21, 21,148, 0,148,148,148,148, 81,148], [148, 0,148,148,202,148, 0,148, 31, 0,209, 0,148], [148, 0, 81, 81, 0, 81, 0,148,122, 0, 0,205,148], [148, 0,148,148,148,148, 0,148,148,148,148,148,148], [148, 0, 0,202,217, 0, 21, 0,209,210, 0, 0,148], [148,148,148,148,148,148, 0,148,148,148,148, 0,148], [148,217, 0, 0, 0,148, 0, 81, 81, 0, 81, 0,148], [148, 0,205, 0, 28,148, 0,148,148,202,148,202,148], [148, 81,148,148,148,148, 0,148, 0, 0,148, 0,148], [148, 0,201, 0, 0,209, 0,148, 31, 31,148, 87,148], [148,148,148,148,148,148,148,148,148,148,148,148,148] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 1, "defaultGround": "magicground", "bgm": "maps4L.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "8,4": [ { "type": "if", "condition": "switch:A", "true": [ "\t[商人,woman]魔法学院分为主楼和图书馆 主楼和50层魔塔没多大区别\n图书馆大部分情况下是主楼的镜像翻转\n受魔法粒子的影响 你几乎见不到那边的人 大部分门和钥匙会互相抵消", "\t[商人,woman]在你上来之前应该看到5楼有一条连廊通往那边了吧\n在15楼 25楼 34楼 45楼都有一条连廊 商店都开在那(除了25)", { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,woman]我50星币特价卖${core.hasItem(\"Backpack\") ?\"两\":\"一\"}把蓝钥匙。你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=50", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "50" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用1星光支付", "need": "flags.star.level>0", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level--\n}" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ] }, "changeFloor": { "11,11": { "floorId": ":next", "stair": "downFloor" }, "1,1": { "floorId": ":before", "stair": "upFloor" } }, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "fgmap": [ ], "bgmap": [ ], "upFloor": [ 11, 10 ], "downFloor": [ 1, 2 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }