var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"yellowKey": {
		"cls": "tools",
		"name": "黄钥匙",
		"text": "可以打开一扇黄门",
		"hideInToolbox": true
	},
	"blueKey": {
		"cls": "tools",
		"name": "蓝钥匙",
		"text": "可以打开一扇蓝门",
		"hideInToolbox": true
	},
	"redKey": {
		"cls": "tools",
		"name": "红钥匙",
		"text": "可以打开一扇红门",
		"hideInToolbox": true
	},
	"redGem": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+${core.values.redGem}",
		"itemEffect": "core.getRedGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.atk += core.values.redGem",
		"canUseItemEffect": "true"
	},
	"blueGem": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "，防御+${core.values.blueGem}",
		"itemEffect": "core.getBlueGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.def += core.values.blueGem",
		"canUseItemEffect": "true"
	},
	"greenGem": {
		"cls": "items",
		"name": "绿宝石",
		"text": "，护盾+${core.values.greenGem}",
		"itemEffect": "core.getGreenGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
		"canUseItemEffect": "true"
	},
	"yellowGem": {
		"cls": "items",
		"name": "黄宝石",
		"text": "可以进行加点",
		"itemEffect": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;",
		"itemEffectTip": "，全属性提升",
		"useItemEvent": [
			{
				"type": "choices",
				"choices": [
					{
						"text": "攻击+1",
						"action": [
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "防御+2",
						"action": [
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "2"
							}
						]
					},
					{
						"text": "生命+200",
						"action": [
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "200"
							}
						]
					}
				]
			}
		],
		"canUseItemEffect": "true"
	},
	"redPotion": {
		"cls": "items",
		"name": "红血瓶",
		"text": "，生命+${core.values.redPotion}",
		"itemEffect": "core.getRedPotion()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.hp += core.values.redPotion",
		"canUseItemEffect": "true"
	},
	"bluePotion": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "，生命+${core.values.bluePotion}",
		"itemEffect": "core.getBluePotion()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.hp += core.values.bluePotion",
		"canUseItemEffect": "true"
	},
	"yellowPotion": {
		"cls": "items",
		"name": "黄血瓶",
		"text": "，生命+99999",
		"itemEffect": "core.status.hero.hp += core.values.yellowPotion * core.status.thisMap.ratio",
		"itemEffectTip": "，生命+${core.values.yellowPotion * core.status.thisMap.ratio}",
		"useItemEffect": "core.status.hero.hp += core.values.yellowPotion",
		"canUseItemEffect": "true",
		"price": 5
	},
	"greenPotion": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "，生命+${core.values.greenPotion}",
		"itemEffect": "core.status.hero.hp += core.values.greenPotion * core.status.thisMap.ratio",
		"itemEffectTip": "，生命+${core.values.greenPotion * core.status.thisMap.ratio}",
		"useItemEffect": "core.status.hero.hp += core.values.greenPotion",
		"canUseItemEffect": "true"
	},
	"sword0": {
		"cls": "tools",
		"name": "小飞刀",
		"text": "对面前的敌人造成2倍攻击力的伤害",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 0
			}
		},
		"itemEffect": "core.status.hero.atk += 0",
		"itemEffectTip": "，攻击+0",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(core.getBlockCls(core.nextX(1),core.nextY(1))!=='enemys')",
				"true": [
					{
						"type": "tip",
						"text": "需要勇士面前是怪物才能使用"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				],
				"false": [
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "setEnemyOnPoint",
						"loc": [
							"core.nextX(1)",
							"core.nextY(1)"
						],
						"name": "hp",
						"operator": "-=",
						"value": "(2*status:atk)"
					}
				]
			}
		],
		"canUseItemEffect": "true"
	},
	"sword1": {
		"cls": "constants",
		"name": "铁剑",
		"text": "一把很普通的铁剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 10
			}
		},
		"itemEffect": "core.status.hero.atk += 10",
		"itemEffectTip": "，攻击+10",
		"price": 10
	},
	"sword2": {
		"cls": "tools",
		"name": "银剑",
		"text": "对蝙蝠造成伤害+100%",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 20
			}
		},
		"itemEffect": "core.status.hero.atk += 20",
		"itemEffectTip": "，攻击+20",
		"price": 25
	},
	"sword3": {
		"cls": "tools",
		"name": "骑士剑",
		"text": "对骷髅造成伤害+100%",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 40
			}
		},
		"itemEffect": "core.status.hero.atk += 40",
		"itemEffectTip": "，攻击+40",
		"price": 25
	},
	"sword4": {
		"cls": "tools",
		"name": "黏黏剑",
		"text": "对史莱姆造成伤害+100%",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 80
			}
		},
		"itemEffect": "core.status.hero.atk += 80",
		"itemEffectTip": "，攻击+80",
		"price": 25
	},
	"sword5": {
		"cls": "constants",
		"name": "重剑",
		"text": "初始攻击+100%，初始防御-50%",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 160
			}
		},
		"itemEffect": "core.status.hero.atk += 100",
		"itemEffectTip": "，攻击+100",
		"price": 25,
		"onlyOne": true
	},
	"shield0": {
		"cls": "items",
		"name": "破旧的盾",
		"text": "一个很破旧的铁盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 0
			}
		},
		"itemEffect": "core.status.hero.def += 0",
		"itemEffectTip": "，防御+0"
	},
	"shield1": {
		"cls": "constants",
		"name": "铁盾",
		"text": "一个很普通的铁盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 10
			}
		},
		"itemEffect": "core.status.hero.def += 10",
		"itemEffectTip": "，防御+10",
		"price": 25
	},
	"shield2": {
		"cls": "constants",
		"name": "银盾",
		"text": "一个很普通的银盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 20
			}
		},
		"itemEffect": "core.status.hero.def += 20",
		"itemEffectTip": "，防御+20",
		"price": 25
	},
	"shield3": {
		"cls": "constants",
		"name": "骑士盾",
		"text": "一个很普通的骑士盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 40
			}
		},
		"itemEffect": "core.status.hero.def += 40",
		"itemEffectTip": "，防御+40",
		"price": 25
	},
	"shield4": {
		"cls": "constants",
		"name": "圣盾",
		"text": "一个很普通的圣盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 80
			}
		},
		"itemEffect": "core.status.hero.def += 80",
		"itemEffectTip": "，防御+80",
		"price": 25
	},
	"shield5": {
		"cls": "constants",
		"name": "重盾",
		"text": "初始防御+100%，初始攻击-50%",
		"equip": {
			"type": 1,
			"value": {
				"def": 100,
				"mdef": 100
			}
		},
		"itemEffect": "core.status.hero.def += 100;core.status.hero.mdef += 100",
		"itemEffectTip": "，防御+100，护盾+100",
		"price": 25,
		"onlyOne": true
	},
	"superPotion": {
		"cls": "items",
		"name": "圣水",
		"itemEffect": "core.status.hero.hp *= 2",
		"itemEffectTip": "，生命值翻倍",
		"useItemEffect": "core.status.hero.hp *= 2;core.playSound('回血');",
		"canUseItemEffect": "true",
		"text": "生命值翻倍"
	},
	"book": {
		"cls": "constants",
		"name": "怪物手册",
		"text": "可以查看当前楼层各怪物属性",
		"hideInToolbox": true,
		"useItemEffect": "core.ui.drawBook(0);",
		"canUseItemEffect": "true"
	},
	"fly": {
		"cls": "constants",
		"name": "楼层传送器",
		"text": "可以自由往来去过的楼层",
		"hideInReplay": true,
		"hideInToolbox": true,
		"useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();"
	},
	"coin": {
		"cls": "items",
		"name": "大金币",
		"text": "获得5金币",
		"itemEffect": "",
		"useItemEffect": "",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:money",
				"operator": "+=",
				"value": "5"
			}
		],
		"itemEffectTip": "，金币+5"
	},
	"freezeBadge": {
		"cls": "constants",
		"name": "冰冻徽章",
		"text": "可以将面前的熔岩变成平地",
		"useItemEffect": "(function () {\n\tvar success = false;\n\n\tvar snowFourDirections = false; // 是否多方向雪花；如果是将其改成true\n\tif (snowFourDirections) {\n\t\t// 多方向雪花\n\t\tfor (var direction in core.utils.scan) { // 多方向雪花默认四方向，如需改为八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (core.getBlockId(nx, ny) == 'lava') {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (core.getBlockId(core.nextX(), core.nextY()) == 'lava') {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('打开界面');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
		"canUseItemEffect": "true"
	},
	"cross": {
		"cls": "constants",
		"name": "十字架",
		"text": "持有后无视怪物的无敌属性"
	},
	"dagger": {
		"cls": "constants",
		"name": "屠龙匕首",
		"text": "该道具尚未被定义"
	},
	"amulet": {
		"cls": "constants",
		"name": "护符",
		"text": "持有时无视负面地形"
	},
	"bigKey": {
		"cls": "tools",
		"name": "大黄门钥匙",
		"text": "可以开启当前层所有黄门",
		"itemEffect": "core.addItem('yellowKey', 1);\ncore.addItem('blueKey', 1);\ncore.addItem('redKey', 1);",
		"itemEffectTip": "，全钥匙+1",
		"useItemEffect": "(function () {\n\tvar actions = core.searchBlock(\"yellowDoor\").map(function (block) {\n\t\treturn { \"type\": \"openDoor\", \"loc\": [block.x, block.y], \"async\": true };\n\t});\n\tactions.push({ \"type\": \"waitAsync\" });\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();",
		"canUseItemEffect": "(function () {\n\treturn core.searchBlock('yellowDoor').length > 0;\n})();"
	},
	"greenKey": {
		"cls": "tools",
		"name": "绿钥匙",
		"text": "可以打开一扇绿门",
		"hideInToolbox": true
	},
	"steelKey": {
		"cls": "tools",
		"name": "铁门钥匙",
		"text": "可以打开一扇铁门"
	},
	"pickaxe": {
		"cls": "tools",
		"name": "破墙镐",
		"text": "可以破坏勇士面前的墙",
		"useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\n\tvar success = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破；如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向，如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
		"canUseItemEffect": "true"
	},
	"icePickaxe": {
		"cls": "tools",
		"name": "破冰镐",
		"text": "可以破坏勇士面前的一堵冰墙",
		"useItemEffect": "(function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\tcore.insertAction({ \"type\": \"openDoor\", \"loc\": [\"core.nextX()\", \"core.nextY()\"] });\n})();",
		"canUseItemEffect": "(function () {\n\treturn core.getBlockId(core.nextX(), core.nextY()) == 'ice';\n})();"
	},
	"bomb": {
		"cls": "tools",
		"name": "炸弹",
		"text": "可以炸掉勇士面前的怪物",
		"useItemEffect": "(function () {\n\tvar bombList = []; // 炸掉的怪物坐标列表\n\tvar todo = []; // 炸弹后事件\n\tvar money = 0,\n\t\texp = 0; // 炸弹获得的金币和经验\n\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar bomb = function (x, y) {\n\t\tif (!canBomb(x, y)) return;\n\t\tbombList.push([x, y]);\n\t\tvar id = core.getBlockId(x, y),\n\t\t\tenemy = core.material.enemys[id];\n\t\tmoney += core.getEnemyValue(enemy, 'money', x, y) || 0;\n\t\texp += core.getEnemyValue(enemy, 'exp', x, y) || 0;\n\t\tcore.push(todo, core.floors[core.status.floorId].afterBattle[x + \",\" + y]);\n\t\tcore.push(todo, enemy.afterBattle);\n\t\tcore.removeBlock(x, y);\n\t}\n\n\t// 如果要多方向可炸，把这里的false改成true\n\tif (false) {\n\t\tvar scan = core.utils.scan; // 多方向炸时默认四方向，如果要改成八方向炸可以改成 core.utils.scan2\n\t\tfor (var direction in scan) {\n\t\t\tvar delta = scan[direction];\n\t\t\tbomb(core.getHeroLoc('x') + delta.x, core.getHeroLoc('y') + delta.y);\n\t\t}\n\t} else {\n\t\t// 仅炸当前\n\t\tbomb(core.nextX(), core.nextY());\n\t}\n\n\tif (bombList.length == 0) {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('当前无法使用' + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\n\t// 取消这里的注释可以炸弹后获得金币和经验\n\t// core.status.hero.money += money;\n\t// core.status.hero.exp += exp;\n\n\t// 取消这里的注释可以炸弹引发战后事件\n\t// if (todo.length > 0) core.insertAction(todo);\n\n})();",
		"canUseItemEffect": "true"
	},
	"centerFly": {
		"cls": "tools",
		"name": "中心对称飞行器",
		"text": "可以飞向当前楼层中心对称的位置",
		"useItemEffect": "core.playSound('centerFly.mp3');\ncore.clearMap('hero');\ncore.setHeroLoc('x', core.bigmap.width - 1 - core.getHeroLoc('x'));\ncore.setHeroLoc('y', core.bigmap.height - 1 - core.getHeroLoc('y'));\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
		"canUseItemEffect": "(function () {\n\tvar toX = core.bigmap.width - 1 - core.getHeroLoc('x'),\n\t\ttoY = core.bigmap.height - 1 - core.getHeroLoc('y');\n\tvar id = core.getBlockId(toX, toY);\n\treturn id == null;\n})();"
	},
	"upFly": {
		"cls": "tools",
		"name": "上楼器",
		"text": "可以飞往楼上的相同位置",
		"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) + 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
		"canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index < core.floorIds.length - 1) {\n\t\tvar toId = core.floorIds[index + 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();"
	},
	"downFly": {
		"cls": "tools",
		"name": "下楼器",
		"text": "可以飞往楼下的相同位置",
		"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) - 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
		"canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index > 0) {\n\t\tvar toId = core.floorIds[index - 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();"
	},
	"earthquake": {
		"cls": "tools",
		"name": "地震卷轴",
		"text": "可以破坏当前层的所有墙",
		"useItemEffect": "(function () {\n\tvar indexes = [];\n\tfor (var index in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[index];\n\t\tif (!block.disable && block.event.canBreak) {\n\t\t\tindexes.push(index);\n\t\t}\n\t}\n\tcore.removeBlockByIndexes(indexes);\n\tcore.redrawMap();\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n})();",
		"canUseItemEffect": "(function () {\n\treturn core.status.thisMap.blocks.filter(function (block) {\n\t\treturn !block.disable && block.event.canBreak;\n\t}).length > 0;\n})();"
	},
	"poisonWine": {
		"cls": "tools",
		"name": "解毒药水",
		"text": "可以解除中毒状态",
		"useItemEffect": "core.triggerDebuff('remove', 'poison');",
		"canUseItemEffect": "core.hasFlag('poison');"
	},
	"weakWine": {
		"cls": "tools",
		"name": "解衰药水",
		"text": "可以解除衰弱状态",
		"useItemEffect": "core.triggerDebuff('remove', 'weak');",
		"canUseItemEffect": "core.hasFlag('weak');"
	},
	"curseWine": {
		"cls": "tools",
		"name": "解咒药水",
		"text": "可以解除诅咒状态",
		"useItemEffect": "core.triggerDebuff('remove', 'curse');",
		"canUseItemEffect": "core.hasFlag('curse');"
	},
	"superWine": {
		"cls": "tools",
		"name": "万能药水",
		"text": "可以解除所有不良状态",
		"useItemEffect": "core.triggerDebuff('remove', ['poison', 'weak', 'curse']);",
		"canUseItemEffect": "(function() {\n\treturn core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse');\n})();"
	},
	"hammer": {
		"cls": "tools",
		"name": "圣锤",
		"text": "该道具尚未被定义"
	},
	"lifeWand": {
		"cls": "tools",
		"name": "生命魔杖",
		"text": "可以恢复100点生命值",
		"useItemEvent": [
			{
				"type": "comment",
				"text": "先恢复一个魔杖（因为使用道具必须消耗一个）"
			},
			{
				"type": "function",
				"function": "function(){\ncore.addItem('lifeWand', 1);\n}"
			},
			{
				"type": "playSound",
				"name": "打开界面"
			},
			{
				"type": "input",
				"text": "请输入生命魔杖使用次数：(0-${item:lifeWand})"
			},
			{
				"type": "comment",
				"text": "【接受用户输入】弹窗输入的结果将会保存在“flag:input”中\n如果需要更多帮助，请查阅帮助文档"
			},
			{
				"type": "if",
				"condition": "flag:input<=item:lifeWand",
				"true": [
					{
						"type": "setValue",
						"name": "item:lifeWand",
						"operator": "-=",
						"value": "flag:input"
					},
					{
						"type": "setValue",
						"name": "status:hp",
						"operator": "+=",
						"value": "flag:input*100"
					},
					{
						"type": "playSound",
						"name": "回血"
					},
					"成功使用${flag:input}次生命魔杖，恢复${flag:input*100}点生命。"
				],
				"false": [
					{
						"type": "playSound",
						"name": "操作失败"
					},
					"输入不合法！"
				]
			}
		],
		"canUseItemEffect": "true"
	},
	"jumpShoes": {
		"cls": "tools",
		"name": "跳跃靴",
		"text": "能跳跃到前方两格处",
		"useItemEffect": "core.playSound(\"跳跃\");\ncore.insertAction({ \"type\": \"jumpHero\", \"loc\": [core.nextX(2), core.nextY(2)] });",
		"canUseItemEffect": "(function () {\n\tvar nx = core.nextX(2),\n\t\tny = core.nextY(2);\n\treturn nx >= 0 && nx < core.bigmap.width && ny >= 0 && ny < core.bigmap.height && core.getBlockId(nx, ny) == null;\n})();"
	},
	"skill1": {
		"cls": "constants",
		"name": "技能：二倍斩",
		"text": "可以打开或关闭主动技能二倍斩",
		"hideInReplay": true,
		"useItemEffect": "(function () {\n\tvar skillValue = 1; // 技能的flag:skill值，可用于当前开启技能的判定；对于新技能可以依次改成2，3等等\n\tvar skillNeed = 5; // 技能的需求\n\tvar skillName = '二倍斩'; // 技能的名称\n\n\tif (core.getFlag('skill', 0) != skillValue) { // 判断当前是否已经开了技能\n\t\tif (core.getStatus('mana') >= skillNeed) { // 这里要写当前能否开技能的条件判断，比如魔力值至少要多少\n\t\t\tcore.playSound('打开界面');\n\t\t\tcore.setFlag('skill', skillValue); // 开技能1\n\t\t\tcore.setFlag('skillName', skillName); // 设置技能名\n\t\t} else {\n\t\t\tcore.playSound('操作失败');\n\t\t\tcore.drawTip('魔力不足，无法开启技能');\n\t\t}\n\t} else { // 关闭技能\n\t\tcore.setFlag('skill', 0); // 关闭技能状态\n\t\tcore.setFlag('skillName', '无');\n\t}\n})();",
		"canUseItemEffect": "true"
	},
	"wand": {
		"cls": "items",
		"name": "新物品"
	},
	"pack": {
		"cls": "items",
		"name": "钱袋",
		"itemEffect": "core.status.hero.money += 500",
		"itemEffectTip": "，金币+500"
	},
	"I332": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I333": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I334": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I335": {
		"cls": "constants",
		"name": "新物品",
		"canUseItemEffect": "true",
		"price": 25,
		"onlyOne": true,
		"text": "测试道具"
	},
	"I336": {
		"cls": "constants",
		"name": "新物品",
		"canUseItemEffect": "true",
		"price": 25,
		"onlyOne": true,
		"text": "测试道具测试道具测试道具测试道具测试道具测试道具测试道具测试道具测试道具"
	},
	"I337": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I338": {
		"cls": "constants",
		"name": "调试棒",
		"canUseItemEffect": "true",
		"useItemEffect": "",
		"useItemEvent": [
			{
				"type": "choices",
				"text": "调试模式",
				"choices": [
					{
						"text": "前往迷宫",
						"action": [
							{
								"type": "insert",
								"name": "迷宫生成"
							}
						]
					},
					{
						"text": "前往商店",
						"action": [
							{
								"type": "insert",
								"name": "前往商店"
							}
						]
					},
					{
						"text": "无敌",
						"action": [
							{
								"type": "setValue",
								"name": "status:atk",
								"value": "10000"
							},
							{
								"type": "setValue",
								"name": "flag:permanentAtk",
								"value": "10000"
							}
						]
					}
				]
			}
		]
	},
	"I339": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I340": {
		"cls": "tools",
		"name": "水晶球",
		"canUseItemEffect": "false",
		"text": "迷宫中提供更多魔力瓶",
		"price": 20
	},
	"I341": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I342": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I343": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I344": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I345": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I346": {
		"cls": "items",
		"name": "魔力瓶",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "function",
				"function": "function(){\ncore.getManaPotion()\n}"
			}
		],
		"itemEffectTip": ""
	},
	"I350": {
		"cls": "tools",
		"name": "红色宝玉",
		"canUseItemEffect": "false",
		"text": "每层初始攻击+6",
		"price": 25
	},
	"I351": {
		"cls": "tools",
		"name": "蓝色宝玉",
		"canUseItemEffect": "false",
		"text": "每层初始防御+6",
		"price": 25
	},
	"I352": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I353": {
		"cls": "tools",
		"name": "绿色宝玉",
		"canUseItemEffect": "false",
		"text": "每层初始魔防+20",
		"price": 25
	},
	"I354": {
		"cls": "tools",
		"name": "红玉原矿",
		"canUseItemEffect": "false",
		"text": "每层初始攻击+50%",
		"price": 25
	},
	"I355": {
		"cls": "tools",
		"name": "蓝玉原矿",
		"canUseItemEffect": "false",
		"text": "每层初始防御+50%",
		"price": 25
	},
	"I356": {
		"cls": "tools",
		"name": "成长之刃",
		"canUseItemEffect": "false",
		"text": "你获得等同于当前层数的攻击",
		"price": 25
	},
	"I357": {
		"cls": "tools",
		"name": "成长之盾",
		"canUseItemEffect": "false",
		"text": "你获得等同于当前层数的防御",
		"price": 25
	},
	"I358": {
		"cls": "tools",
		"name": "小蜡烛",
		"canUseItemEffect": "false",
		"text": "你获得等同于当前层数3倍的魔防",
		"price": 25
	},
	"I359": {
		"cls": "tools",
		"name": "红色勾玉",
		"canUseItemEffect": "false",
		"text": "红宝石提供额外+2攻击",
		"price": 25
	},
	"I360": {
		"cls": "tools",
		"name": "蓝色勾玉",
		"canUseItemEffect": "false",
		"text": "蓝宝石提供额外+2防御",
		"price": 25
	},
	"I361": {
		"cls": "tools",
		"name": "绿色勾玉",
		"canUseItemEffect": "false",
		"text": "绿宝石提供额外+6魔防",
		"price": 25
	},
	"I362": {
		"cls": "tools",
		"name": "酒桶",
		"canUseItemEffect": "false",
		"text": "每层开始时，生成一杯麦酒，拾取后攻击+10，防御-4。迷宫中也会随机生成麦酒。",
		"price": 25
	},
	"I363": {
		"cls": "items",
		"name": "麦酒",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "10"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "-=",
				"value": "4"
			},
			{
				"type": "function",
				"function": "function(){\ncore.tiaozi('攻击+10', '#FF6A6A', 32)\ncore.tiaozi('防御-4', '#7B68EE')\n}"
			}
		]
	},
	"I364": {
		"cls": "tools",
		"name": "手里剑",
		"canUseItemEffect": "false",
		"price": 25,
		"text": "击败战斗回合数不小于10的怪物后，攻击永久+1"
	},
	"I365": {
		"cls": "items",
		"name": "派对气球束",
		"canUseItemEffect": "false",
		"text": "开启派对，商店将免费提供能回满血量的蛋糕块！在迷宫中也能稀有地找到蛋糕块。",
		"price": 15,
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(core.status.floorId ==='MT1')",
				"true": [
					{
						"type": "setBlock",
						"number": "I366",
						"loc": [
							[
								5,
								1
							]
						]
					},
					{
						"type": "hide",
						"loc": [
							[
								5,
								2
							]
						],
						"remove": true
					}
				]
			},
			{
				"type": "function",
				"function": "function(){\ncore.addItem('I367', 1)\n}"
			}
		]
	},
	"I366": {
		"cls": "items",
		"name": "蛋糕块",
		"canUseItemEffect": "false",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "+=",
				"value": "99999"
			}
		],
		"itemEffectTip": "，生命+99999"
	},
	"I367": {
		"cls": "tools",
		"name": "派对气球束",
		"canUseItemEffect": "false",
		"text": "开启派对，商店将免费提供能回满血量的蛋糕块！在迷宫中也能稀有地找到蛋糕块。",
		"price": 10,
		"useItemEvent": []
	},
	"I370": {
		"cls": "constants",
		"name": "代金券",
		"canUseItemEffect": "false",
		"text": "之后的商店将有一件随机道具打折",
		"price": 15,
		"onlyOne": true
	},
	"I371": {
		"cls": "tools",
		"name": "功德无量",
		"canUseItemEffect": "false",
		"text": "每层结束时，若剩余怪物数不小于15，获得永久+15魔防",
		"price": 25
	},
	"B373": {
		"cls": "constants",
		"name": "破墙魔法书",
		"canUseItemEffect": "true",
		"text": "消耗5魔力，破除前方的墙",
		"price": 10,
		"useItemEffect": "",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=5)",
				"true": [
					{
						"type": "function",
						"function": "function(){\nvar canBreak = function (x, y) {\n\tvar block = core.getBlock(x, y);\n\tif (block == null || block.disable) return false;\n\treturn block.event.canBreak;\n};\n\nif (canBreak(core.nextX(), core.nextY())) {\n\tcore.removeBlock(core.nextX(), core.nextY());\n\tcore.addStatus('mana', -5)\n\tcore.playSound('破墙镐');\n\tcore.drawTip('使用成功');\n\tcore.castSpell(5)\n} else {\n\tcore.playSound('操作失败');\n\tcore.drawTip(\"当前无法使用\");\n}\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		],
		"onlyOne": true
	},
	"B374": {
		"cls": "constants",
		"name": "超级破墙魔法书",
		"canUseItemEffect": "true",
		"text": "消耗50魔力，破除前方一格的任意东西",
		"price": 10,
		"useItemEffect": "",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=50)",
				"true": [
					{
						"type": "function",
						"function": "function(){\ncore.removeBlock(core.nextX(), core.nextY());\ncore.addStatus('mana', -50)\ncore.playSound('破墙镐');\ncore.drawTip('使用成功');\ncore.castSpell(50)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		],
		"onlyOne": true
	},
	"I375": {
		"cls": "tools",
		"name": "血网符文",
		"canUseItemEffect": "false",
		"text": "迷宫中的墙壁概率被血网替换",
		"price": 10
	},
	"I376": {
		"cls": "tools",
		"name": "钥匙串",
		"canUseItemEffect": "false",
		"text": "迷宫中墙壁概率被黄门替换。每层开局获得2把黄钥匙，迷宫中随机生成黄钥匙。",
		"price": 10
	},
	"B377": {
		"cls": "constants",
		"name": "红色钻石",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 25,
		"text": "消耗10魔力，本层攻击+10",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=10)",
				"true": [
					{
						"type": "setValue",
						"name": "status:mana",
						"operator": "-=",
						"value": "10"
					},
					{
						"type": "setValue",
						"name": "status:atk",
						"operator": "+=",
						"value": "10"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B377"
					},
					{
						"type": "function",
						"function": "function(){\ncore.castSpell(10)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"B378": {
		"cls": "constants",
		"name": "蓝色钻石",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 25,
		"text": "消耗10魔力，本层防御+10",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=10)",
				"true": [
					{
						"type": "setValue",
						"name": "status:mana",
						"operator": "-=",
						"value": "10"
					},
					{
						"type": "setValue",
						"name": "status:def",
						"operator": "+=",
						"value": "10"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B378"
					},
					{
						"type": "function",
						"function": "function(){\ncore.castSpell(10)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"B379": {
		"cls": "constants",
		"name": "绿色钻石",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 25,
		"text": "消耗10魔力，本层魔防+30",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=10)",
				"true": [
					{
						"type": "setValue",
						"name": "status:mana",
						"operator": "-=",
						"value": "10"
					},
					{
						"type": "setValue",
						"name": "status:mdef",
						"operator": "+=",
						"value": "30"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B379"
					},
					{
						"type": "function",
						"function": "function(){\ncore.castSpell(10)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"I380": {
		"cls": "tools",
		"name": "闪烁匕首",
		"canUseItemEffect": "false",
		"text": "战斗开始时额外发动一次无视防御和特殊效果的攻击，不会致死",
		"price": 25
	},
	"I381": {
		"cls": "tools",
		"name": "黄铜剑",
		"canUseItemEffect": "false",
		"text": "获得红蓝血瓶后，若你满血，则额外获得本层内+2攻击",
		"price": 25
	},
	"I382": {
		"cls": "tools",
		"name": "红圆盾",
		"canUseItemEffect": "false",
		"text": "获得红蓝血瓶后，若你满血，则额外获得本层内+2防御",
		"price": 25
	},
	"I383": {
		"cls": "tools",
		"name": "红色戒指",
		"canUseItemEffect": "false",
		"text": "获得红蓝血瓶后，若你满血，则额外获得本层内+6魔防",
		"price": 25
	},
	"I384": {
		"cls": "tools",
		"name": "<3",
		"canUseItemEffect": "false",
		"text": "迷宫中生成更多蓝血瓶",
		"price": 10
	},
	"I385": {
		"cls": "tools",
		"name": "藏宝图",
		"canUseItemEffect": "false",
		"text": "迷宫中小概率出现宝箱（50金币），开启宝箱后移除该道具",
		"price": 10
	},
	"I386": {
		"cls": "items",
		"name": "宝箱",
		"canUseItemEffect": "true",
		"itemEffectTip": "，金币+50",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:money",
				"operator": "+=",
				"value": "50"
			},
			{
				"type": "setValue",
				"name": "item:I385",
				"operator": "-=",
				"value": "1"
			}
		]
	},
	"B387": {
		"cls": "constants",
		"name": "贤者之石",
		"canUseItemEffect": "true",
		"text": "消耗5魔力，将面前的怪物转化为随机道具",
		"price": 25,
		"onlyOne": true,
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=5)",
				"true": [
					{
						"type": "if",
						"condition": "(core.getBlockCls(core.nextX(1),core.nextY(1))!=='enemys')",
						"true": [
							{
								"type": "tip",
								"text": "需要勇士面前是怪物才能使用"
							},
							{
								"type": "playSound",
								"name": "操作失败"
							}
						],
						"false": [
							{
								"type": "if",
								"condition": "((core.nextX(1)===core.bigmap.width-2)&&(core.nextY(1)===core.bigmap.height-2))",
								"true": [
									{
										"type": "tip",
										"text": "无法转化该怪物！"
									},
									{
										"type": "playSound",
										"name": "操作失败"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "status:mana",
										"operator": "-=",
										"value": "5"
									},
									{
										"type": "playSound",
										"name": "mana.mp3"
									},
									{
										"type": "function",
										"function": "function(){\nlet resultlist = [\n\t['redPotion', 20],\n\t['bluePotion', 10],\n\t['greenGem', 30],\n\t['redGem', 20],\n\t['blueGem', 20],\n\t['coin', 1]\n]\nlet result = core.weightedRandomSelect(resultlist, 386)\ncore.setBlock(result, core.nextX(1), core.nextY(1))\ncore.castSpell(5)\n}"
									}
								]
							}
						]
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"I388": {
		"cls": "constants",
		"name": "吸血鬼刀",
		"canUseItemEffect": "false",
		"text": "自身每损失2%生命值，战前便吸取1%的敌方生命值加到自身",
		"onlyOne": true,
		"price": 25
	},
	"I389": {
		"cls": "tools",
		"name": "骑士剑",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你血量不足一半，则获得永久攻击+3",
		"price": 25
	},
	"I390": {
		"cls": "tools",
		"name": "骑士盾",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你血量不足一半，则获得永久防御+3",
		"price": 25
	},
	"I391": {
		"cls": "tools",
		"name": "白玉戒",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你血量不足一半，则获得永久魔防+10",
		"price": 25
	},
	"I392": {
		"cls": "items",
		"name": "生命水晶",
		"canUseItemEffect": "true",
		"text": "生命上限+500",
		"price": 10,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:hpmax",
				"operator": "+=",
				"value": "500"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "+=",
				"value": "500"
			},
			{
				"type": "function",
				"function": "function(){\ncore.addItem('I393', 1)\ncore.addFlag('permanentHpmax', 500)\n}"
			}
		]
	},
	"I393": {
		"cls": "tools",
		"name": "生命水晶",
		"canUseItemEffect": "false",
		"text": "生命上限+500",
		"price": 10
	},
	"I394": {
		"cls": "tools",
		"name": "镀金剑",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你没有金币，攻击永久+3",
		"price": 25
	},
	"I395": {
		"cls": "tools",
		"name": "镶金盾",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你没有金币，防御永久+3",
		"price": 25
	},
	"I396": {
		"cls": "tools",
		"name": "金玉戒",
		"canUseItemEffect": "false",
		"text": "进入新一层时，若你没有金币，魔防永久+10",
		"price": 25
	},
	"I397": {
		"cls": "tools",
		"name": "星星耳环",
		"canUseItemEffect": "false",
		"text": "生命小于50时，红蓝血瓶的恢复量+50%",
		"price": 15
	},
	"I398": {
		"cls": "tools",
		"name": "魔力花",
		"canUseItemEffect": "false",
		"text": "魔力小于10时，拾取红/蓝血瓶可+1/+3魔力",
		"price": 15
	},
	"I399": {
		"cls": "constants",
		"name": "破损核心",
		"canUseItemEffect": "false",
		"text": "每层的生命上限-50%，初始攻击+100%",
		"price": 25,
		"onlyOne": true
	},
	"I400": {
		"cls": "tools",
		"name": "粗铁剑",
		"canUseItemEffect": "false",
		"text": "若你在一个商店中什么都不买，攻击永久+3",
		"price": 15
	},
	"I401": {
		"cls": "tools",
		"name": "硬木盾",
		"canUseItemEffect": "false",
		"text": "若你在一个商店中什么都不买，防御永久+3",
		"price": 15
	},
	"I402": {
		"cls": "tools",
		"name": "粗铁戒",
		"canUseItemEffect": "false",
		"text": "若你在一个商店中什么都不买，魔防永久+10",
		"price": 15
	},
	"I403": {
		"cls": "tools",
		"name": "金手套",
		"canUseItemEffect": "false",
		"text": "若你在一个商店中购买全部四件商品，进入下一层后随机获得两个道具",
		"price": 15
	},
	"I404": {
		"cls": "tools",
		"name": "猪猪存钱罐",
		"canUseItemEffect": "false",
		"text": "进入商店时获得10金币，进行任何购买后，该道具消失",
		"price": 15
	},
	"I405": {
		"cls": "tools",
		"name": "史莱姆旗",
		"canUseItemEffect": "false",
		"text": "提升史莱姆的出现概率",
		"price": 10
	},
	"I406": {
		"cls": "tools",
		"name": "骷髅旗",
		"canUseItemEffect": "false",
		"text": "提升骷髅的出现概率",
		"price": 10
	},
	"I407": {
		"cls": "tools",
		"name": "蝙蝠旗",
		"canUseItemEffect": "false",
		"text": "提升蝙蝠的出现概率",
		"price": 10
	},
	"I408": {
		"cls": "tools",
		"name": "大汉堡",
		"canUseItemEffect": "false",
		"text": "对BOSS造成的伤害+33%",
		"price": 15
	},
	"I410": {
		"cls": "constants",
		"name": "金苹果",
		"canUseItemEffect": "false",
		"text": "战斗最终伤害-20%",
		"price": 20,
		"onlyOne": true
	},
	"B409": {
		"cls": "constants",
		"name": "魔力葡萄",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 20,
		"text": "消耗5魔力，本层内生命上限+200",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=5)",
				"true": [
					{
						"type": "setValue",
						"name": "status:mana",
						"operator": "-=",
						"value": "5"
					},
					{
						"type": "setValue",
						"name": "status:hpmax",
						"operator": "+=",
						"value": "200"
					},
					{
						"type": "setValue",
						"name": "status:hp",
						"operator": "+=",
						"value": "200"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B409"
					},
					{
						"type": "function",
						"function": "function(){\ncore.castSpell(5)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"B411": {
		"cls": "constants",
		"name": "契约",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 20,
		"text": "消耗666生命，永久+2攻击",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:hp>=667)",
				"true": [
					{
						"type": "setValue",
						"name": "status:hp",
						"operator": "-=",
						"value": "666"
					},
					{
						"type": "setValue",
						"name": "status:atk",
						"operator": "+=",
						"value": "2"
					},
					{
						"type": "setValue",
						"name": "flag:permanentAtk",
						"operator": "+=",
						"value": "2"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B411"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "生命不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"I412": {
		"cls": "tools",
		"name": "魔力符文石",
		"canUseItemEffect": "false",
		"text": "每拥有1魔力，魔力瓶提供的魔力值+1%",
		"price": 20,
		"onlyOne": false
	},
	"I413": {
		"cls": "tools",
		"name": "诱饵金币",
		"canUseItemEffect": "false",
		"text": "迷宫中概率出现金头怪，击杀可获得10金币",
		"price": 20,
		"onlyOne": false
	},
	"C416": {
		"cls": "constants",
		"name": "灵梦的驱魔棒",
		"canUseItemEffect": "false",
		"text": "飞行：灵梦具有飞行能力，可以无视迷宫中的墙壁。但在拾取道具时，怪物会向灵梦前进3格进行攻击\n远程优势：灵梦在战斗中可以额外优先攻击一回合",
		"price": 25,
		"onlyOne": true
	},
	"I417": {
		"cls": "tools",
		"name": "锯齿刃",
		"canUseItemEffect": "false",
		"text": "每在商店购买一次，本层获得+5攻击",
		"price": 25,
		"onlyOne": false
	},
	"I418": {
		"cls": "tools",
		"name": "白铁盔甲",
		"canUseItemEffect": "false",
		"text": "每在商店购买一次，本层获得+5防御",
		"price": 25,
		"onlyOne": false
	},
	"I419": {
		"cls": "tools",
		"name": "白铁戒指",
		"canUseItemEffect": "false",
		"text": "每在商店购买一次，本层获得+15魔防",
		"price": 25,
		"onlyOne": false
	},
	"I420": {
		"cls": "tools",
		"name": "规则卡",
		"canUseItemEffect": "false",
		"text": "改写游戏战斗规则为：勇士连续攻击3回合，然后怪物连续攻击3回合。每额外持有一张规则卡，双方的连续攻击回合数+1",
		"price": 25,
		"onlyOne": false
	},
	"I421": {
		"cls": "tools",
		"name": "血腥屠刀",
		"canUseItemEffect": "false",
		"text": "若战斗伤害大于你战前生命值的一半，在本层获得+3攻击",
		"price": 25,
		"onlyOne": false
	},
	"I422": {
		"cls": "tools",
		"name": "猩红鳞甲",
		"canUseItemEffect": "false",
		"text": "若战斗伤害大于你战前生命值的一半，在本层获得+3防御",
		"price": 25,
		"onlyOne": false
	},
	"I423": {
		"cls": "tools",
		"name": "魔光护符",
		"canUseItemEffect": "false",
		"text": "若战斗伤害大于你战前生命值的一半，在本层获得+10魔防",
		"price": 25,
		"onlyOne": false
	},
	"I424": {
		"cls": "items",
		"name": "轰！",
		"canUseItemEffect": "true",
		"text": "炸弹+10",
		"price": 20,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "item:bomb",
				"operator": "+=",
				"value": "10"
			}
		]
	},
	"I425": {
		"cls": "constants",
		"name": "早餐",
		"canUseItemEffect": "false",
		"text": "每层击杀第4个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I426": {
		"cls": "constants",
		"name": "零食",
		"canUseItemEffect": "false",
		"text": "每层击杀第8个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I427": {
		"cls": "constants",
		"name": "午餐",
		"canUseItemEffect": "false",
		"text": "每层击杀第12个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I428": {
		"cls": "constants",
		"name": "甜点",
		"canUseItemEffect": "false",
		"text": "每层击杀第16个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I429": {
		"cls": "constants",
		"name": "烂肉",
		"canUseItemEffect": "false",
		"text": "每层击杀第20个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I430": {
		"cls": "constants",
		"name": "正餐",
		"canUseItemEffect": "false",
		"text": "每层击杀第24个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I431": {
		"cls": "constants",
		"name": "晚餐",
		"canUseItemEffect": "false",
		"text": "每层击杀第28个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"I432": {
		"cls": "constants",
		"name": "夜宵",
		"canUseItemEffect": "false",
		"text": "每层击杀第32个敌人后，回复所有生命值",
		"price": 10,
		"onlyOne": true
	},
	"B433": {
		"cls": "constants",
		"name": "死灵之书",
		"canUseItemEffect": "true",
		"onlyOne": true,
		"price": 20,
		"text": "消耗15魔力，对本层所有怪物造成等同于勇士攻击力的伤害",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(status:mana>=15)",
				"true": [
					{
						"type": "setValue",
						"name": "status:mana",
						"operator": "-=",
						"value": "15"
					},
					{
						"type": "setValue",
						"name": "flag:fullscreenDamage",
						"operator": "+=",
						"value": "status:atk"
					},
					{
						"type": "playSound",
						"name": "mana.mp3"
					},
					{
						"type": "animate",
						"name": "magicAtk",
						"loc": "hero"
					},
					{
						"type": "tip",
						"text": "使用成功！",
						"icon": "B379"
					},
					{
						"type": "function",
						"function": "function(){\ncore.castSpell(15)\n}"
					}
				],
				"false": [
					{
						"type": "tip",
						"text": "魔力不足！"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				]
			}
		]
	},
	"I434": {
		"cls": "tools",
		"name": "星云斧",
		"canUseItemEffect": "false",
		"text": "消耗魔力后，在本层内获得等量攻击",
		"price": 25
	},
	"I435": {
		"cls": "tools",
		"name": "星云甲",
		"canUseItemEffect": "false",
		"text": "消耗魔力后，在本层内获得等量防御",
		"price": 25
	},
	"I436": {
		"cls": "tools",
		"name": "星云斗篷",
		"canUseItemEffect": "false",
		"text": "消耗魔力后，在本层内获得等同于消耗魔力值3倍的魔防",
		"price": 25
	},
	"A437": {
		"cls": "tools",
		"name": "防御药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+6防御",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "6"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A446": {
		"cls": "tools",
		"name": "攻击药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+6攻击",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "6"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A439": {
		"cls": "tools",
		"name": "魔防药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+20魔防",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:mdef",
				"operator": "+=",
				"value": "20"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A438": {
		"cls": "tools",
		"name": "持续魔防药水",
		"canUseItemEffect": "true",
		"text": "使用后，永久+3魔防",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:mdef",
				"operator": "+=",
				"value": "3"
			},
			{
				"type": "setValue",
				"name": "flag:permanentMdef",
				"operator": "+=",
				"value": "3"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A440": {
		"cls": "tools",
		"name": "毒雾药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内敌人失去等同于你攻击力的生命",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "flag:fullscreenDamage",
				"operator": "+=",
				"value": "status:atk"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A441": {
		"cls": "tools",
		"name": "魔力药水",
		"canUseItemEffect": "true",
		"text": "使用后，+10魔力",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:mana",
				"operator": "+=",
				"value": "10"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A442": {
		"cls": "tools",
		"name": "屏障药水",
		"canUseItemEffect": "true",
		"text": "使用后，下一场非boss战的战斗伤害变为0",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "flag:pingzhang",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A443": {
		"cls": "tools",
		"name": "魔力之刃药水",
		"canUseItemEffect": "true",
		"text": "使用后，获得等同于魔力值的攻击，然后魔力减半",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "status:mana"
			},
			{
				"type": "function",
				"function": "function(){\ncore.castSpell(core.status.hero.mana/2)\n}"
			},
			{
				"type": "setValue",
				"name": "status:mana",
				"operator": "/=",
				"value": "2"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A444": {
		"cls": "tools",
		"name": "魔力之盾药水",
		"canUseItemEffect": "true",
		"text": "使用后，获得等同于魔力值的防御，然后魔力减半",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "status:mana"
			},
			{
				"type": "function",
				"function": "function(){\ncore.castSpell(core.status.hero.mana/2)\n}"
			},
			{
				"type": "setValue",
				"name": "status:mana",
				"operator": "/=",
				"value": "2"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A445": {
		"cls": "tools",
		"name": "治疗药水",
		"canUseItemEffect": "true",
		"text": "使用后，回复所有生命",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "+=",
				"value": "99999"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A447": {
		"cls": "tools",
		"name": "持续攻击药水",
		"canUseItemEffect": "true",
		"text": "使用后，永久+1攻击",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:permanentAtk",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A448": {
		"cls": "tools",
		"name": "持续防御药水",
		"canUseItemEffect": "true",
		"text": "使用后，永久+1防御",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:permanentDef",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A450": {
		"cls": "tools",
		"name": "生命药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+500生命上限",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:hpmax",
				"operator": "+=",
				"value": "500"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "+=",
				"value": "500"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A451": {
		"cls": "tools",
		"name": "爆攻药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+15攻击，-8防御",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "15"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "-=",
				"value": "8"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A452": {
		"cls": "tools",
		"name": "爆防药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内+15防御，-8攻击",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "15"
			},
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "-=",
				"value": "8"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A453": {
		"cls": "tools",
		"name": "攻防分配药水",
		"canUseItemEffect": "true",
		"text": "使用后，随机分配当前攻防，再+3攻防",
		"price": 5,
		"useItemEvent": [
			{
				"type": "function",
				"function": "function(){\nlet i = core.status.hero.atk + core.status.hero.def\nlet atk = core.rand3(i + 1, 453)\nlet def = i - atk\ncore.setStatus('atk', atk + 3)\ncore.setStatus('def', def + 3)\n}"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A454": {
		"cls": "tools",
		"name": "幸运药水",
		"canUseItemEffect": "true",
		"text": "使用后，随机获得1瓶药水",
		"price": 5,
		"useItemEvent": [
			{
				"type": "function",
				"function": "function(){\nlet i = core.getRandomPotion(454)\ncore.addItem(i, 1)\ncore.drawTip('获得' + core.material.items[i].name, i)\n}"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A455": {
		"cls": "tools",
		"name": "再生药水",
		"canUseItemEffect": "true",
		"text": "使用后，获得10层再生（每场战斗会消耗1层再生，回复100生命值）",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "flag:zaisheng",
				"operator": "+=",
				"value": "10"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A456": {
		"cls": "tools",
		"name": "魔能药水",
		"canUseItemEffect": "true",
		"text": "使用后，将魔力值设为15点",
		"price": 5,
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "status:mana",
				"value": "15"
			},
			{
				"type": "playSound",
				"name": "recovery.mp3"
			}
		]
	},
	"A457": {
		"cls": "tools",
		"name": "嘲讽药水",
		"canUseItemEffect": "true",
		"text": "使用后，让怪物朝你移动2格，在此期间你获得无敌效果",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:WUDI",
				"value": "1"
			},
			{
				"type": "insert",
				"name": "怪物攻击"
			},
			{
				"type": "insert",
				"name": "怪物攻击"
			},
			{
				"type": "setValue",
				"name": "flag:WUDI",
				"value": "0"
			}
		]
	},
	"A458": {
		"cls": "tools",
		"name": "弑君药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内对BOSS造成的伤害提高33%",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:dmgToBoss",
				"operator": "+=",
				"value": "33"
			}
		]
	},
	"A459": {
		"cls": "tools",
		"name": "铁壁药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内受到战斗伤害-20%，不叠加",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:AA459",
				"value": "1"
			}
		]
	},
	"A460": {
		"cls": "tools",
		"name": "炼金药水",
		"canUseItemEffect": "true",
		"text": "使用后，将面前的怪物转化为随机道具",
		"price": 5,
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(core.getBlockCls(core.nextX(1),core.nextY(1))!=='enemys')",
				"true": [
					{
						"type": "tip",
						"text": "需要勇士面前是怪物才能使用"
					},
					{
						"type": "playSound",
						"name": "操作失败"
					}
				],
				"false": [
					{
						"type": "if",
						"condition": "((core.nextX(1)===core.bigmap.width-2)&&(core.nextY(1)===core.bigmap.height-2))",
						"true": [
							{
								"type": "tip",
								"text": "无法转化该怪物！"
							},
							{
								"type": "playSound",
								"name": "操作失败"
							}
						],
						"false": [
							{
								"type": "playSound",
								"name": "mana.mp3"
							},
							{
								"type": "function",
								"function": "function(){\nlet resultlist = [\n\t['redPotion', 20],\n\t['bluePotion', 10],\n\t['greenGem', 30],\n\t['redGem', 20],\n\t['blueGem', 20],\n\t['coin', 1]\n]\nlet result = core.weightedRandomSelect(resultlist, 460)\ncore.setBlock(result, core.nextX(1), core.nextY(1))\n}"
							}
						]
					}
				]
			}
		]
	},
	"A461": {
		"cls": "tools",
		"name": "不朽药水",
		"canUseItemEffect": "true",
		"text": "使用后，永久+100生命上限",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:permanentHpmax",
				"operator": "+=",
				"value": "100"
			},
			{
				"type": "setValue",
				"name": "status:hpmax",
				"operator": "+=",
				"value": "100"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "+=",
				"value": "100"
			}
		]
	},
	"A462": {
		"cls": "tools",
		"name": "血契药水-攻",
		"canUseItemEffect": "true",
		"text": "使用后，消耗300生命值，本层内+10攻击",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "-=",
				"value": "300"
			},
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "10"
			}
		]
	},
	"A463": {
		"cls": "tools",
		"name": "血契药水-防",
		"canUseItemEffect": "true",
		"text": "使用后，消耗300生命值，本层内+10防御",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "-=",
				"value": "300"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "10"
			}
		]
	},
	"A464": {
		"cls": "tools",
		"name": "塔脉药水-攻",
		"canUseItemEffect": "true",
		"text": "使用后，本层内获得等同于当前楼层数的攻击",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "item:greenKey"
			}
		]
	},
	"A465": {
		"cls": "tools",
		"name": "塔脉药水-魔防",
		"canUseItemEffect": "true",
		"text": "使用后，本层内获得等同于当前楼层数3倍的魔防",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:mdef",
				"operator": "+=",
				"value": "(item:greenKey*3)"
			}
		]
	},
	"A466": {
		"cls": "tools",
		"name": "未来药水",
		"canUseItemEffect": "true",
		"text": "使用后，接下来两层开始时，获得1瓶随机药水",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:AA466",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "flag:BA466",
				"operator": "+=",
				"value": "1"
			}
		]
	},
	"A467": {
		"cls": "tools",
		"name": "蚀胶药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内对史莱姆造成的伤害+100%",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:dmgToSlime",
				"operator": "+=",
				"value": "100"
			}
		]
	},
	"A468": {
		"cls": "tools",
		"name": "断骸药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内对骷髅造成的伤害+100%",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:dmgToSkeleton",
				"operator": "+=",
				"value": "100"
			}
		]
	},
	"A469": {
		"cls": "tools",
		"name": "破蝠药水",
		"canUseItemEffect": "true",
		"text": "使用后，本层内对蝙蝠造成的伤害+100%",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "flag:dmgToBat",
				"operator": "+=",
				"value": "100"
			}
		]
	},
	"A470": {
		"cls": "tools",
		"name": "塔脉药水-防",
		"canUseItemEffect": "true",
		"text": "使用后，本层内获得等同于当前楼层数的防御",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "item:greenKey"
			}
		]
	},
	"A471": {
		"cls": "tools",
		"name": "飞刀药水",
		"canUseItemEffect": "true",
		"text": "使用后，获得5个小飞刀",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "item:sword0",
				"operator": "+=",
				"value": "5"
			}
		]
	},
	"A472": {
		"cls": "tools",
		"name": "逆转药水",
		"canUseItemEffect": "true",
		"text": "使用后，获得+3攻防，然后互换攻防值",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:atk",
				"operator": "+=",
				"value": "3"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"operator": "+=",
				"value": "3"
			},
			{
				"type": "setValue",
				"name": "flag:AA472",
				"value": "status:atk"
			},
			{
				"type": "setValue",
				"name": "status:atk",
				"value": "status:def"
			},
			{
				"type": "setValue",
				"name": "status:def",
				"value": "flag:AA472"
			}
		]
	},
	"A473": {
		"cls": "tools",
		"name": "血契药水-魔防",
		"canUseItemEffect": "true",
		"text": "使用后，消耗300生命值，本层内+30魔防",
		"price": 5,
		"useItemEvent": [
			{
				"type": "playSound",
				"name": "recovery.mp3"
			},
			{
				"type": "setValue",
				"name": "status:hp",
				"operator": "-=",
				"value": "300"
			},
			{
				"type": "setValue",
				"name": "status:mdef",
				"operator": "+=",
				"value": "30"
			}
		]
	},
	"C474": {
		"cls": "constants",
		"name": "魔理沙的八卦炉",
		"canUseItemEffect": "true",
		"text": "魔法研究：迷宫中宝石数量减少，魔力瓶数量增加。迷宫中出现大量魔法蘑菇，使用该道具可以将3个蘑菇合成为药水。药水的合成配方在一局游戏内固定。",
		"price": 25,
		"onlyOne": true,
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(core.itemCount('AA1')+core.itemCount('AA2')+core.itemCount('AA3')+core.itemCount('AA4')+core.itemCount('AA5')<3)",
				"true": [
					{
						"type": "tip",
						"text": "需要至少3个蘑菇开启合成"
					}
				],
				"false": [
					{
						"type": "setValue",
						"name": "flag:mogu1",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "flag:mogu2",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "flag:mogu3",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "flag:mogu4",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "flag:mogu5",
						"value": "0"
					},
					{
						"type": "choices",
						"text": "投入第一个蘑菇",
						"_collapsed": true,
						"choices": [
							{
								"text": "红蘑菇",
								"color": [
									230,
									3,
									3,
									255
								],
								"need": "core.itemCount('AA1')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA1",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu1",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "橙蘑菇",
								"color": [
									230,
									115,
									0,
									255
								],
								"need": "core.itemCount('AA2')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA2",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu2",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "绿蘑菇",
								"color": [
									0,
									230,
									0,
									255
								],
								"need": "core.itemCount('AA3')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA3",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu3",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "蓝蘑菇",
								"color": [
									6,
									118,
									231,
									255
								],
								"need": "core.itemCount('AA4')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA4",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu4",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "紫蘑菇",
								"color": [
									115,
									0,
									230,
									255
								],
								"need": "core.itemCount('AA5')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA5",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu5",
										"operator": "+=",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"type": "choices",
						"text": "投入第二个蘑菇",
						"_collapsed": true,
						"choices": [
							{
								"text": "红蘑菇",
								"color": [
									230,
									3,
									3,
									255
								],
								"need": "core.itemCount('AA1')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA1",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu1",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "橙蘑菇",
								"color": [
									230,
									115,
									0,
									255
								],
								"need": "core.itemCount('AA2')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA2",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu2",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "绿蘑菇",
								"color": [
									0,
									230,
									0,
									255
								],
								"need": "core.itemCount('AA3')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA3",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu3",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "蓝蘑菇",
								"color": [
									6,
									118,
									231,
									255
								],
								"need": "core.itemCount('AA4')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA4",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu4",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "紫蘑菇",
								"color": [
									115,
									0,
									230,
									255
								],
								"need": "core.itemCount('AA5')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA5",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu5",
										"operator": "+=",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"type": "choices",
						"text": "投入第三个蘑菇",
						"_collapsed": true,
						"choices": [
							{
								"text": "红蘑菇",
								"color": [
									230,
									3,
									3,
									255
								],
								"need": "core.itemCount('AA1')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA1",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu1",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "橙蘑菇",
								"color": [
									230,
									115,
									0,
									255
								],
								"need": "core.itemCount('AA2')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA2",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu2",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "绿蘑菇",
								"color": [
									0,
									230,
									0,
									255
								],
								"need": "core.itemCount('AA3')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA3",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu3",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "蓝蘑菇",
								"color": [
									6,
									118,
									231,
									255
								],
								"need": "core.itemCount('AA4')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA4",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu4",
										"operator": "+=",
										"value": "1"
									}
								]
							},
							{
								"text": "紫蘑菇",
								"color": [
									115,
									0,
									230,
									255
								],
								"need": "core.itemCount('AA5')>0",
								"action": [
									{
										"type": "setValue",
										"name": "item:AA5",
										"operator": "-=",
										"value": "1"
									},
									{
										"type": "setValue",
										"name": "flag:mogu5",
										"operator": "+=",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"type": "function",
						"function": "function(){\nlet mogu = []\nmogu[0] = core.getFlag('mogu1')\nmogu[1] = core.getFlag('mogu2')\nmogu[2] = core.getFlag('mogu3')\nmogu[3] = core.getFlag('mogu4')\nmogu[4] = core.getFlag('mogu5')\n\nlet i = core.arrayToIndex(mogu)\nlet YAOSHUIPEIFNAG = core.getFlag('YAOSHUIPEIFNAG')\nlet result = YAOSHUIPEIFNAG[i]\ncore.addItem(result, 1)\ncore.drawTip('获得' + core.material.items[result].name, result)\n}"
					}
				]
			}
		]
	},
	"AA1": {
		"cls": "tools",
		"name": "魔法蘑菇-红",
		"canUseItemEffect": "false",
		"text": "收集3个蘑菇，使用八卦炉进行合成！",
		"price": 25,
		"onlyOne": false
	},
	"AA2": {
		"cls": "tools",
		"name": "魔法蘑菇-橙",
		"canUseItemEffect": "false",
		"text": "收集3个蘑菇，使用八卦炉进行合成！",
		"price": 25,
		"onlyOne": false
	},
	"AA3": {
		"cls": "tools",
		"name": "魔法蘑菇-绿",
		"canUseItemEffect": "false",
		"text": "收集3个蘑菇，使用八卦炉进行合成！",
		"price": 25,
		"onlyOne": false
	},
	"AA4": {
		"cls": "tools",
		"name": "魔法蘑菇-蓝",
		"canUseItemEffect": "false",
		"text": "收集3个蘑菇，使用八卦炉进行合成！",
		"price": 25,
		"onlyOne": false
	},
	"AA5": {
		"cls": "tools",
		"name": "魔法蘑菇-紫",
		"canUseItemEffect": "false",
		"text": "收集3个蘑菇，使用八卦炉进行合成！",
		"price": 25,
		"onlyOne": false
	},
	"I481": {
		"cls": "items",
		"name": "两个红宝石",
		"text": "攻击+${core.values.redGem}",
		"itemEffect": "core.getRedGem()\ncore.getRedGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.atk += core.values.redGem",
		"canUseItemEffect": "true"
	},
	"I482": {
		"cls": "items",
		"name": "两个蓝宝石",
		"text": "，防御+${core.values.blueGem}",
		"itemEffect": "core.getBlueGem()\ncore.getBlueGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.def += core.values.blueGem",
		"canUseItemEffect": "true"
	},
	"I483": {
		"cls": "items",
		"name": "两个绿宝石",
		"text": "，护盾+${core.values.greenGem}",
		"itemEffect": "core.getGreenGem()\ncore.getGreenGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
		"canUseItemEffect": "true"
	},
	"I484": {
		"cls": "items",
		"name": "四个绿宝石",
		"text": "，护盾+${core.values.greenGem}",
		"itemEffect": "core.getGreenGem()\ncore.getGreenGem()\ncore.getGreenGem()\ncore.getGreenGem()",
		"itemEffectTip": "",
		"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
		"canUseItemEffect": "true"
	},
	"I485": {
		"cls": "constants",
		"name": "红玉护符",
		"canUseItemEffect": "false",
		"text": "红宝石大概率双倍生成",
		"price": 25,
		"onlyOne": true
	},
	"I486": {
		"cls": "constants",
		"name": "蓝玉护符",
		"canUseItemEffect": "false",
		"text": "蓝宝石大概率双倍生成",
		"price": 25,
		"onlyOne": true
	},
	"I487": {
		"cls": "constants",
		"name": "绿玉护符",
		"canUseItemEffect": "false",
		"text": "绿宝石会生成很多很多",
		"price": 25,
		"onlyOne": true
	}
}