main.floors.DPR7_1= { "floorId": "DPR7_1", "title": "龙宫游乐园:7-1", "name": "7-1", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "cannotViewMap": false, "cannotMoveDirectly": false, "images": [], "ratio": 1, "defaultGround": "magicground2", "bgm": "maps5A.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { "1,4": [ { "type": "if", "condition": "switch:A", "true": [ "\t[商人,woman]神圣盾可以让你抵挡魔法攻击。但它不在这里", { "type": "hide", "remove": true, "time": 200 } ], "false": [ { "type": "choices", "text": "\t[商人,woman]给我1000G我就恢复你${core.hasItem(\"Backpack\") ?4000:2000}生命", "choices": [ { "text": "是", "action": [ { "type": "if", "condition": "(status:money>=1000)", "true": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "1000" }, { "type": "setValue", "name": "status:hp", "operator": "+=", "value": "2000" }, { "type": "playSound", "name": "确定" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "status:hp", "operator": "+=", "value": "2000" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" }, "\t[商人,woman]感谢惠顾。" ], "false": [ { "type": "playSound", "name": "操作失败" }, "\t[商人,woman]你的金币不足!" ] } ] }, { "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": "status:hp", "operator": "+=", "value": "2000" }, { "type": "playSound", "name": "确定" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "status:hp", "operator": "+=", "value": "2000" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "否", "action": [] } ] } ] } ] }, "changeFloor": { "11,0": { "floorId": "DPR8_1", "loc": [ 11, 11 ], "direction": "up" } }, "beforeBattle": {}, "afterBattle": { "9,8": [ { "type": "specialDoor", "loc": [ [ "9", "8" ], [ "11", "8" ] ], "doors": [ [ "10", "9" ] ] } ], "11,8": [ { "type": "specialDoor", "loc": [ [ "9", "8" ], [ "11", "8" ] ], "doors": [ [ "10", "9" ] ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [142,142,142,142,142,142,142,142,142,142,142, 91,142], [142, 31, 0,142, 0, 0, 0,207, 0, 0, 0, 0,142], [142,404,219, 81, 0,142,142,142,142,142,142, 81,142], [142,142,142,142, 0,142, 0, 0, 0,204, 0, 0,142], [142,122, 0,219, 0,142, 81,142,142,142,142, 82,142], [142,142,142,142, 0,142, 0, 0,420, 31, 0, 0,142], [142,414, 21,204, 0,142, 81,142,142,142, 81,142,142], [142,142,142,142, 0,142,207, 0,142, 0, 0, 0,142], [142, 32,460, 82, 0,142, 0,204,142,207, 0,207,142], [142, 32, 32,142, 0,142,142, 81,142,142, 85,142,142], [142,142,142,142, 0,142, 31,220,142, 21, 0, 21,142], [142, 21, 21, 82, 0,142, 32, 21, 83, 0, 63, 0,142], [142,142,142,142,142,142,142,142,142,142,142,142,142] ], "bgmap": [ ], "fgmap": [ ] }