main.floors.MAL15= { "floorId": "MAL15", "title": "魔法学院:15F", "name": "主楼 15F", "width": 13, "height": 13, "map": [ [148,148,148,148,148,148,148,148,148,148,148,148,148], [148,411,214, 0, 81, 0, 87, 0, 0, 0, 0, 0,148], [148,213, 0, 0,148, 0, 0, 0,148, 0, 0,203,148], [148, 0, 0,203,148,148, 85,148,148,148,148, 81,148], [148, 81,148,148,148, 0, 0, 0,148,206, 0, 0,148], [148, 0,148, 21,148,181,182,183,148, 0,206, 0, 94], [148, 0,148, 22,148,184,185,186,148, 81,148,218,148], [148,203,148, 21,148,187,258,188,148, 0,148, 0,148], [148, 0,148, 0,148, 0, 0, 0,148, 0,148, 32,148], [148, 0, 81, 0,148,148, 0,148,148, 81,148,148,148], [148,206,148,206,148, 0, 0, 0,148, 0,205, 0,148], [148, 0,218, 0,148, 0, 88, 0, 81,205, 0,122,148], [148,148,148,148,148,148,148,148,148,148,148,148,148] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 2, "defaultGround": "magicground", "bgm": "maps4L.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "11,11": [ { "type": "if", "condition": "switch:A", "true": [ { "type": "if", "condition": "(flags.MapStatus?.Hard===\"疯狂\")", "true": [ "\t[商人,woman]你需要依靠16楼和17楼的战斗筹码来击败吸血鬼,可惜十字架变成百宝袋了" ], "false": [ "\t[商人,woman]如果你拥有十字架,在对战丧尸和吸血鬼的时候攻击力翻倍。没有十字架的时候很难打倒他们,特别是吸血鬼。十字架藏在更高的楼层。" ] }, { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,woman]我200星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙,你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=200", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "200" }, { "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": { "6,11": { "floorId": ":before", "stair": "upFloor" }, "6,1": { "floorId": ":next", "stair": "downFloor" }, "12,5": { "floorId": "MAC2", "loc": [ 1, 5 ], "direction": "right" } }, "afterBattle": { "6,7": [ { "type": "setBlock", "number": "47", "loc": [ [ 6, 4 ] ] }, { "type": "openDoor", "loc": [ 6, 3 ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "bgmap": [ ], "fgmap": [ ], "upFloor": [ 6, 2 ], "downFloor": [ 6, 10 ], "autoEvent": {}, "beforeBattle": { "6,7": [ { "type": "if", "condition": "(!flag:大乌贼)", "true": [ { "type": "tip", "text": "需要击败图书馆的大乌贼后才能挑战" }, { "type": "exit" } ] } ] }, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }