main.floors.MAL47= { "floorId": "MAL47", "title": "魔法学院:47F", "name": "主楼 47F", "width": 13, "height": 13, "map": [ [148,148,148,148,148,148,148,148,148,148,148,148,148], [148, 87, 0, 82, 0, 0, 0, 81, 0, 0, 0, 21,148], [148, 0, 0,148, 0,122, 0,148,229,148,148,414,148], [148, 0,148,148,148,148,148,148, 0,204, 0, 21,148], [148, 0,148, 0, 81,220, 0,148, 81,148,148,148,148], [148, 0,148,207,148, 0,219,148, 0,219, 0, 0,148], [148, 0, 81, 0,148, 0, 0,148, 21, 0, 0,207,148], [148, 0,148, 0,148, 22, 21,148,148,148,148, 81,148], [148, 0,148, 0, 82,404,414,148, 0, 0, 0, 0,148], [148,229,148,148,148,148,148,148,204,148,148,148,148], [148, 0, 0,148, 31, 0,404,148, 0,148, 0, 0,148], [148, 0, 0, 81, 0,219, 0, 81, 0, 0, 0, 88,148], [148,148,148,148,148,148,148,148,148,148,148,148,148] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 5, "defaultGround": "magicground", "bgm": "maps4L.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "5,2": [ { "type": "if", "condition": "switch:A", "true": [ { "type": "if", "condition": "(flags.MapStatus?.Hard===\"普通\")", "true": [ "\t[商人,woman]如果要打败魔龙你需要屠龙匕或战斗筹码" ], "false": [ "\t[商人,woman]如果要打败魔龙你需要战斗筹码替代消失的屠龙匕" ] }, { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,woman]我有${core.hasItem(\"Backpack\") ?\"两\":\"一\"}张地震卷轴,只要4000星币,你要吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=4000", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "4000" }, { "type": "setValue", "name": "item:earthquake", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:earthquake", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用8星光支付", "need": "flags.star.level>7", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level-=8\n}" }, { "type": "setValue", "name": "item:earthquake", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:earthquake", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ] }, "changeFloor": { "11,11": { "floorId": ":before", "stair": "upFloor" }, "1,1": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "fgmap": [ ], "bgmap": [ ], "upFloor": [ 2, 1 ], "downFloor": [ 11, 10 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }