longhun/project/data.js
2023-03-26 02:57:39 +13:00

1538 lines
31 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
{
"main": {
"floorIds": [
"YZ1",
"YZ2",
"YZ3",
"YZ4",
"YZ5",
"YZ6",
"YZ7",
"YZ8",
"YZ9",
"YZ10",
"YZ11",
"YZ12",
"YZ13",
"YZ14",
"DY1",
"DY2",
"DY3",
"DY4",
"DY5",
"DY6",
"DY7",
"DY8",
"DY9",
"DY10",
"YZ15",
"FF1",
"FF2",
"FF3",
"FF4",
"FF5",
"FF6",
"FF7",
"FF8",
"FF9",
"FF10",
"YZ16",
"YZ17",
"YZ18",
"CL1",
"CL2",
"CL3",
"CL4",
"CL5",
"CL6",
"CL7",
"CL8",
"CL9",
"CL10"
],
"floorPartitions": [],
"images": [
"1.jpg",
"2.jpg",
"bear.png",
"bg.jpg",
"brave.png",
"dragon.png",
"hero.png",
"jsb.png",
"pjl.png",
"psq.png",
"qh.png",
"slx.png",
"winskin.png",
"yyy.png"
],
"tilesets": [
"magictower.png",
"cs5.png",
"Gothic.png",
"12.png",
"VX.png",
"deepforest.png",
"sishi2.png",
"sishi1.png"
],
"animates": [
"boss11",
"boss13",
"boss15",
"boss8",
"emo",
"hand",
"jianji",
"sg",
"sword",
"sword2",
"sword3",
"sword4",
"sword5",
"sword6",
"thunder",
"thunder2",
"thunder3",
"yijianzhanqianye",
"yongchang",
"zone"
],
"bgms": [
"1-2.mp3",
"A.mp3",
"BlackBlade.mp3",
"Breaking.mp3",
"beishanb.mp3",
"bgm.mp3",
"biaoti.mp3",
"bihaichaosheng.mp3",
"chongerfei.mp3",
"jiandanyuchuxia.mp3",
"shiyu.mp3",
"sjnj.mp3",
"tuo.mp3",
"zhandou.mp3"
],
"sounds": [
"Ice7.mp3",
"attack.mp3",
"bomb.mp3",
"boss11.mp3",
"boss112.mp3",
"boss13.mp3",
"boss17.mp3",
"boss8.mp3",
"cancel.mp3",
"centerFly.mp3",
"confirm.mp3",
"cursor.mp3",
"door.mp3",
"emo.mp3",
"equip.mp3",
"error.mp3",
"floor.mp3",
"gem.mp3",
"hand.mp3",
"hou.mp3",
"icePickaxe.mp3",
"item.mp3",
"jump.mp3",
"load.mp3",
"open_ui.mp3",
"pickaxe.mp3",
"recovery.mp3",
"save.mp3",
"shop.mp3",
"sword2.mp3",
"sword3.mp3",
"sword5a.mp3",
"sword6.mp3",
"thound.mp3",
"zone.mp3"
],
"fonts": [],
"nameMap": {
"确定": "confirm.mp3",
"取消": "cancel.mp3",
"操作失败": "error.mp3",
"光标移动": "cursor.mp3",
"打开界面": "open_ui.mp3",
"读档": "load.mp3",
"存档": "save.mp3",
"获得道具": "item.mp3",
"回血": "recovery.mp3",
"炸弹": "bomb.mp3",
"飞行器": "centerFly.mp3",
"开关门": "door.mp3",
"上下楼": "floor.mp3",
"跳跃": "jump.mp3",
"破墙镐": "pickaxe.mp3",
"破冰镐": "icePickaxe.mp3",
"宝石": "gem.mp3",
"阻激夹域": "zone.mp3",
"穿脱装备": "equip.mp3",
"背景音乐": "bgm.mp3",
"攻击": "attack.mp3",
"背景图": "bg.jpg",
"商店": "shop.mp3",
"领域": "zone"
},
"levelChoose": [
{
"title": "简单",
"name": "Easy",
"hard": 1,
"color": [
64,
255,
85,
1
],
"action": [
"简单模式获得30%减伤,开启负伤,血瓶效果增加",
{
"type": "setValue",
"name": "item:I436",
"operator": "+=",
"value": "1"
},
{
"type": "setGlobalFlag",
"name": "enableNegativeDamage",
"value": true
}
]
},
{
"title": "正常",
"name": "Normal",
"hard": 2,
"color": [
255,
221,
32,
1
],
"action": []
},
{
"title": "变态",
"name": "ultra hard",
"hard": 3,
"color": [
250,
0,
62,
1
],
"action": [
{
"type": "setValue",
"name": "item:I437",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"value": "8"
},
{
"type": "setValue",
"name": "status:def",
"value": "5"
}
]
}
],
"equipName": [
"卷轴",
"卷轴",
"卷轴",
"卷轴",
"卷轴",
"卷轴"
],
"startBgm": "biaoti.mp3",
"styles": {
"startBackground": "project/images/bg.jpg",
"startVerticalBackground": "project/images/bg.jpg",
"startLogoStyle": "color: green",
"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
"statusLeftBackground": "url(project/materials/bg2.png) repeat",
"statusTopBackground": "url(project/materials/bg2.png) repeat",
"toolsBackground": "black",
"floorChangingStyle": "background-color: black; color: white",
"statusBarColor": [
255,
255,
255,
1
],
"borderColor": [
0,
0,
0,
1
],
"selectColor": [
255,
215,
0,
1
],
"font": "Verdana"
},
"splitImages": [
{
"name": "dragon.png",
"width": 384,
"height": 96,
"prefix": "dragon_"
}
]
},
"firstData": {
"title": "龙魂传说",
"name": "longhun",
"version": "Ver 2.10.0",
"floorId": "YZ1",
"hero": {
"image": "psq.png",
"animate": false,
"name": "彭绍谦",
"lv": 1,
"hpmax": 3000,
"hp": 1000,
"manamax": 120,
"mana": 100,
"atk": 10,
"def": 8,
"mdef": 0,
"money": 0,
"exp": 0,
"equipment": [],
"items": {
"constants": {},
"tools": {},
"equips": {}
},
"loc": {
"direction": "down",
"x": 6,
"y": 0
},
"flags": {},
"followers": [],
"steps": 0
},
"startCanvas": [
{
"type": "comment",
"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
},
{
"type": "comment",
"text": "也可以直接切换到其他楼层(比如某个开始剧情楼层)进行操作。"
},
{
"type": "previewUI",
"action": [
{
"type": "fillRect",
"x": 0,
"y": 0,
"width": "core._PX_ || core.__PIXELS__",
"height": "core._PY_ || core.__PIXELS__",
"style": [
82,
82,
82,
1
]
},
{
"type": "setAttribute",
"align": "center"
},
{
"type": "fillBoldText",
"x": "(core._PX_ || core.__PIXELS__) / 2",
"y": 80,
"style": [
255,
255,
255,
1
],
"strokeStyle": [
0,
0,
0,
1
],
"font": "bold 40px Verdana",
"text": "${core.firstData.title}"
}
]
},
{
"type": "setValue",
"name": "flag:selection",
"value": "0"
},
{
"type": "comment",
"text": "在右下方自绘一个对话框进行显示选择项"
},
{
"type": "previewUI",
"action": [
{
"type": "fillRect",
"x": 230,
"y": 250,
"width": 150,
"height": 142,
"radius": 10,
"style": [
50,
54,
159,
0.85
]
},
{
"type": "strokeRect",
"x": 230,
"y": 250,
"width": 150,
"height": 142,
"radius": 10,
"style": [
255,
255,
255,
1
],
"lineWidth": 2
},
{
"type": "fillBoldText",
"x": 305,
"y": 290,
"style": [
255,
255,
255,
1
],
"font": "bold 25px Verdana",
"text": "开始游戏"
},
{
"type": "fillBoldText",
"x": 305,
"y": 330,
"font": "bold 25px Verdana",
"text": "读取存档"
},
{
"type": "fillBoldText",
"x": 305,
"y": 370,
"font": "bold 25px Verdana",
"text": "回放录像"
}
]
},
{
"type": "while",
"condition": "1",
"data": [
{
"type": "drawSelector",
"image": "winskin.png",
"code": 1,
"x": 245,
"y": "261 + 40*flag:selection",
"width": 120,
"height": 40
},
{
"type": "wait",
"data": [
{
"case": "keyboard",
"keycode": "13,32",
"break": true,
"action": [
{
"type": "switch",
"condition": "flag:selection",
"caseList": [
{
"case": "0",
"action": [
{
"type": "comment",
"text": "在“开始游戏”确定"
},
{
"type": "break",
"n": 1
}
]
},
{
"case": "1",
"action": [
{
"type": "comment",
"text": "在“读取存档”确定"
},
{
"type": "callLoad"
}
]
},
{
"case": "2",
"action": [
{
"type": "comment",
"text": "在“回放录像”确定"
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
},
{
"case": "keyboard",
"keycode": "38",
"break": true,
"action": [
{
"type": "comment",
"text": "光标上键"
},
{
"type": "setValue",
"name": "flag:selection",
"value": "(flag:selection + 2) % 3"
}
]
},
{
"case": "keyboard",
"keycode": "40",
"break": true,
"action": [
{
"type": "comment",
"text": "光标下键"
},
{
"type": "setValue",
"name": "flag:selection",
"value": "(flag:selection + 1) % 3"
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
261,
300
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“开始游戏”"
},
{
"type": "break",
"n": 1
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
301,
340
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“读取存档”"
},
{
"type": "callLoad"
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
341,
380
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“播放录像”"
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
},
{
"type": "setValue",
"name": "flag:selection",
"value": "null"
},
{
"type": "drawSelector",
"code": 1
},
{
"type": "clearMap"
},
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
{
"type": "if",
"condition": "(main.levelChoose.length == 0)",
"true": [
{
"type": "comment",
"text": "没有难度选择:直接开始游戏"
}
],
"false": [
{
"type": "comment",
"text": "难度选择:作为样例,这里只提供了一个显示选择项。"
},
{
"type": "function",
"function": "function(){\nvar choices = [];\nmain.levelChoose.forEach(function (one) {\n\tchoices.push({\n\t\t\"text\": one.title || '',\n\t\t\"action\": [\n\t\t\t{ \"type\": \"function\", \"function\": \"function() { core.status.hard = '\" + (one.name || '') + \"'; }\" }\n\t\t]\n\t});\n})\ncore.insertAction({ \"type\": \"choices\", \"choices\": choices });\n}"
},
{
"type": "comment",
"text": "你也可以仿照上面的样例进行自己创建等待用户操作来处理不同的难度分歧。\n如需自己处理请设置 core.status.hard \n例如自定义js脚本core.status.hard = 'Easy' "
}
]
},
{
"type": "clearMap"
},
{
"type": "comment",
"text": "接下来会执行startText中的事件"
},
{
"type": "comment",
"text": "状态栏默认处于隐藏状态;可以使用“显示状态栏”事件进行显示。"
}
],
"startText": [
{
"type": "comment",
"text": "初始剧情"
}
],
"shops": [
{
"id": "shopA",
"text": "\t[彭绍麟,N1700] 给我${50+25*flag:shopA}金币就给你治疗:",
"textInList": "绍麟治疗",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "治疗",
"need": "status:money>=50+25*flag:shopA",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "50+25*flag:shopA"
},
{
"type": "setValue",
"name": "flag:shopA",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax)"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "+=",
"value": "(status:manamax)"
}
]
}
]
},
{
"id": "shopB",
"text": "\t[舒落雪,N1696]谦儿啊, 给我${100+10*flag:shopB}金币就可以:",
"textInList": "舒落雪(初阶巫女)",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "攻击+3",
"need": "status:money>=100+10*flag:shopB",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+10*flag:shopB"
},
{
"type": "setValue",
"name": "flag:shopB",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "3"
}
]
},
{
"text": "防御+3",
"need": "status:money>=100+10*flag:shopB",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+10*flag:shopB"
},
{
"type": "setValue",
"name": "flag:shopB",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "3"
}
]
},
{
"text": "护盾+10",
"need": "status:money>=100+10*flag:shopB",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+10*flag:shopB"
},
{
"type": "setValue",
"name": "flag:shopB",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "10"
}
]
},
{
"text": "生命上限+1000",
"need": "status:money>=100+10*flag:shopB",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+10*flag:shopB"
},
{
"type": "setValue",
"name": "flag:shopB",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "1000"
}
]
}
]
},
{
"id": "shopC",
"text": "\t[舒落雪,N1696]谦儿啊, 给我金币就可以炼制:",
"textInList": "舒落雪(低阶宝物)",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "黄钥匙+150金币",
"need": "status:money>=50",
"icon": "yellowKey",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "蓝钥匙+1100金币",
"need": "status:money>=100",
"icon": "blueKey",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "破墙镐+1500金币",
"need": "status:money>=500",
"icon": "pickaxe",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "500"
},
{
"type": "setValue",
"name": "item:pickaxe",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "炸弹+1400金币",
"need": "status:money>=400",
"icon": "bomb",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "400"
},
{
"type": "setValue",
"name": "item:bomb",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "便携下品魔力药水+1100金币",
"need": "status:money>=100",
"icon": "I451",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100"
},
{
"type": "setValue",
"name": "item:I451",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "便携上品魔力药水+1200金币",
"need": "status:money>=200",
"icon": "I450",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "200"
},
{
"type": "setValue",
"name": "item:I450",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "圣蜂浆+1100金币",
"need": "status:money>=100",
"icon": "I453",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100"
},
{
"type": "setValue",
"name": "item:I453",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "高阶圣蜂浆+1200金币",
"need": "status:money>=200",
"icon": "I454",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "200"
},
{
"type": "setValue",
"name": "item:I454",
"operator": "+=",
"value": "1"
}
]
}
]
},
{
"id": "shopD",
"text": "\t[舒落雪,N1696]谦儿啊, 给我金币就可以炼制:",
"textInList": "舒落雪(高阶宝物)",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "下品星露+1100金币",
"need": "status:money>=100",
"icon": "I433",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100"
},
{
"type": "setValue",
"name": "item:I433",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "中品星露+1200金币",
"need": "status:money>=200",
"icon": "I439",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "200"
},
{
"type": "setValue",
"name": "item:I439",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "上品星露+1400金币",
"need": "status:money>=400",
"icon": "I434",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "400"
},
{
"type": "setValue",
"name": "item:I434",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "红钥匙+1300金币",
"need": "status:money>=300",
"icon": "redKey",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "300"
},
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "地震卷轴+12500金币",
"need": "status:money>=2500",
"icon": "earthquake",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "2500"
},
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "黄金炸弹+1800金币",
"need": "status:money>=800",
"icon": "I456",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "800"
},
{
"type": "setValue",
"name": "item:I456",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "全图轰炸+12000金币",
"need": "status:money>=2000",
"icon": "I457",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "2000"
},
{
"type": "setValue",
"name": "item:I457",
"operator": "+=",
"value": "1"
}
]
}
]
},
{
"id": "shopE",
"text": "\t[舒落雪,N1696]谦儿啊, 给我${70+15*flag:shopE}金币就可以:",
"textInList": "舒落雪(大魔法师)",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "攻击+5",
"need": "status:money>=70+15*flag:shopE",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "70+15*flag:shopE"
},
{
"type": "setValue",
"name": "flag:shopE",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "5"
}
]
},
{
"text": "防御+5",
"need": "status:money>=70+15*flag:shopE",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "70+15*flag:shopE"
},
{
"type": "setValue",
"name": "flag:shopE",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "5"
}
]
},
{
"text": "护盾+20",
"need": "status:money>=70+15*flag:shopE",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+10*flag:shopE"
},
{
"type": "setValue",
"name": "flag:shopE",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "20"
}
]
},
{
"text": "生命上限+5000",
"need": "status:money>=70+15*flag:shopE",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "70+15*flag:shopE"
},
{
"type": "setValue",
"name": "flag:shopE",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "5000"
}
]
}
]
},
{
"id": "shopF",
"text": "\t[舒落雪,N1696]谦儿啊, 给我1200金币就可以",
"textInList": "舒落雪(圣魔法师)",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "攻击+20",
"need": "status:money>=1200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1200"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "20"
}
]
},
{
"text": "防御+20",
"need": "status:money>=1200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1200"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "20"
}
]
},
{
"text": "护盾+100",
"need": "status:money>=1200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1200"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "100"
}
]
},
{
"text": "生命上限+30000",
"need": "status:money>=1200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1200"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "30000"
}
]
}
]
}
],
"levelUp": [
{
"need": "0",
"title": "",
"action": [
{
"type": "comment",
"text": "此处是初始等级,只需填写称号"
}
]
},
{
"need": "20",
"title": "",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
}
]
},
{
"need": "40",
"title": "",
"action": [
{
"type": "tip",
"text": "恭喜升级"
}
]
}
]
},
"values": {
"lavaDamage": 100,
"poisonDamage": 10,
"weakValue": 20,
"redGem": 1,
"blueGem": 1,
"greenGem": 1,
"redPotion": 75,
"bluePotion": 100,
"yellowPotion": 200,
"greenPotion": 300,
"breakArmor": 0.9,
"counterAttack": 0.1,
"purify": 3,
"hatred": 2,
"animateSpeed": 300,
"moveSpeed": 100,
"statusCanvasRowsOnMobile": 3,
"floorChangeTime": 100,
"x": null,
"defValue": null
},
"flags": {
"statusBarItems": [
"enableFloor",
"enableName",
"enableHPMax",
"enableHP",
"enableMana",
"enableAtk",
"enableDef",
"enableMDef",
"enableMoney",
"enableKeys",
"enableGreenKey",
"enablePZF",
"enableDebuff"
],
"autoScale": true,
"extendToolbar": false,
"flyNearStair": false,
"flyRecordPosition": false,
"itemFirstText": false,
"equipboxButton": false,
"enableAddPoint": false,
"enableNegativeDamage": false,
"betweenAttackMax": false,
"useLoop": false,
"startUsingCanvas": false,
"statusCanvas": false,
"enableEnemyPoint": true,
"enableGentleClick": true,
"ignoreChangeFloor": true,
"canGoDeadZone": false,
"enableMoveDirectly": true,
"enableRouteFolding": true,
"disableShopOnDamage": false,
"blurFg": false,
"hideLeftStatusBar": false
}
}