var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"yellowKey": {
		"cls": "tools",
		"name": "黄钥匙",
		"text": "可以打开一扇黄门",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"blueKey": {
		"cls": "tools",
		"name": "兰钥匙",
		"text": "可以打开一扇蓝门",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"redKey": {
		"cls": "tools",
		"name": "红钥匙",
		"text": "可以打开一扇红门",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"redGem": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+${core.values.redGem}",
		"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
		"itemEffectTip": "你的攻击力增加 ${core.values.redGem * core.status.thisMap.ratio} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 1
			},
			"percentage": {}
		}
	},
	"blueGem": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "，防御+${core.values.blueGem}",
		"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
		"itemEffectTip": "你的防御力增加 ${core.values.blueGem * core.status.thisMap.ratio} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 1
			},
			"percentage": {}
		}
	},
	"greenGem": {
		"cls": "items",
		"name": "绿宝石",
		"text": "，护盾+${core.values.greenGem}",
		"itemEffect": "core.status.hero.mdef += core.values.greenGem * core.status.thisMap.ratio",
		"itemEffectTip": "，护盾+${core.values.greenGem * core.status.thisMap.ratio}",
		"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
		"canUseItemEffect": "true"
	},
	"yellowGem": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+1",
		"itemEffect": "core.status.hero.atk += 1;\ncore.status.hero.def += 1",
		"itemEffectTip": "，全属性提升",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 1,
				"atk": 1
			},
			"percentage": {}
		}
	},
	"redPotion": {
		"cls": "items",
		"name": "红血瓶",
		"text": "，生命+${core.values.redPotion}",
		"itemEffect": "core.status.hero.hp += core.values.redPotion * core.status.thisMap.ratio",
		"itemEffectTip": "你的生命增加了 ${core.values.redPotion * core.status.thisMap.ratio} 点",
		"useItemEffect": "core.status.hero.hp += core.values.redPotion",
		"canUseItemEffect": "true",
		"equip": {
			"type": 0,
			"value": {
				"hp": 50
			},
			"percentage": {}
		}
	},
	"bluePotion": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "，生命+${core.values.bluePotion}",
		"itemEffect": "core.status.hero.hp += core.values.bluePotion * core.status.thisMap.ratio",
		"itemEffectTip": "你的生命增加了 ${core.values.bluePotion * core.status.thisMap.ratio} 点",
		"useItemEffect": "core.status.hero.hp += core.values.bluePotion",
		"canUseItemEffect": "true",
		"equip": {
			"type": 0,
			"value": {
				"hp": 200
			},
			"percentage": {}
		}
	},
	"yellowPotion": {
		"cls": "items",
		"name": "黄血瓶",
		"text": "，生命+${core.values.yellowPotion}",
		"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"
	},
	"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": "items",
		"name": "破旧的剑",
		"text": "一把已经生锈的剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 0
			}
		},
		"itemEffect": "core.status.hero.atk += 0",
		"itemEffectTip": "，攻击+0"
	},
	"sword1": {
		"cls": "items",
		"name": "铁剑",
		"text": "一把很普通的铁剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 10
			}
		},
		"itemEffect": "core.status.hero.atk += 10; core.setFlag('nowWeapon', 'sword1');",
		"itemEffectTip": "你得到了铁剑，攻击力增加10点"
	},
	"sword2": {
		"cls": "items",
		"name": "银剑",
		"text": "一把很普通的银剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 20
			}
		},
		"itemEffect": "core.status.hero.atk += 20; core.setFlag('nowWeapon', 'sword2');",
		"itemEffectTip": "你得到了银剑，攻击力增加20点"
	},
	"shield0": {
		"cls": "items",
		"name": "破旧的盾",
		"text": "一个很破旧的铁盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 0
			}
		},
		"itemEffect": "core.status.hero.def += 0",
		"itemEffectTip": "你得到了破旧的盾，防御力增加0点"
	},
	"shield1": {
		"cls": "items",
		"name": "铁盾",
		"text": "一个很普通的铁盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 10
			}
		},
		"itemEffect": "core.status.hero.def += 10; core.setFlag('nowShield', 'shield1');",
		"itemEffectTip": "你得到了铁盾，防御力增加10点"
	},
	"shield2": {
		"cls": "items",
		"name": "银盾",
		"text": "一个很普通的银盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 20
			}
		},
		"itemEffect": "core.status.hero.def += 20; core.setFlag('nowShield', 'shield2');",
		"itemEffectTip": "你得到了银盾，防御力增加20点"
	},
	"superPotion": {
		"cls": "tools",
		"name": "圣水",
		"itemEffect": null,
		"itemEffectTip": "你得到 圣水 按攻击和防御提升生命点数",
		"useItemEffect": "var hp = Math.round(10 * core.status.hero.atk + 5 * core.status.hero.def)\nhp *= Math.pow(1.5, core.itemCount('crystal'))\ncore.status.hero.hp += hp;\ncore.insertAction([\n\t{ \"type\": \"playSound\", \"name\": \"item.mp3\" },\n\t{ \"type\": \"tip\", \"text\": \"使用圣水，增加 \" + hp + \" 生命\" },\n]);",
		"canUseItemEffect": "true",
		"text": "使用后获得 10倍攻击及5倍防御 点生命",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"book": {
		"cls": "constants",
		"name": "游戏手册",
		"text": "察看敌人参数",
		"hideInToolbox": true,
		"useItemEffect": "core.ui.drawBook(0);",
		"canUseItemEffect": "true",
		"hideInReplay": true,
		"itemEffectTip": "你得到 游戏手册，察看敌人参数"
	},
	"fly": {
		"cls": "constants",
		"name": "魔杖",
		"text": "可以飞往到过的楼层",
		"hideInReplay": true,
		"hideInToolbox": true,
		"useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"canUseItemEffect": "true",
		"itemEffectTip": "你得到 魔杖 可以飞往到过的楼层"
	},
	"coin": {
		"cls": "tools",
		"name": "幸运金币",
		"text": "战后获得双倍金钱",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 幸运金币 战后获得双倍金钱"
	},
	"snow": {
		"cls": "constants",
		"name": "冰魔法",
		"text": "可冻结熔岩",
		"useItemEffect": "(function () {\n\tvar success = false;\n\n\tvar snowFourDirections = true; // 是否多方向雪花；如果是将其改成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",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你学会 冰魔法 可冻结熔岩"
	},
	"cross": {
		"cls": "tools",
		"name": "十字架",
		"text": "对吸血鬼和兽人攻击力加倍",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 十字架 对吸血鬼和兽人攻击力加倍"
	},
	"knife": {
		"cls": "constants",
		"name": "屠龙匕首",
		"text": "对龙攻击力加倍",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 屠龙匕 对龙攻击力加倍"
	},
	"amulet": {
		"cls": "constants",
		"name": "护符",
		"text": "持有时无视负面地形",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"bigKey": {
		"cls": "tools",
		"name": "魔法钥匙",
		"text": "可打开一层楼所有的黄门",
		"itemEffect": null,
		"itemEffectTip": "你得到 魔法钥匙 可打开一层楼所有的黄门",
		"useItemEffect": "(function () {\n\tlet hx = core.status.hero.loc.x,\n\t\thy = core.status.hero.loc.y,\n\t\tactions = []\n\tfor (let x = hx - 6; x <= hx + 6; x++) {\n\t\tfor (let y = hy - 6; y <= hy + 6; y++) {\n\t\t\tlet block = core.getBlock(x, y)\n\t\t\tif (block && block.event.id === \"yellowDoor\") {\n\t\t\t\tactions.push({ \"type\": \"openDoor\", \"loc\": [x, y], \"async\": true });\n\t\t\t}\n\t\t}\n\t}\n\tactions.push({ \"type\": \"waitAsync\" });\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"greenKey": {
		"cls": "tools",
		"name": "绿钥匙",
		"text": "可以打开一扇绿门",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"steelKey": {
		"cls": "tools",
		"name": "铁门钥匙",
		"text": "可以打开一扇铁门",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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\tlet todo = [];\n\tfor (var direction in core.utils.scan) { // 多方向破默认四方向，如需改成八方向请将这两个scan改为scan2\n\t\tvar delta = core.utils.scan[direction];\n\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\tif (canBreak(nx, ny)) {\n\t\t\tcore.removeBlock(nx, ny);\n\t\t}\n\t}\n\tcore.push(todo, { \"type\": \"waitAsync\" });\n\tcore.insertAction(todo);\n\n\tcore.playSound('破墙镐');\n\t//core.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n})();",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 镐 可破坏你周围的堵墙"
	},
	"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})();",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"bomb": {
		"cls": "tools",
		"name": "炸弹",
		"text": "可炸死你周围的敌人",
		"useItemEffect": "(function () {\n\tvar bombList = [],\n\t\ttodo = [],\n\t\tmoney = 0;\n\tvar heroX = core.getHeroLoc('x'),\n\t\theroY = core.getHeroLoc('y');\n\n\t// 用于记录需要移除的坐标，格式为 \"x,y\": true\n\tvar targets = {};\n\n\t// 检查可炸目标\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block && !block.disable && block.event.trigger === 'battle' && block.event.cls.indexOf('enemy') === 0) {\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tvar hp = core.getEnemyValue(enemy, 'hp', x, y);\n\t\t\treturn hp < 500;\n\t\t}\n\t};\n\n\t// 预处理炸弹逻辑（只计算数据和标记，不移除）\n\tvar prepareBomb = function (x, y) {\n\t\tif (!canBomb(x, y)) return;\n\t\tbombList.push([x, y]);\n\n\t\t// 标记该坐标需要移除\n\t\ttargets[x + \",\" + y] = true;\n\n\t\tvar enemy = core.material.enemys[core.getBlockId(x, y)];\n\t\tmoney += core.getEnemyInfo(enemy, null, x, y).money || 0;\n\n\t\t// 战后事件\n\t\tcore.push(todo, enemy.afterBattle);\n\n\t\tlet floorId\n\t\tif (core.status.floorId === \"MTA\") {\n\t\t\tlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\t\t\t\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\t\t\tlet bigMaps = flags.bigMaps.grid\n\t\t\tfloorId = bigMaps[floor_y][floor_x]\n\t\t\tif (floorId != null) {\n\t\t\t\tcore.push(todo, core.floors[floorId].afterBattle[(x - floor_x * 12) + \",\" + (y - floor_y * 12)]);\n\t\t\t}\n\t\t}\n\t\tif (core.status.floorId != null) {\n\t\t\tcore.push(todo, core.floors[core.status.floorId].afterBattle[x + \",\" + y]);\n\t\t}\n\t\tif (core.status.floorId === \"MTA\") {\n\t\t\tlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\t\t\t\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\t\t\tlet bigMaps = flags.bigMaps.grid\n\t\t\tlet floorId = bigMaps[floor_y][floor_x]\n\t\t\tif (floorId != null) {\n\t\t\t\tcore.push(todo, core.floors[floorId].afterBattle[(x - floor_x * 12) + \",\" + (y - floor_y * 12)]);\n\t\t\t}\n\t\t}\n\t};\n\n\t// 扫描四周\n\tvar scan = core.utils.scan;\n\tfor (var direction in scan) {\n\t\tvar delta = scan[direction];\n\t\tprepareBomb(heroX + delta.x, heroY + delta.y);\n\t}\n\n\t// 如果有目标被炸到，执行批量移除\n\tif (bombList.length > 0) {\n\t\tvar indexes = [];\n\t\t// 遍历当前地图所有图块，寻找匹配的坐标\n\t\t// 这样只需要遍历一次 blocks 数组，而不是每个方向遍历一次\n\t\tfor (var index in core.status.thisMap.blocks) {\n\t\t\tvar block = core.status.thisMap.blocks[index];\n\t\t\tif (targets[block.x + \",\" + block.y]) {\n\t\t\t\tindexes.push(index);\n\t\t\t}\n\t\t}\n\t\t// 批量移除\n\t\tcore.removeBlockByIndexes(indexes);\n\t\tcore.redrawMap();\n\t}\n\n\tif (core.hasItem('coin')) money *= Math.pow(2, core.itemCount('coin')); // 幸运金币：双倍\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功，你获得了 ' + money + ' 金币');\n\tcore.status.hero.money += money;\n\n\t// 触发战后事件\n\tif (todo.length > 0) core.insertAction(todo);\n})();",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 炸弹 可炸死你周围的敌人"
	},
	"centerFly": {
		"cls": "tools",
		"name": "飞行器",
		"text": "可以飞到指定地点",
		"useItemEffect": null,
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"useItemEvent": [
			{
				"type": "tip",
				"text": "请选择传送的位置"
			},
			{
				"type": "setValue",
				"name": "temp:X",
				"value": "status:x"
			},
			{
				"type": "setValue",
				"name": "temp:Y",
				"value": "status:y"
			},
			{
				"type": "while",
				"condition": "true",
				"data": [
					{
						"type": "drawSelector",
						"image": "winskin2.png",
						"code": 1,
						"x": "32*temp:X",
						"y": "32*temp:Y",
						"width": 32,
						"height": 32
					},
					{
						"type": "wait",
						"forceChild": true,
						"data": [
							{
								"case": "keyboard",
								"keycode": "27",
								"action": [
									{
										"type": "comment",
										"text": "ESC退出"
									},
									{
										"type": "setValue",
										"name": "item:centerFly",
										"operator": "+=",
										"value": "1"
									},
									{
										"type": "break",
										"n": 1
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "38",
								"action": [
									{
										"type": "comment",
										"text": "上"
									},
									{
										"type": "if",
										"condition": "(temp:Y>0)",
										"true": [
											{
												"type": "setValue",
												"name": "temp:Y",
												"operator": "-=",
												"value": "1"
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "40",
								"action": [
									{
										"type": "comment",
										"text": "下"
									},
									{
										"type": "if",
										"condition": "(temp:Y<10)",
										"true": [
											{
												"type": "setValue",
												"name": "temp:Y",
												"operator": "+=",
												"value": "1"
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "37",
								"action": [
									{
										"type": "comment",
										"text": "左"
									},
									{
										"type": "if",
										"condition": "(temp:X>0)",
										"true": [
											{
												"type": "setValue",
												"name": "temp:X",
												"operator": "-=",
												"value": "1"
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "39",
								"action": [
									{
										"type": "comment",
										"text": "右"
									},
									{
										"type": "if",
										"condition": "(temp:X<10)",
										"true": [
											{
												"type": "setValue",
												"name": "temp:X",
												"operator": "+=",
												"value": "1"
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "13,32",
								"action": [
									{
										"type": "function",
										"function": "function(){\nlet hx = core.status.hero.loc.x,\n\thy = core.status.hero.loc.y,\n\tmx = flags[\"@temp@X\"],\n\tmy = flags[\"@temp@Y\"]\nlet bx = 6,\n\tby = 6\nif (hx < 6) bx = hx;\nif (hx > 78) bx = hx - 72;\nif (hy < 6) by = hy;\nif (hy > 78) by = hy - 72;\n\nlet tx = hx - bx + mx,\n\tty = hy - by + my\nflags[\"@temp@A\"] = tx;\nflags[\"@temp@B\"] = ty;\n}"
									},
									{
										"type": "if",
										"condition": "core.getBlockId(temp:A,temp:B)",
										"true": [
											{
												"type": "tip",
												"text": "该地点不能传送"
											}
										],
										"false": [
											{
												"type": "jumpHero",
												"loc": [
													" temp:A",
													"temp:B"
												],
												"time": 500
											},
											{
												"type": "break",
												"n": 1
											}
										]
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									0,
									512
								],
								"py": [
									0,
									512
								],
								"action": [
									{
										"type": "if",
										"condition": "((temp:X===flag:x)&&(temp:Y===flag:y))",
										"true": [
											{
												"type": "function",
												"function": "function(){\nlet hx = core.status.hero.loc.x,\n\thy = core.status.hero.loc.y,\n\tmx = flags[\"@temp@X\"],\n\tmy = flags[\"@temp@Y\"]\nlet bx = 6,\n\tby = 6\nif (hx < 6) bx = hx;\nif (hx > 78) bx = hx - 72;\nif (hy < 6) by = hy;\nif (hy > 78) by = hy - 72;\n\nlet tx = hx - bx + mx,\n\tty = hy - by + my\nflags[\"@temp@A\"] = tx;\nflags[\"@temp@B\"] = ty;\n}"
											},
											{
												"type": "if",
												"condition": "core.getBlockId(temp:A,temp:B)",
												"true": [
													{
														"type": "tip",
														"text": "该地点不能传送"
													}
												],
												"false": [
													{
														"type": "jumpHero",
														"loc": [
															" temp:A",
															"temp:B"
														],
														"time": 500
													},
													{
														"type": "break",
														"n": 1
													}
												]
											}
										],
										"false": [
											{
												"type": "setValue",
												"name": "temp:X",
												"value": "flag:x"
											},
											{
												"type": "setValue",
												"name": "temp:Y",
												"value": "flag:y"
											}
										]
									}
								]
							}
						]
					},
					{
						"type": "waitAsync"
					}
				]
			},
			{
				"type": "clearMap"
			},
			{
				"type": "drawSelector",
				"code": 1
			}
		]
	},
	"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 >= 49) {\n\t\tcore.drawTip('你已在最高层');\n\t\treturn false;\n\t}\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.getBlockId(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\tcore.drawTip('上一层此位置有东西');\n\treturn false;\n})();",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 向上传送 传送到楼上对应位置"
	},
	"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 < 1) {\n\t\tcore.drawTip('你已在地下室');\n\t\treturn false;\n\t}\n\tvar toId = core.floorIds[index - 1],\n\t\ttoX = core.getHeroLoc('x'),\n\t\ttoY = core.getHeroLoc('y');\n\tvar mw = core.floors[toId].width,\n\t\tmh = core.floors[toId].height;\n\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\treturn true;\n\t}\n\tcore.drawTip('下一层此位置有东西');\n\treturn false;\n})();",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 向下传送 传送到楼下对应位置"
	},
	"earthquake": {
		"cls": "tools",
		"name": "地震卷轴",
		"text": "可破坏一层楼的墙",
		"useItemEffect": "(function () {\n\tlet indexes = [];\n\tlet hx = core.status.hero.loc.x,\n\t\thy = core.status.hero.loc.y\n\tfor (let index in core.status.thisMap.blocks) {\n\t\tlet block = core.status.thisMap.blocks[index];\n\t\tif (!block.disable && block.event.canBreak) {\n\t\t\tlet x = block.x,\n\t\t\t\ty = block.y\n\t\t\tif (x >= hx - 6 && x <= hx + 6 && y >= hy - 6 && y <= hy + 6) indexes.push(index);\n\t\t}\n\t}\n\tcore.removeBlockByIndexes(indexes);\n\tcore.redrawMap();\n\tcore.playSound('door.mp3');\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"itemEffectTip": "你得到 地震卷 可破坏一层楼的墙"
	},
	"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": "constants",
		"name": "魔杖",
		"text": "可以飞往到过的楼层",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "item:fly",
				"value": "1"
			}
		],
		"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": "constants",
		"name": "备忘录",
		"text": "自动记录谈话内容",
		"itemEffect": null,
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"useItemEffect": "core.insertCommonEvent(\"记事本\");",
		"itemEffectTip": "你得到 备忘录，自动记录谈话内容"
	},
	"pack": {
		"cls": "items",
		"name": "钱袋",
		"itemEffect": "core.status.hero.money += 500",
		"itemEffectTip": "，金币+500"
	},
	"I300": {
		"cls": "constants",
		"name": "帮助",
		"text": "使用后可以查看帮助",
		"itemEffect": "core.insertCommonEvent(\"帮助\");",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"centerFly3": {
		"cls": "items",
		"name": "瞬移",
		"itemEffect": "core.addItem('centerFly', 3)",
		"itemEffectTip": "你得到 瞬移 可用3次到达中心对称的对应点",
		"text": "可用3次到达中心对称的对应点"
	},
	"I333": {
		"cls": "constants",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"redGem1": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+1",
		"itemEffect": "core.status.hero.atk += 1",
		"itemEffectTip": "你的攻击力增加 1 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 1
			},
			"percentage": {}
		}
	},
	"redGem2": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+2",
		"itemEffect": "core.status.hero.atk += 2",
		"itemEffectTip": "你的攻击力增加 2 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 2
			},
			"percentage": {}
		}
	},
	"redGem3": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+3",
		"itemEffect": "core.status.hero.atk += 3",
		"itemEffectTip": "你的攻击力增加 3 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 3
			},
			"percentage": {}
		}
	},
	"redGem4": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+1",
		"itemEffect": "core.status.hero.atk += 4",
		"itemEffectTip": "你的攻击力增加 4 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 4
			},
			"percentage": {}
		}
	},
	"redGem5": {
		"cls": "items",
		"name": "红宝石",
		"text": "攻击+5",
		"itemEffect": "core.status.hero.atk += 5",
		"itemEffectTip": "你的攻击力增加 5 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"atk": 5
			},
			"percentage": {}
		}
	},
	"blueGem1": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "防御+1",
		"itemEffect": "core.status.hero.def += 1",
		"itemEffectTip": "你的防御力增加 1 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 1
			},
			"percentage": {}
		}
	},
	"blueGem2": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "防御+2",
		"itemEffect": "core.status.hero.def += 2",
		"itemEffectTip": "你的防御力增加 2 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 2
			},
			"percentage": {}
		}
	},
	"blueGem3": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "防御+3",
		"itemEffect": "core.status.hero.def += 3",
		"itemEffectTip": "你的防御力增加 3 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 3
			},
			"percentage": {}
		}
	},
	"blueGem4": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "防御+4",
		"itemEffect": "core.status.hero.def += 4",
		"itemEffectTip": "你的防御力增加 4 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 4
			},
			"percentage": {}
		}
	},
	"blueGem5": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "防御+5",
		"itemEffect": "core.status.hero.def += 5",
		"itemEffectTip": "你的防御力增加 5 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 5
			},
			"percentage": {}
		}
	},
	"yellowGem1": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+1",
		"itemEffect": "core.status.hero.atk += 1;\ncore.status.hero.def += 1",
		"itemEffectTip": "你的攻击和防御增加 1 点",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 1,
				"atk": 1
			},
			"percentage": {}
		}
	},
	"yellowGem2": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+2",
		"itemEffect": "core.status.hero.atk += 2;\ncore.status.hero.def += 2",
		"itemEffectTip": "你的攻击和防御增加 2 点",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 2,
				"atk": 2
			},
			"percentage": {}
		}
	},
	"yellowGem3": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+3",
		"itemEffect": "core.status.hero.atk += 3;\ncore.status.hero.def += 3",
		"itemEffectTip": "你的攻击和防御增加 3 点",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 3,
				"atk": 3
			},
			"percentage": {}
		}
	},
	"yellowGem4": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+4",
		"itemEffect": "core.status.hero.atk += 4;\ncore.status.hero.def += 4",
		"itemEffectTip": "你的攻击和防御增加 4 点",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 4,
				"atk": 4
			},
			"percentage": {}
		}
	},
	"yellowGem5": {
		"cls": "items",
		"name": "黄宝石",
		"text": "攻防+5",
		"itemEffect": "core.status.hero.atk += 5;\ncore.status.hero.def += 5",
		"itemEffectTip": "你的攻击和防御增加 5 点",
		"useItemEvent": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"def": 5,
				"atk": 5
			},
			"percentage": {}
		}
	},
	"redPotion1": {
		"cls": "items",
		"name": "红血瓶",
		"text": "生命+50",
		"itemEffect": "core.status.hero.hp += 50 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${50 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 50
			},
			"percentage": {}
		}
	},
	"redPotion2": {
		"cls": "items",
		"name": "红血瓶",
		"text": "生命+100",
		"itemEffect": "core.status.hero.hp += 100 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${100 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 100
			},
			"percentage": {}
		}
	},
	"redPotion3": {
		"cls": "items",
		"name": "红血瓶",
		"text": "生命+150",
		"itemEffect": "core.status.hero.hp += 150 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${150 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 150
			},
			"percentage": {}
		}
	},
	"redPotion4": {
		"cls": "items",
		"name": "红血瓶",
		"text": "生命+200",
		"itemEffect": "core.status.hero.hp += 200 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${200 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 200
			},
			"percentage": {}
		}
	},
	"redPotion5": {
		"cls": "items",
		"name": "红血瓶",
		"text": "生命+250",
		"itemEffect": "core.status.hero.hp += 250 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${250 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 250
			},
			"percentage": {}
		}
	},
	"bluePotion1": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "生命+200",
		"itemEffect": "core.status.hero.hp += 200 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${200 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 200
			},
			"percentage": {}
		}
	},
	"bluePotion2": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "生命+400",
		"itemEffect": "core.status.hero.hp += 400 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${400 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 400
			},
			"percentage": {}
		}
	},
	"bluePotion3": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "生命+600",
		"itemEffect": "core.status.hero.hp += 600 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${600 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 600
			},
			"percentage": {}
		}
	},
	"bluePotion4": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "生命+800",
		"itemEffect": "core.status.hero.hp += 800 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${800 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 800
			},
			"percentage": {}
		}
	},
	"bluePotion5": {
		"cls": "items",
		"name": "蓝血瓶",
		"text": "生命+1000",
		"itemEffect": "core.status.hero.hp += 1000 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${1000 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 1000
			},
			"percentage": {}
		}
	},
	"greenPotion1": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "生命+800",
		"itemEffect": "core.status.hero.hp += 800 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${800 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 800
			},
			"percentage": {}
		}
	},
	"greenPotion2": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "生命+1600",
		"itemEffect": "core.status.hero.hp += 1600 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${1600 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 1600
			},
			"percentage": {}
		}
	},
	"greenPotion3": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "生命+2400",
		"itemEffect": "core.status.hero.hp += 2400 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${2400 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 2400
			},
			"percentage": {}
		}
	},
	"greenPotion4": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "生命+3200",
		"itemEffect": "core.status.hero.hp += 3200 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${3200 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 3200
			},
			"percentage": {}
		}
	},
	"greenPotion5": {
		"cls": "items",
		"name": "绿血瓶",
		"text": "生命+4000",
		"itemEffect": "core.status.hero.hp += 4000 * Math.pow(1.5, core.itemCount('crystal'))",
		"itemEffectTip": "你的生命增加了 ${4000 * Math.pow(1.5, core.itemCount('crystal'))} 点",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"hp": 4000
			},
			"percentage": {}
		}
	},
	"moneyPocket1": {
		"cls": "items",
		"name": "钱袋",
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"money": 50
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.money += 50 * Math.pow(2, core.itemCount('coin'))",
		"itemEffectTip": "你获得了${50 * Math.pow(2, core.itemCount('coin'))}金币"
	},
	"moneyPocket2": {
		"cls": "items",
		"name": "钱袋",
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"money": 100
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.money += 100 * Math.pow(2, core.itemCount('coin'))",
		"itemEffectTip": "你获得了${100 * Math.pow(2, core.itemCount('coin'))}金币"
	},
	"moneyPocket3": {
		"cls": "items",
		"name": "钱袋",
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"money": 150
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.money += 150 * Math.pow(2, core.itemCount('coin'))",
		"itemEffectTip": "你获得了${150 * Math.pow(2, core.itemCount('coin'))}金币"
	},
	"moneyPocket4": {
		"cls": "items",
		"name": "钱袋",
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"money": 200
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.money += 200 * Math.pow(2, core.itemCount('coin'))",
		"itemEffectTip": "你获得了${200 * Math.pow(2, core.itemCount('coin'))}金币"
	},
	"moneyPocket5": {
		"cls": "items",
		"name": "钱袋",
		"canUseItemEffect": null,
		"equip": {
			"type": 0,
			"value": {
				"money": 250
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.money += 250 * Math.pow(2, core.itemCount('coin'))",
		"itemEffectTip": "你获得了${250 * Math.pow(2, core.itemCount('coin'))}金币"
	},
	"sword10": {
		"cls": "items",
		"name": "神圣剑",
		"text": "一把很普通的神圣剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 100
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.atk += 100;\ncore.setFlag('nowWeapon', 'sword10');",
		"itemEffectTip": "你得到了神圣剑，攻击力增加100点"
	},
	"shield10": {
		"cls": "items",
		"name": "神圣盾",
		"text": "一个很普通的神圣盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 100,
				"mdef": 100
			}
		},
		"itemEffect": "core.status.hero.def += 100;\ncore.setFlag('nowShield', 'shield10');\ncore.setFlag('魔法免疫', true);",
		"itemEffectTip": "你得到了 神圣盾，可以忽略魔法攻击了"
	},
	"shield5": {
		"cls": "items",
		"name": "圣盾",
		"text": "一个很普通的圣盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 50
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.def += 50;\ncore.setFlag('nowShield', 'shield5');",
		"itemEffectTip": "你得到了圣盾，防御力增加50点"
	},
	"shield4": {
		"cls": "items",
		"name": "骑士盾",
		"text": "一个很普通的骑士盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 40
			}
		},
		"itemEffect": "core.status.hero.def += 40;\ncore.setFlag('nowShield', 'shield4');",
		"itemEffectTip": "你得到了骑士盾，防御力增加40点"
	},
	"sword5": {
		"cls": "items",
		"name": "圣剑",
		"text": "一把很普通的圣剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 50
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.atk += 50;\ncore.setFlag('nowWeapon', 'sword5');",
		"itemEffectTip": "你得到了圣剑，攻击力增加50点"
	},
	"sword4": {
		"cls": "items",
		"name": "骑士剑",
		"text": "一把很普通的骑士剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 40
			}
		},
		"itemEffect": "core.status.hero.atk += 40;\ncore.setFlag('nowWeapon', 'sword4');",
		"itemEffectTip": "你得到了骑士剑，攻击力增加40点"
	},
	"sword3": {
		"cls": "items",
		"name": "绯红剑",
		"text": "一把很普通的绯红剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 30
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.atk += 30;\ncore.setFlag('nowWeapon', 'sword3');",
		"itemEffectTip": "你得到了绯红剑，攻击力增加30点"
	},
	"shield3": {
		"cls": "items",
		"name": "绯红盾",
		"text": "一个很普通的绯红盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 30
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.def += 30;\ncore.setFlag('nowShield', 'shield3');",
		"itemEffectTip": "你得到了绯红盾，防御力增加30点"
	},
	"crystal": {
		"cls": "tools",
		"name": "生命水晶",
		"canUseItemEffect": null,
		"text": "获得生命值时，额外获得50%",
		"hideInToolbox": true,
		"hideInReplay": true
	}
}