main.floors.SC12_2= { "floorId": "SC12_2", "title": "御魂庆典:12F", "name": "第 12 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,122, 0, 0, 1, 21,401, 21, 1, 0, 0, 0,330], [330, 1, 1,206, 1, 0, 1, 0, 1, 0, 1, 1,330], [330, 0, 0, 0, 1,218, 0,218, 1, 0,213, 0,330], [330, 81, 1, 1, 1, 1, 81, 1, 1, 1, 1, 0,330], [330, 0,218, 0, 81, 0,213, 0, 1, 31, 0,206,330], [330, 1, 1, 1, 1, 0, 0,218, 81, 0,411, 0,330], [330, 21, 21, 0, 1, 0, 32, 0, 1, 21, 0,203,330], [330, 21, 22, 0, 1, 1, 1, 1, 1, 82, 1, 81,330], [330, 0, 0,213, 1, 7,131, 8, 1,203, 0,213,330], [330, 1, 1, 81, 1, 31, 0, 31, 1, 1, 0, 1,330], [330, 87, 0, 0,205, 0, 0, 0,205, 0, 0, 88,330], [330,330,330,330,330,330,330,330,330,330,330,330,330] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 2, "defaultGround": "ground", "bgm": "maps2.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "1,1": [ { "type": "choices", "text": "\t[商人,woman]我800星币卖${core.hasItem(\"Backpack\") ?2:1}把珍稀的红钥匙,你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=800", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "800" }, { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" } ] }, { "type": "hide", "remove": true } ] }, { "text": "使用4星光支付", "need": "flags.star.level>3", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level-=4\n}" }, { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ], "6,9": [ { "type": "switch", "condition": "flag:shopvisited", "caseList": [ { "case": "4", "action": [ { "type": "openShop", "id": "shop4", "open": true } ] }, { "case": "3", "action": [ { "type": "openShop", "id": "shop3", "open": true } ] }, { "case": "default", "action": [ { "type": "openShop", "id": "shop2", "open": true }, { "type": "setValue", "name": "flag:shopvisited", "value": "2" }, { "type": "disableShop", "id": "shop1" } ] } ] } ] }, "changeFloor": { "11,11": { "floorId": ":before", "stair": "upFloor" }, "1,11": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "fgmap": [ ], "bgmap": [ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17] ], "upFloor": [ 2, 11 ], "downFloor": [ 10, 11 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": { "11,2": [ "up", "down", "left", "right" ], "10,1": [] }, "bg2map": [], "fg2map": [] }