var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = { "main": { "floorIds": [ "empty", "sample0", "sample1", "sample2", "MT0" ], "floorPartitions": [], "images": [ "bear.png", "bg.jpg", "brave.png", "cloud.png", "dragon.png", "fog.png", "hero.png", "sun.png", "winskin.png" ], "tilesets": [ "magictower.png" ], "animates": [ "hand", "sword", "zone" ], "bgms": [ "bgm.opus" ], "sounds": [ "attack.opus", "bomb.opus", "cancel.opus", "centerFly.opus", "confirm.opus", "cursor.opus", "door.opus", "equip.opus", "error.opus", "floor.opus", "gem.opus", "icePickaxe.opus", "item.opus", "jump.opus", "load.opus", "open_ui.opus", "pickaxe.opus", "recovery.opus", "save.opus", "shop.opus", "zone.opus" ], "fonts": [], "nameMap": { "确定": "confirm.opus", "取消": "cancel.opus", "操作失败": "error.opus", "光标移动": "cursor.opus", "打开界面": "open_ui.opus", "读档": "load.opus", "存档": "save.opus", "获得道具": "item.opus", "回血": "recovery.opus", "炸弹": "bomb.opus", "飞行器": "centerFly.opus", "开关门": "door.opus", "上下楼": "floor.opus", "跳跃": "jump.opus", "破墙镐": "pickaxe.opus", "破冰镐": "icePickaxe.opus", "宝石": "gem.opus", "阻激夹域": "zone.opus", "穿脱装备": "equip.opus", "背景音乐": "bgm.opus", "攻击": "attack.opus", "背景图": "bg.jpg", "商店": "shop.opus", "领域": "zone" }, "levelChoose": [ { "title": "简单", "name": "easy", "hard": 1, "color": [ 0, 255, 0, 1 ], "action": [] }, { "title": "普通", "name": "medium", "hard": 2, "color": [ 255, 255, 0, 1 ], "action": [] }, { "title": "困难", "name": "hard", "hard": 3, "color": [ 255, 0, 0, 1 ], "action": [] } ], "equipName": [ "武器", "盾牌", "衣服", "鞋子", "首饰", "首饰", "首饰" ], "startBgm": "bgm.opus", "styles": { "floorChangingStyle": " ", "statusBarColor": [ 255, 255, 255, 1 ], "borderColor": [ 5, 0, 0, 0 ], "selectColor": [ 255, 215, 0, 1 ], "font": "normal" }, "splitImages": [] }, "firstData": { "title": "魔塔样板", "name": "template", "version": "Ver 2.B", "floorId": "sample0", "hero": { "image": "hero.png", "animate": false, "name": "阳光", "lv": 1, "hpmax": 0, "hp": 500, "manamax": -1, "mana": 0, "atk": 100, "def": 100, "mdef": 20, "money": 0, "exp": 0, "equipment": [], "items": { "constants": {}, "tools": {}, "equips": {} }, "loc": { "direction": "up", "x": 6, "y": 10 }, "flags": {}, "followers": [], "steps": 0, "magicDef": 0, "magicRed": 0 }, "startCanvas": [ { "type": "comment", "text": "这个事件现在已经没有用了,修改标题界面请直接修改标题组件,可以参考说明文档。" } ], "startText": [ { "type": "text", "text": "欢迎使用古祠制作的 2.B 样板,本样板主要针对渲染系统进行了重构,现在我们有了更加方便强大的渲染系统,也对部分相关事件进行了重置!" }, { "type": "text", "text": "同时 2.B 样板也新增了很多接口,在造塔时可以提供非常大的帮助!" }, { "type": "text", "text": "不过由于重构并不简单,有一些 2.x 有的功能在 2.B 中暂时被移除,将会在 2.B 的后续更新中重新添加回来。" }, { "type": "text", "text": "这里是开场剧情,可以在编辑器全塔属性中修改,试着修改一下吧!" } ], "shops": [ { "id": "shop1", "text": "\t[贪婪之神,moneyShop]勇敢的武士啊, 给我${20+2*flag:shop1}金币就可以:", "textInList": "1F金币商店", "mustEnable": false, "disablePreview": false, "choices": [ { "text": "生命+800", "need": "status:money>=20+2*flag:shop1", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, { "type": "setValue", "name": "status:money", "operator": "-=", "value": "20+2*flag:shop1" }, { "type": "setValue", "name": "flag:shop1", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "status:hp", "operator": "+=", "value": "800" } ] }, { "text": "攻击+4", "need": "status:money>=20+2*flag:shop1", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, { "type": "setValue", "name": "status:money", "operator": "-=", "value": "20+2*flag:shop1" }, { "type": "setValue", "name": "flag:shop1", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "status:atk", "operator": "+=", "value": "4" } ] } ] }, { "id": "shop2", "text": "\t[贪婪之神,expShop]勇敢的武士啊, 给我一定经验就可以:", "textInList": "1F经验商店", "mustEnable": false, "disablePreview": true, "choices": [ { "text": "等级+1(100经验)", "need": "status:exp>=100", "action": [ { "type": "setValue", "name": "status:exp", "operator": "-=", "value": "100" }, { "type": "setValue", "name": "status:lv", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "status:hp", "operator": "+=", "value": "1000" } ] } ] }, { "id": "itemShop", "item": true, "textInList": "道具商店", "use": "money", "mustEnable": false, "choices": [ { "id": "yellowKey", "number": 10, "money": "10", "sell": "5" } ] }, { "id": "keyShop", "textInList": "回收钥匙商店", "mustEnable": false, "commonEvent": "回收钥匙商店" } ], "levelUp": [ { "need": "0", "title": "萌新一段", "action": [ { "type": "comment", "text": "这里的等级需要在全塔属性处开启升级功能才有效" } ] }, { "need": "20", "title": "萌新二段", "clear": true, "action": [ { "type": "setValue", "name": "status:atk", "operator": "+=", "value": "10" } ] }, { "need": "100", "title": "萌新三段", "clear": true, "action": [ { "type": "comment", "text": "开启扣除经验时,升级后经验归零并升级,这样就不用计算先前升级所需经验了,只需要填写当前等级升级所需经验即可。" } ] } ] }, "values": { "lavaDamage": 100, "poisonDamage": 10, "weakValue": 20, "redGem": 3, "blueGem": 3, "greenGem": 5, "redPotion": 100, "bluePotion": 250, "yellowPotion": 500, "greenPotion": 800, "breakArmor": 0.9, "counterAttack": 0.1, "purify": 3, "hatred": 2, "animateSpeed": 400, "statusCanvasRowsOnMobile": 3, "floorChangeTime": 200, "moveSpeed": null }, "flags": { "statusBarItems": [ "enableHP", "enableAtk", "enableDef", "enableMDef", "enableMoney", "enableExp", "enableKeys" ], "flyNearStair": false, "flyRecordPosition": true, "itemFirstText": false, "enableAddPoint": false, "enableNegativeDamage": false, "betweenAttackMax": true, "enableGentleClick": true, "ignoreChangeFloor": true, "canGoDeadZone": false, "enableMoveDirectly": true, "enableRouteFolding": true, "disableShopOnDamage": false, "blurFg": true } }