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",
			"braveBuff.png",
			"braveBuff2.png",
			"princess1.png",
			"princess2.png",
			"greenSlime.png",
			"slimelord.png",
			"pinkShop.png",
			"lazySkeleton.png",
			"anger.png",
			"yellowKnight.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",
			"section.mp3",
			"section.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": "section.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": "50层魔塔（献祭之梯）",
		"name": "51_SacrificeStairs",
		"version": "Ver 2.02",
		"floorId": "MT1",
		"hero": {
			"image": "hero.png",
			"animate": false,
			"name": "勇者",
			"lv": 1,
			"hpmax": -1,
			"hp": 1000,
			"manamax": -1,
			"mana": 0,
			"atk": 100,
			"def": 100,
			"matk": 0,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {
					"I300": 1
				},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "down",
				"x": 6,
				"y": 11
			},
			"flags": {
				"nowWeapon": "",
				"nowShield": "",
				"次数": 1,
				"useBetweenLight": true,
				"__winskin_opacity__": 1,
				"useEnemyInfoDisplay": false,
				"useNPCDisplay": 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
						],
						"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": "setText",
				"background": "winskin.png",
				"time": 30,
				"animateTime": 50
			},
			{
				"type": "setValue",
				"name": "item:book",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "item:fly",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:peFlag",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:modelevel",
				"value": "2"
			},
			{
				"type": "setValue",
				"name": "flag:gameLevel",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:randomLevel",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:greenKeyMode",
				"value": "2"
			},
			{
				"type": "function",
				"function": "function(){core.greenKeyCheat(0);}"
			},
			{
				"type": "setValue",
				"name": "flag:damageMode",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:canFly49",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:flyType",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:gameEName",
				"value": "'51_mod'"
			},
			{
				"type": "setValue",
				"name": "flag:fightDoorList",
				"value": "[]"
			},
			{
				"type": "setValue",
				"name": "flag:specialDoorOpenNumber",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:49Killed",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:lastSpecialDoor",
				"value": "''"
			},
			{
				"type": "setValue",
				"name": "flag:itemSaveMode",
				"value": "true"
			},
			{
				"type": "if",
				"condition": "(flag:modelevel==1)",
				"true": [
					{
						"type": "function",
						"function": "function(){core.doInitRandom();}"
					}
				],
				"false": [
					{
						"type": "setValue",
						"name": "item:wand",
						"operator": "+=",
						"value": "1"
					},
					{
						"type": "setValue",
						"name": "item:lifeWand",
						"operator": "+=",
						"value": "1"
					},
					{
						"type": "setValue",
						"name": "item:hammer",
						"operator": "+=",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "flag:10FBOSSNAME",
						"value": "'skeletonCaptain'"
					},
					{
						"type": "setValue",
						"name": "flag:10FBOSSCNAME",
						"value": "'骷髅队长'"
					},
					{
						"type": "setValue",
						"name": "flag:15FBOSSNAME",
						"value": "'octopus'"
					},
					{
						"type": "setValue",
						"name": "flag:15FBOSSCNAME",
						"value": "'大乌贼'"
					},
					{
						"type": "setValue",
						"name": "flag:20FBOSSNAME",
						"value": "'vampire'"
					},
					{
						"type": "setValue",
						"name": "flag:20FBOSSCNAME",
						"value": "'吸血鬼'"
					},
					{
						"type": "setValue",
						"name": "flag:25FBOSSNAME",
						"value": "'blackMagician'"
					},
					{
						"type": "setValue",
						"name": "flag:25FBOSSCNAME",
						"value": "'大法师'"
					},
					{
						"type": "setValue",
						"name": "flag:35FBOSSNAME",
						"value": "'magicDragon'"
					},
					{
						"type": "setValue",
						"name": "flag:35FBOSSCNAME",
						"value": "'魔龙'"
					},
					{
						"type": "setValue",
						"name": "flag:40FENAME1",
						"value": "'ghostSkeleton'"
					},
					{
						"type": "setValue",
						"name": "flag:40FENAME2",
						"value": "'soldier'"
					},
					{
						"type": "setValue",
						"name": "flag:40FENAME3",
						"value": "'swordsman'"
					},
					{
						"type": "setValue",
						"name": "flag:40FENAME4",
						"value": "'redKnight'"
					},
					{
						"type": "setValue",
						"name": "flag:40FBOSSID",
						"value": "226"
					},
					{
						"type": "setValue",
						"name": "flag:40FBOSSNAME",
						"value": "'yellowKnight'"
					},
					{
						"type": "setValue",
						"name": "flag:40FBOSSCNAME",
						"value": "'骑士队长'"
					},
					{
						"type": "setValue",
						"name": "flag:48FBOSSNAME",
						"value": "'whiteKing'"
					},
					{
						"type": "setValue",
						"name": "flag:48FBOSSCNAME",
						"value": "'魔法警卫'"
					},
					{
						"type": "setValue",
						"name": "flag:49FBOSSNAME",
						"value": "'redKing'"
					},
					{
						"type": "setValue",
						"name": "flag:49FBOSSCNAME",
						"value": "'魔王'"
					},
					{
						"type": "setValue",
						"name": "flag:50FBOSSNAME",
						"value": "'swordEmperor'"
					},
					{
						"type": "setValue",
						"name": "flag:50FBOSSCNAME",
						"value": "'魔王'"
					},
					{
						"type": "function",
						"function": "function(){core.status.hero.flags.__auto__ = { battle: false, item: false, wall: false, itemPotion: true };/*core.values.redPotion=25;core.values.bluePotion=100;core.setEnemy('swordEmperor', 'hp', 5000);*/}"
					},
					{
						"type": "setValue",
						"name": "flag:manbuff",
						"value": "0"
					},
           			 "模式说明：\n\t满足一定条件才能上下楼，不然只能回到本层。\n\n①杀怪模式：杀X个怪物可以一次性上/下X层。\n②开门&拾物模式：捡Y个物品或开Z个门/暗墙可以一次性上/下Y+Z层。\n\n简单难度：每区商店首次加点免费、50F有战败结局。\n\n额外魔改内容：\n①真魔王血量1W血量。\n②22F、28F提供传送阵。\n③24-26F布局微调。\n④\r[red]中楼传特性：同层传送时，直接回到下楼梯位置！\r",
					{
						"type": "choices",
						"text": "游戏模式选择",
						"choices": [
							{
								"text": "\r[#ff1493]杀怪才能上下楼 中难度\r",
								"action": [
									{
										"type": "setValue",
										"name": "flag:gameLevel",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:gameName",
										"value": "'杀怪'"
									},
									{
										"type": "function",
										"function": "function(){core.doInitRandom();}"
									}
								]
							},
							{
								"text": "\r[#32CD32]开门&拾物才能上下楼 低难度\r",
								"action": [
									{
										"type": "setValue",
										"name": "flag:gameLevel",
										"value": "2"
									},
									{
										"type": "setValue",
										"name": "flag:gameName",
										"value": "'开门&拾物'"
									},
									{
										"type": "function",
										"function": "function(){core.doInitRandom();}"
									}
								]
							}
						]
					},
					{
						"type": "choices",
						"text": "游戏难度选择",
						"choices": [
							{
								"text": "\r[#32CD32]简单\r",
								"action": [
									{
										"type": "function",
										"function": "function(){}"
									}
								]
							},
							{
								"text": "\r[#ff1493]普通\r",
								"action": [
									{
										"type": "setValue",
										"name": "flag:superHard",
										"value": "1"
									},
									{
										"type": "function",
										"function": "function(){core.setFlag('商店1',1);core.setFlag('商店2',1);core.setFlag('商店4',1);core.setFlag('商店5',1);}"
									}
								]
							}
						]
					}
				]
			},
			{
				"type": "stopSound"
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[贪婪之神,blueShop] 给我${flag:商店1?(20+10*flag:次数*(flag:次数-1)):'0'}金币就可以：",
				"textInList": "一区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=(flag:商店1?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "if",
								"condition": "flag:商店1",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "攻击+2",
						"need": "status:money>=(flag:商店1?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "2"
							},
							{
								"type": "if",
								"condition": "flag:商店1",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "防御+4",
						"need": "status:money>=(flag:商店1?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "4"
							},
							{
								"type": "if",
								"condition": "flag:商店1",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店1",
										"value": "1"
									}
								]
							}
						]
					}
				]
			},
			{
				"id": "shop2",
				"text": "\t[贪婪之神,blueShop] 给我${flag:商店2?(20+10*flag:次数*(flag:次数-1)):'0'}金币就可以：",
				"textInList": "二区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=(flag:商店2?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "if",
								"condition": "flag:商店2",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店2",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "攻击+4",
						"need": "status:money>=(flag:商店2?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "4"
							},
							{
								"type": "if",
								"condition": "flag:商店2",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店2",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "防御+8",
						"need": "status:money>=(flag:商店2?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "8"
							},
							{
								"type": "if",
								"condition": "flag:商店2",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店2",
										"value": "1"
									}
								]
							}
						]
					}
				]
			},
			{
				"id": "shop3",
				"text": "\t[贪婪之神,blueShop] 给我${flag:商店4?(20+10*flag:次数*(flag:次数-1)):'0'}金币就可以：",
				"textInList": "四区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=(flag:商店4?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "if",
								"condition": "flag:商店4",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店4",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "攻击+8",
						"need": "status:money>=(flag:商店4?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "8"
							},
							{
								"type": "if",
								"condition": "flag:商店4",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店4",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "防御+16",
						"need": "status:money>=(flag:商店4?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "16"
							},
							{
								"type": "if",
								"condition": "flag:商店4",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店4",
										"value": "1"
									}
								]
							}
						]
					}
				]
			},
			{
				"id": "shop4",
				"text": "\t[贪婪之神,blueShop] 给我${flag:商店5?(20+10*flag:次数*(flag:次数-1)):'0'}金币就可以：",
				"textInList": "五区商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+${100*flag:次数}",
						"need": "status:money>=(flag:商店5?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100*flag:次数"
							},
							{
								"type": "if",
								"condition": "flag:商店5",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店5",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "攻击+10",
						"need": "status:money>=(flag:商店5?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "10"
							},
							{
								"type": "if",
								"condition": "flag:商店5",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店5",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"text": "防御+20",
						"need": "status:money>=(flag:商店5?(20+10*flag:次数*(flag:次数-1)):0)",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "20"
							},
							{
								"type": "if",
								"condition": "flag:商店5",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "20+10*flag:次数*(flag:次数-1)"
									},
									{
										"type": "setValue",
										"name": "flag:次数",
										"operator": "+=",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:商店5",
										"value": "1"
									}
								]
							}
						]
					}
				]
			},
			{
				"id": "shop5",
				"text": "\t[商人,woman]100金币回收黄钥匙一把,\n150金币回收蓝钥匙一把，\n200金币回收红钥匙一把！",
				"textInList": "回收钥匙商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "我要卖1把黄钥匙(100G)",
						"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把黄钥匙(1000G)",
						"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把蓝钥匙(150G)",
						"need": "item:blueKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "150"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "我要卖10把蓝钥匙(1500G)",
						"need": "item:blueKey>=10",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "1500"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "-=",
								"value": "10"
							}
						]
					},
					{
						"text": "我要卖1把红钥匙(200G)",
						"need": "item:redKey>=1",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "200"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "我要卖10把红钥匙(2000G)",
						"need": "item:redKey>=10",
						"action": [
							{
								"type": "playSound",
								"name": "item.mp3"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "2000"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "-=",
								"value": "10"
							}
						]
					}
				]
			}
		],
		"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": 50,
		"poisonDamage": 10,
		"weakValue": 20,
		"redGem": 1,
		"blueGem": 1,
		"greenGem": 1,
		"yellowGem": 2,
		"extraRedGemValue": 0,
		"extraBlueGemValue": 0,
		"swordRatio1": 1,
		"shieldRatio1": 1,
		"swordRatio2": 1,
		"shieldRatio2": 1,
		"swordRatio3": 1,
		"shieldRatio3": 1,
		"swordRatio4": 1,
		"shieldRatio4": 1,
		"swordRatio5": 1,
		"shieldRatio5": 1,
		"swordRatio6": 1,
		"shieldRatio6": 1,
		"redPotion": 50,
		"bluePotion": 200,
		"yellowPotion": 500,
		"greenPotion": 300,
		"breakArmor": 3,
		"counterAttack": 0.1,
		"purify": 3,
		"hatred": 2,
		"animateSpeed": 300,
		"moveSpeed": 60,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 0,
		"extraPotion": 0,
		"extraGold": 0,
		"matkGem": 1,
		"mdefGem": 1
	},
	"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": true,
		"canGoDeadZone": false,
		"enableMoveDirectly": true,
		"enableRouteFolding": true,
		"disableShopOnDamage": false,
		"blurFg": false,
		"autoScale": null,
		"hideLeftStatusBar": null,
		"60FPS": false
	}
}