var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = 
{
	"main": {
		"floorIds": [
			"MT0",
			"MT1",
			"MT2",
			"MT3",
			"MT4",
			"MT5",
			"MT6",
			"MT7",
			"MT8",
			"MT9",
			"MT10",
			"MT11",
			"MT12",
			"MT13",
			"MT14",
			"MT15",
			"MT16",
			"MT17",
			"MT18",
			"MT19",
			"MT20",
			"MT21",
			"MT22",
			"MT23",
			"MT24",
			"MT25",
			"MT26",
			"MT27",
			"MT28",
			"MT29",
			"MT30",
			"MT31",
			"MT32",
			"MT33",
			"MT34",
			"MT35",
			"MT36",
			"MT37",
			"MT38",
			"MT39",
			"MT40",
			"MT41",
			"MT42",
			"MT43",
			"MT44",
			"MT45",
			"MT46",
			"MT47",
			"MT48",
			"MT49",
			"MT50"
		],
		"floorPartitions": [],
		"images": [
			"bear.png",
			"bg.jpg",
			"bg2.jpg",
			"bgVer.png",
			"brave.png",
			"brave_N.png",
			"dragon.png",
			"fly_p.png",
			"fly_p_b.png",
			"fly_p_r.png",
			"fly_p_w.png",
			"h25.png",
			"hero.png",
			"light.png",
			"lock.png",
			"maba.png",
			"shangmian.png",
			"status.png",
			"statusBackground.jpg",
			"statusBackground.png",
			"statusBackground2.png",
			"statusBackground3.jpg",
			"winskin.png",
			"winskin1.png",
			"xiamian.png",
			"youbian.png",
			"zuobian.png"
		],
		"tilesets": [
			"magictower.png"
		],
		"animates": [
			"hand",
			"qishijian",
			"shengjian",
			"shenshengjian",
			"sword",
			"tiejian",
			"yinjian",
			"zone"
		],
		"bgms": [
			"bgm.mp3",
			"boss1.mp3",
			"boss2.mp3",
			"boss3.mp3",
			"boss4.mp3",
			"boss5.mp3",
			"section0.mp3",
			"section1.mp3",
			"section2.mp3",
			"section3.mp3",
			"section4.mp3",
			"section5.mp3",
			"theme1.mp3",
			"theme2.mp3",
			"truth.mp3"
		],
		"sounds": [
			"10F.mp3",
			"129-Earth01.ogg",
			"158-Skill02.ogg",
			"170-Skill14.ogg",
			"20F.mp3",
			"3F.mp3",
			"Ice1.ogg",
			"Ice4.m4a",
			"Ice8.ogg",
			"Skill3.ogg",
			"Slash12.ogg",
			"Sword4.ogg",
			"Sword5.ogg",
			"attack.mp3",
			"attack2.mp3",
			"bomb.mp3",
			"cancel.mp3",
			"centerFly.mp3",
			"confirm.mp3",
			"door.mp3",
			"equip.mp3",
			"error.mp3",
			"floor.mp3",
			"gem.mp3",
			"icePickaxe.mp3",
			"item.mp3",
			"jump.mp3",
			"load.mp3",
			"pickaxe.mp3",
			"recovery.mp3",
			"save.mp3",
			"zone.mp3"
		],
		"fonts": [
			"beeB",
			"cjk",
			"hywh85W",
			"num",
			"number"
		],
		"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": null,
		"equipName": [],
		"startBgm": "theme2.mp3",
		"styles": {
			"startBackground": "project/images/bg.jpg",
			"startVerticalBackground": "project/images/bgVer.png",
			"startLogoStyle": "display:none",
			"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
			"statusLeftBackground": "url(project/materials/ground.png) repeat",
			"statusTopBackground": "url(project/materials/ground.png) repeat",
			"toolsBackground": "url(project/materials/ground.png) repeat",
			"floorChangingStyle": "background-color: black; color: white",
			"statusBarColor": [
				255,
				255,
				255,
				1
			],
			"borderColor": [
				204,
				204,
				204,
				1
			],
			"selectColor": [
				135,
				243,
				215,
				1
			],
			"font": "beeB"
		},
		"splitImages": [
			{
				"name": "dragon.png",
				"width": 384,
				"height": 96,
				"prefix": "dragon_"
			}
		]
	},
	"firstData": {
		"title": "毁灭之塔的艾德兰奇",
		"name": "51_eldri",
		"version": "Ver 1.0",
		"floorId": "MT1",
		"hero": {
			"image": "hero.png",
			"animate": false,
			"name": "缇欧",
			"lv": 1,
			"hpmax": -1,
			"hp": 1000,
			"manamax": -1,
			"mana": 0,
			"atk": 11,
			"def": 110,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {
					"I300": 1
				},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "down",
				"x": 6,
				"y": 11
			},
			"flags": {
				"nowWeapon": "sword5",
				"nowShield": "shield5",
				"次数": 1,
				"useBetweenLight": true,
				"__winskin_opacity__": 1,
				"useEnemyInfoDisplay": false
			},
			"followers": [],
			"steps": 0
		},
		"startCanvas": [
			{
				"type": "comment",
				"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
			},
			{
				"type": "comment",
				"text": "也可以直接切换到其他楼层（比如某个开始剧情楼层）进行操作。"
			},
			{
				"type": "previewUI",
				"action": [
					{
						"type": "fillRect",
						"x": 0,
						"y": 0,
						"width": "core.__PIXELS__",
						"height": "core.__PIXELS__",
						"style": [
							82,
							82,
							82,
							1
						]
					},
					{
						"type": "setAttribute",
						"align": "center"
					},
					{
						"type": "fillBoldText",
						"x": "core.__PIXELS__ / 2",
						"y": 80,
						"style": [
							255,
							255,
							255,
							1
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"lineWidth": 4,
						"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
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"lineWidth": 4,
						"font": "bold 25px Verdana",
						"text": "开始游戏"
					},
					{
						"type": "fillBoldText",
						"x": 305,
						"y": 330,
						"style": [
							255,
							0,
							0,
							1
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"lineWidth": 4,
						"font": "bold 25px Verdana",
						"text": "读取存档"
					},
					{
						"type": "fillBoldText",
						"x": 305,
						"y": 370,
						"style": [
							255,
							0,
							0,
							1
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"lineWidth": 4,
						"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": "setText",
				"background": "winskin.png",
				"time": 30,
				"animateTime": 50
			},
			{
				"type": "choices",
				"text": "是否跳过开头剧情？",
				"choices": [
					{
						"text": "否",
						"action": [
							"\t[旁白,darkFairy]这是一个处于多元宇宙边缘的世界。",
							"\t[旁白,darkFairy]传说中，创世神创造这片土地后就远赴星空，而代替祂管理世界的是唯一能通晓神谕的大祭司。",
							"\t[旁白,redKing]大祭司不是一个职位，而是一个人。据说在神还行在这片土地上时，他有过一个“芝诺”的名字。只是数千年来早已没有人如此称呼他。",
							"\t[旁白,redKing]据他所言，他的精神因神的赐福而不朽，为了代替神的权柄管理这方世界。他在大陆的正中心建立了一座高塔，自己便居住在塔的最高层。",
							"\t[旁白,darkFairy]高塔之外的世界则分布着许多小型的人类王国。王国的国王每年都需要向大祭司手下的魔法使缴纳供奉，作为交换大祭司则会赐福其土地丰收。——然而这并非唯一的贡品。",
							"\t[旁白,redKing]大祭司的肉体并不似灵魂一样永恒，每过20年，都会从各个王国中征选一名拥有王室血脉的纯洁少女，成为他灵魂新的载体。这样的仪式被称为“圣女祭”。",
							"\t[旁白,redKing]自然地，有过拒绝，有过反抗，但没有人能真正战胜拥有法力的大祭司。凡人无数次组队进攻过那座塔楼，结果无人生还。除了手下的魔导师，似乎还有更多令人闻风丧胆的魔物在帮大祭司镇守那里。久而久之，大祭司有了一个新的称号——“魔王”。而那座塔楼也被称为“魔塔”。",
							"\t[旁白,darkFairy]这一年的“圣女祭”，轮到了艾德兰奇王国的长女。",
							"\t[旁白,princess]艾德兰奇国王有两个孪生女儿，自幼亲密无间。姐姐诺伊尔饱读诗书，妹妹缇欧擅使刀枪。姐姐是王储，妹妹便志在将军。两姐妹本以为自己可以相伴过完一生，直到18岁的那年，高塔来的魔导师告知姐姐被选为圣女的消息。",
							"\t[旁白,princess]即使是国王，也不可能违抗魔导师和大祭司的旨意。\n分别的前夜，妹妹抱着姐姐哭得泣不成声，姐姐却显得意外的冷静。\n“姐姐你不害怕吗？”\n“怕，但这是为了这个国家，为了这个世界。”\n“可是，为什么，为什么偏偏是……”\n“不要哭，缇欧。你要代替我，将来成为这片国度的王。我会一直看着你的。”",
							"\t[hero]第二天，姐姐被高塔的魔导师带走了。\n沿途的国民欢呼着这一庆典，似乎本届圣女出在自己的王国是无上的幸运。\n父亲和母亲眼中含泪却要强装欢笑，否则会被魔导师认为不够虔诚，会给国家带来灾祸。\n——而我不在那支送行的队伍里。",
							"\t[hero]我偷偷潜入了王国的宝库，找到了传说中的神圣剑和神圣盾。\n然后跟在姐姐的马车身后，随着他们一起，走向了那座“魔塔”……"
						]
					},
					{
						"text": "是",
						"action": []
					}
				]
			},
			{
				"type": "setValue",
				"name": "item:book",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "item:fly",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:B10",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:B20",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:A40",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:B40",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:B49",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:B41",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:B35",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:count",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:lvl",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:sox",
				"value": "0"
			},
			{
				"type": "stopSound"
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[贪婪之神,moneyShop]勇士啊, 给我${20+10*flag:次数*(flag:次数-1)}金币就可以：",
				"textInList": "一区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "攻击+2",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "2"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "防御+4",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "4"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "理智+4",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:mana",
								"operator": "-=",
								"value": "4"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop2",
				"text": "\t[贪婪之神,moneyShop]勇士啊, 给我${20+10*flag:次数*(flag:次数-1)}金币就可以：",
				"textInList": "二区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "攻击+4",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "4"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "防御+8",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "8"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "理智+8",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:mana",
								"operator": "-=",
								"value": "8"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop3",
				"text": "\t[贪婪之神,moneyShop]勇士啊, 给我${20+10*flag:次数*(flag:次数-1)}金币就可以：",
				"textInList": "四区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "攻击+8",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "8"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "防御+16",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "16"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "理智+16",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:mana",
								"operator": "-=",
								"value": "16"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop4",
				"text": "\t[贪婪之神,moneyShop]勇士啊, 给我${20+10*flag:次数*(flag:次数-1)}金币就可以：",
				"textInList": "五区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "攻击+10",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "10"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "防御+20",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "20"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "理智+20",
						"need": "status:money>=20+10*flag:次数*(flag:次数-1)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:mana",
								"operator": "-=",
								"value": "20"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+10*flag:次数*(flag:次数-1)"
							},
							{
								"type": "setValue",
								"name": "flag:次数",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop5",
				"text": "\t[商人,woman]回收钥匙，黄钥匙100，蓝钥匙200，红钥匙500",
				"textInList": "回收钥匙商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "卖1把黄钥匙",
						"need": "item:yellowKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "100"
							},
							{
								"type": "setValue",
								"name": "item:yellowKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "卖10把黄钥匙",
						"need": "item:yellowKey>=10",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "1000"
							},
							{
								"type": "setValue",
								"name": "item:yellowKey",
								"operator": "-=",
								"value": "10"
							}
						]
					},
					{
						"text": "卖1把蓝钥匙",
						"need": "item:blueKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "200"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "卖1把红钥匙",
						"need": "item:redKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "500"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "-=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop6",
				"text": "\t[商人,woman]回收红蓝钥匙",
				"textInList": "回收红蓝钥匙商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "蓝钥匙（100血）",
						"need": "item:blueKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "红钥匙（300血）",
						"need": "item:redKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "300"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "-=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop7",
				"text": "\t[铸甲师,woman]修补护甲",
				"textInList": "护甲修复商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "修复护甲(100金币)",
						"need": "status:money>=100",
						"action": [
							{
								"type": "if",
								"condition": "(status:hp<=flags.lvl*100)",
								"true": [
									"\t[铸甲师,woman]你应该去找医生，而不是来找我！"
								],
								"false": [
									{
										"type": "playSound",
										"name": "item.mp3"
									},
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "100"
									},
									{
										"type": "setValue",
										"name": "flag:nude",
										"value": "0"
									},
									{
										"type": "setHeroIcon",
										"name": "hero.png"
									}
								]
							}
						]
					}
				]
			}
		],
		"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": 0,
		"bluePotion": 0,
		"yellowPotion": 500,
		"greenPotion": 800,
		"breakArmor": 0.9,
		"counterAttack": 0.1,
		"purify": 50,
		"hatred": 2,
		"animateSpeed": 300,
		"moveSpeed": 50,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 0
	},
	"flags": {
		"statusBarItems": [
			"enableFloor",
			"enableHP",
			"enableAtk",
			"enableDef",
			"enableMoney",
			"enableKeys"
		],
		"extendToolbar": false,
		"flyNearStair": true,
		"flyRecordPosition": false,
		"itemFirstText": false,
		"equipboxButton": false,
		"enableAddPoint": false,
		"enableNegativeDamage": false,
		"betweenAttackMax": false,
		"useLoop": true,
		"startUsingCanvas": false,
		"statusCanvas": false,
		"enableEnemyPoint": true,
		"enableGentleClick": false,
		"ignoreChangeFloor": false,
		"canGoDeadZone": false,
		"enableMoveDirectly": true,
		"enableRouteFolding": true,
		"disableShopOnDamage": false,
		"blurFg": false,
		"autoScale": null,
		"hideLeftStatusBar": null
	}
}