main.floors.MAL31= { "floorId": "MAL31", "title": "魔法学院:31F", "name": "主楼 31F", "width": 13, "height": 13, "map": [ [148,148,148,148,148,148,148,148,148,148,148,148,148], [148, 0, 0, 21, 21,148, 88,148, 0, 0, 31,121,148], [148,224, 0, 21, 21,148, 0,148,225, 0, 0, 0,148], [148, 0,225,148,148,148, 0,148, 81,148, 0,212,148], [148, 0, 0, 81, 22,148, 0,148,402,148,212, 0,148], [148, 81,148,148,148,148, 0,148,148,148,148, 81,148], [148, 0,212, 0, 0, 0, 0, 0, 0, 0,212, 0,148], [148, 81,148,148,148,148, 0,148,148,148,148, 81,148], [148, 0,212,148,412,148,214,148, 32, 81, 0, 0,148], [148,212, 0,148, 81,148,214,148,148,148,216, 0,148], [148, 0, 0, 0,227,148, 0,148, 21, 21, 0,216,148], [148,122, 31, 0, 0,148, 87,148, 21, 21, 0, 0,148], [148,148,148,148,148,148,148,148,148,148,148,148,148] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 4, "defaultGround": "magicground", "bgm": "maps4L.mp3", "firstArrive": [ { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" } ], "eachArrive": [], "parallelDo": "", "events": { "1,11": [ { "type": "if", "condition": "switch:A", "true": [ { "type": "if", "condition": "core.hasItem(\"BankcardU2\")", "true": [ "\t[商人,woman]0楼有一个幸运金币 拥有它在打败敌人后能获得4倍的星币" ], "false": [ "\t[商人,woman]0楼有一个幸运金币 拥有它在打败敌人后能获得2倍的星币" ] }, { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,women]我1000星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙和${core.hasItem(\"Backpack\") ?8:4}把黄钥匙,你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=1000", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "1000" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用3星光支付", "need": "flags.star.level>2", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level-=3\n}" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ], "11,1": [ { "type": "if", "condition": "((flags.MapStatus?.Hard===\"噩梦\")||(flags.MapStatus?.Hard===\"疯狂\"))", "true": [ "\t[老登,man]如果你不幸遇到了一个带坚固的双手剑士而你又没有能获得额外攻击的手段……" ], "false": [ "\t[老登,man]双手剑士的攻击力高得离谱,和他对战会受到大量伤害。在能对他一击必杀之前,最好避免和他交战。" ] }, { "type": "hide", "remove": true, "time": 200 } ] }, "changeFloor": { "6,1": { "floorId": ":before", "stair": "upFloor" }, "6,11": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "fgmap": [ ], "bgmap": [ ], "upFloor": [ 6, 10 ], "downFloor": [ 6, 2 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }