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.atkc += core.values.redGem * core.status.thisMap.ratio;\n\n// if ((parseInt(core.status.floorId.substring(2)) % 2) === 0) {\n// \tcore.status.hero.atk = (core.status.hero.atkc + core.values.redGem * core.status.thisMap.ratio) * core.status.hero.caoxiUp + core.status.hero.linxi\n// } else {\n// \tcore.status.hero.atk = (core.status.hero.atkc + core.values.redGem * core.status.thisMap.ratio) * core.status.hero.caoxiDown + core.status.hero.linxi\n// }",
		"itemEffectTip": null,
		"useItemEffect": "core.status.hero.atk += core.values.redGem",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"blueGem": {
		"cls": "items",
		"name": "蓝宝石",
		"text": "，防御+${core.values.blueGem}",
		"itemEffect": "core.status.hero.defc += core.values.blueGem * core.status.thisMap.ratio;\n\n//if ((parseInt(core.status.floorId.substring(2)) % 2) === 0) {\n//\tcore.status.hero.def = (core.status.hero.defc + core.values.blueGem * core.status.thisMap.ratio) * core.status.hero.caoxiDown + core.status.hero.linxi\n//} else {\n//\tcore.status.hero.def = (core.status.hero.defc + core.values.blueGem * core.status.thisMap.ratio) * core.status.hero.caoxiUp + core.status.hero.linxi\n//}",
		"itemEffectTip": null,
		"useItemEffect": "core.status.hero.def += core.values.blueGem\nif ((parseInt(core.status.floorId.substring(2)) % 2) === 0) {\n\tcore.status.hero.def = (core.status.hero.defc + core.values.blueGem * core.status.thisMap.ratio) * core.status.hero.caoxiDown + core.status.hero.linxi\n} else {\n\tcore.status.hero.def = (core.status.hero.defc + core.values.blueGem * core.status.thisMap.ratio) * core.status.hero.caoxiUp + core.status.hero.linxi\n}",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"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"
	},
	"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"
	},
	"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"
	},
	"sword0": {
		"cls": "items",
		"name": "破旧的剑",
		"text": "一把已经生锈的剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 0
			}
		},
		"itemEffect": "core.status.hero.atkc += 7;",
		"itemEffectTip": "，攻击+7",
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"sword1": {
		"cls": "items",
		"name": "铁剑",
		"text": "一把很普通的铁剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 10
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.atkc += 10;",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"sword2": {
		"cls": "items",
		"name": "银剑",
		"text": "一把很普通的银剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 20
			},
			"percentage": {}
		},
		"itemEffect": "core.status.hero.atkc += 20;",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"sword3": {
		"cls": "items",
		"name": "骑士剑",
		"text": "一把很普通的骑士剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 40
			}
		},
		"itemEffect": "core.status.hero.atkc += 40;",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"sword4": {
		"cls": "items",
		"name": "圣剑",
		"text": "一把很普通的圣剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 80
			}
		},
		"itemEffect": "core.status.hero.atkc += 50;",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"sword5": {
		"cls": "items",
		"name": "神圣剑",
		"text": "一把很普通的神圣剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 160
			}
		},
		"itemEffect": "core.status.hero.atkc += 100;",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"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.defc += 10;\ncore.setFlag('nowShield', 'shield1');",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"shield2": {
		"cls": "items",
		"name": "银盾",
		"text": "一个很普通的银盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 20
			}
		},
		"itemEffect": "core.status.hero.defc += 20;\ncore.setFlag('nowShield', 'shield2');",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"shield3": {
		"cls": "items",
		"name": "骑士盾",
		"text": "一个很普通的骑士盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 40
			}
		},
		"itemEffect": "core.status.hero.defc += 40;\ncore.setFlag('nowShield', 'shield3');",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"shield4": {
		"cls": "items",
		"name": "圣盾",
		"text": "一个很普通的圣盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 80
			}
		},
		"itemEffect": "core.status.hero.defc += 50;\ncore.setFlag('nowShield', 'shield4');",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"shield5": {
		"cls": "items",
		"name": "神圣盾",
		"text": "一个很普通的神圣盾",
		"equip": {
			"type": 1,
			"value": {
				"def": 100,
				"mdef": 100
			}
		},
		"itemEffect": "core.status.hero.defc += 100;\ncore.setFlag('nowShield', 'shield5');\ncore.setFlag('shield5', 1);",
		"itemEffectTip": null,
		"useItemEvent": [
			{
				"type": "insert",
				"name": "潮汐祝福"
			}
		]
	},
	"superPotion": {
		"cls": "tools",
		"name": "圣水",
		"itemEffect": "core.status.hero.hp *= 2",
		"itemEffectTip": "增加7.4倍攻防和的生命",
		"useItemEffect": "var hp = Math.round(7.4 * (core.status.hero.atk + core.status.hero.def))\ncore.status.hero.hp += hp;\ncore.insertAction([\n\t{ \"type\": \"playSound\", \"name\": \"item.mp3\" },\n\t{ \"type\": \"tip\", \"text\": \"使用圣水，增加 \" + hp + \" 生命\" },\n]);",
		"canUseItemEffect": "true",
		"text": "增加7.4倍攻防和的生命",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"book": {
		"cls": "constants",
		"name": "怪物手册",
		"text": "可以查看当前楼层各怪物属性",
		"hideInToolbox": true,
		"useItemEffect": "core.ui.drawBook(0);",
		"canUseItemEffect": "true",
		"hideInReplay": true
	},
	"fly": {
		"cls": "constants",
		"name": "楼层传送器",
		"text": "可以自由往来去过的楼层",
		"hideInReplay": true,
		"hideInToolbox": true,
		"useItemEffect": "if (core.status.hero.spaceTime == 0) {\n\n\t//当前时空的楼层列表\n\tif (core.status.hero.hideF1Flag == 1) {\n\t\t// 无F1\n\t\t//console.log('无F1');\n\t\tcore.floorIds = core.status.hero.floorIdsHideF1;\n\t\tcore.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\n\n\n\t} else {\n\t\t// 有F1\n\n\t\tcore.floorIds = core.status.hero.floorIds2;\n\t\tcore.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\n\t}\n\n\n} else if (core.status.hero.spaceTime == 1) {\n\t//远古时空的楼层列表\n\tcore.floorIds = core.status.hero.floorIds0;\n\tcore.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\n} else if (core.status.hero.spaceTime == 3) {\n\t//全塔楼层\n\tcore.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\n} else {\n\n\n\t// 去过一趟 MT1 MT101 这两层时 会自动设置 spaceTime \n\t// 以及 MT_Veranda_Right 层的npc 可以设置\n\n\t// 如果是测试 在其他楼层获得楼道传送器 没去过 MT1或者MT101 \n\t// 则需要手动设置一下 core.status.hero.spaceTime == 0 或者 core.status.hero.spaceTime == 1 否则直接使用 则强制卡死\n\n}",
		"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();",
		"floorIdsSpaceTime0": null
	},
	"coin": {
		"cls": "constants",
		"name": "幸运金币",
		"text": "持有时打败怪物可得双倍金币",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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
	},
	"cross": {
		"cls": "constants",
		"name": "十字架",
		"text": "持有后无视怪物的无敌属性",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"knife": {
		"cls": "constants",
		"name": "屠龙匕首",
		"text": "对魔龙攻击加倍",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"amulet": {
		"cls": "constants",
		"name": "护符",
		"text": "持有时无视负面地形",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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})();",
		"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\n\tvar success = false;\n\tvar pickaxeFourDirections = true; // 是否多方向破；如果是将其改成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\ttrue\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",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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 (true) {\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 + '使用成功，你获得了 ' + money + ' 金币');\n\n\t// 取消这里的注释可以炸弹后获得金币和经验\n\tcore.status.hero.money += money;\n\t// core.status.hero.exp += exp;\n\n\t// 取消这里的注释可以炸弹引发战后事件\n\tif (todo.length > 0) core.insertAction(todo);\n})();",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": 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.setFlag('talking', 0);\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})();",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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 (floorId == 'MT49') return false;\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})();",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"downFly": {
		"cls": "tools",
		"name": "下楼器",
		"text": "可以飞往楼下的相同位置",
		"useItemEffect": "(function () {\n\t//core.floorIds = core.status.hero.floorIds3;\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 (floorId == \"MT50\") return false;\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\tconsole.log(core.getBlock(toX, toY, toId));\n\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})();",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"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('door.mp3');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n})();\n\n\nvar mozhiliNum = core.getFlag(\"MT56_mozhili\");",
		"canUseItemEffect": "(function () {\n\treturn core.status.thisMap.blocks.filter(function (block) {\n\t\treturn !block.disable && block.event.canBreak;\n\t}).length > 0;\n})();",
		"hideInToolbox": true,
		"hideInReplay": 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})();"
	},
	"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
	},
	"blue_juice": {
		"cls": "items",
		"name": "5区的蓝饮料",
		"canUseItemEffect": "true"
	},
	"red_juice": {
		"cls": "items",
		"name": null,
		"canUseItemEffect": "true"
	},
	"I353": {
		"cls": "items",
		"name": "远古的红宝石",
		"canUseItemEffect": "true",
		"itemEffectTip": "，提升 ${core.values.redGem * core.status.thisMap.ratio} 点攻击",
		"text": "攻击+${core.values.redGem}",
		"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
		"useItemEffect": "core.status.hero.atk += core.values.redGem"
	},
	"I354": {
		"cls": "items",
		"name": "远古的蓝宝石",
		"canUseItemEffect": "true",
		"itemEffectTip": "，提升 ${core.values.blueGem * core.status.thisMap.ratio} 点防御",
		"text": "，防御+${core.values.blueGem}",
		"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
		"useItemEffect": "core.status.hero.def += core.values.blueGem"
	},
	"I355": {
		"cls": "items",
		"name": "铁剑",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.atk += 10;",
		"itemEffectTip": "，提升 10 点攻击",
		"text": "一把很普通的铁剑",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 10
			}
		}
	},
	"I356": {
		"cls": "items",
		"name": "铁盾",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.def += 10;",
		"itemEffectTip": "，提升 10 点防御",
		"equip": {
			"type": 1,
			"value": {
				"def": 10
			}
		},
		"text": "一个很普通的铁盾"
	},
	"I357": {
		"cls": "items",
		"name": "远古的红血瓶 无法恢复时间法则的魔力",
		"canUseItemEffect": "true"
	},
	"I358": {
		"cls": "items",
		"name": "远古的蓝血瓶 无法恢复时间法则的魔力",
		"canUseItemEffect": "true"
	},
	"I359": {
		"cls": "items",
		"name": "银剑",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.atk += 20;",
		"itemEffectTip": "，提升 20 点攻击",
		"equip": {
			"type": 0,
			"animate": "sword",
			"value": {
				"atk": 20
			}
		},
		"text": "一把很普通的银剑"
	},
	"I360": {
		"cls": "items",
		"name": "银盾",
		"canUseItemEffect": "true",
		"itemEffectTip": "，提升 20 点防御",
		"itemEffect": "core.status.hero.def += 20;",
		"equip": {
			"type": 1,
			"value": {
				"def": 20
			}
		},
		"text": "一个很普通的银盾"
	},
	"fly_Old": {
		"cls": "constants",
		"name": "远古的楼层传送器",
		"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();",
		"text": "可以在当前时空 自由往来去过的楼层",
		"useItemEffect": "core.ui.drawFly(core.floorIdsOld.indexOf(core.status.floorId));",
		"hideInToolbox": false,
		"hideInReplay": false
	},
	"I371": {
		"cls": "items",
		"name": "方糖",
		"canUseItemEffect": "true",
		"itemEffectTip": "，初始攻防各提升 5%，生命提升2000 切换楼层刷新属性",
		"itemEffect": "core.status.hero.atkc *= 1.05;\ncore.status.hero.defc *= 1.05;\ncore.status.hero.hp += 2000;",
		"text": "块状魔力"
	},
	"I372": {
		"cls": "items",
		"name": "远古的方糖",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.atk *= 1.08;\ncore.status.hero.def *= 1.08;",
		"itemEffectTip": "，攻防各提升 8%",
		"text": "块状魔力"
	},
	"I399": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I409": {
		"cls": "items",
		"name": "远古的圣水",
		"canUseItemEffect": "true",
		"itemEffect": "",
		"itemEffectTip": "，无法增加时间法则的魔力",
		"useItemEffect": ""
	},
	"I411": {
		"cls": "items",
		"name": "时间裁决",
		"canUseItemEffect": "true",
		"text": "融合了过去与未来的力量"
	},
	"timeRule": {
		"cls": "items",
		"name": "时间法则",
		"canUseItemEffect": "true",
		"text": "时之精灵最高权限的异时空入侵"
	},
	"I443": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"tidalRule": {
		"cls": "items",
		"name": "潮汐祝福",
		"canUseItemEffect": "true",
		"text": "潮汐精灵佩戴的耳坠"
	},
	"kagayaRule": {
		"cls": "items",
		"name": "光明祝福",
		"canUseItemEffect": "true"
	},
	"windRule": {
		"cls": "items",
		"name": "疾风之翼",
		"canUseItemEffect": "true"
	},
	"hpRule": {
		"cls": "items",
		"name": "生命祝福",
		"canUseItemEffect": "true",
		"itemEffectTip": "，生命 +4000 ，获得护盾 +2000 当前护盾值: ${core.status.hero.mdef}",
		"itemEffect": "core.status.hero.hp += 4000;\ncore.status.hero.mdef += 2000;"
	},
	"manaNote": {
		"cls": "items",
		"name": "魔法笔记",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(flag:foundManaNoteFlag===0)",
				"true": [
					"\t[hero]这是？",
					"\t[潮汐精灵-月,jl_chaoxi]居然是魔王的魔法笔记 上面记录了魔王的魔法心得 给魔力等级较低的精灵使用 能提升他们的魔力等级 从而影响祝福能力",
					"拥有魔法笔记时 在23层与精灵对话 消耗魔法笔记改变对应精灵的祝福效果\n可在时之精灵处 或者精灵手册 查看当前拥有数量",
					"\t[疾风精灵,jl_jifeng]顺便一提 通过魔法笔记影响精灵祝福的效果 导致的攻防面板增加 都只在空中区域生效",
					"\t[疾风精灵,jl_jifeng]什么？为什么要做这样的事情？因为作者懒得50层每层再判定一遍"
				]
			},
			{
				"type": "setValue",
				"name": "flag:foundManaNoteFlag",
				"value": "1"
			}
		],
		"text": "能提高级别较低的精灵的魔力等级",
		"itemEffect": "core.status.hero.manaNoteNum += 1;"
	},
	"I373": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true",
		"useItemEvent": null
	},
	"I431": {
		"cls": "items",
		"name": "魔力充沛的红宝石",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.atkc += 10;",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(flag:linxiFlag===1)",
				"true": [
					{
						"type": "insert",
						"name": "潮汐祝福变更"
					}
				],
				"false": [
					{
						"type": "insert",
						"name": "潮汐祝福"
					}
				]
			}
		]
	},
	"I441": {
		"cls": "items",
		"name": "魔力充沛的蓝宝石",
		"canUseItemEffect": "true",
		"itemEffect": "core.status.hero.defc += 10;",
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(flag:linxiFlag===1)",
				"true": [
					{
						"type": "insert",
						"name": "潮汐祝福变更"
					}
				],
				"false": [
					{
						"type": "insert",
						"name": "潮汐祝福"
					}
				]
			}
		]
	},
	"wand2": {
		"cls": "constants",
		"name": "新物品",
		"canUseItemEffect": "true",
		"useItemEvent": [
			{
				"type": "setValue",
				"name": "flag:tidalTxt",
				"value": "'偶数层攻击提升60%防御降低40% 奇数层则反之'"
			},
			{
				"type": "setValue",
				"name": "flag:guangyuTxt",
				"value": "'攻击大于防御则防御增加13点 反之攻击增加'"
			},
			{
				"type": "setValue",
				"name": "flag:baiTxt",
				"value": "'每次战斗免费提供60点护盾'"
			},
			{
				"type": "setValue",
				"name": "flag:huaTxt",
				"value": "'使攻防最终+10'"
			},
			{
				"type": "setValue",
				"name": "flag:timeRuleTxt",
				"value": "'回溯一场战斗受到的20%的生命流失'"
			},
			{
				"type": "setValue",
				"name": "flag:linxiTxt",
				"value": "'过去的时空 额外提供了3个中心对称飞行'"
			},
			{
				"type": "setValue",
				"name": "flag:windTxt",
				"value": "'对怪物造成伤害前 无视怪物当前20%的防御 不对防御小于0的怪物生效'"
			},
			{
				"type": "setValue",
				"name": "flag:guangTxt",
				"value": "'对怪物造成伤害时 使本次伤害提升30%'"
			},
			"\t[疾风精灵,jl_jifeng]当前各精灵的祝福效果：\n\n潮汐精灵:\n${flag:tidalTxt}\n\n光羽精灵:\n${flag:guangyuTxt}\n",
			"\t[疾风精灵,jl_jifeng]当前各精灵的祝福效果：\n\n白精灵:\n${flag:baiTxt}\n\n花之精灵:\n${flag:huaTxt}",
			"\t[疾风精灵,jl_jifeng]当前各精灵的祝福效果：\n\n时之精灵:\n${flag:timeRuleTxt}\n\n林溪精灵:\n${flag:linxiTxt}",
			"\t[疾风精灵,jl_jifeng]当前各精灵的祝福效果：\n\n疾风精灵:\n${flag:windTxt}\n\n光明精灵:\n${flag:guangTxt}"
		],
		"hideInReplay": true,
		"hideInToolbox": true
	},
	"wand": {
		"cls": "constants",
		"name": "普通的记事本",
		"canUseItemEffect": "true",
		"hideInReplay": true,
		"hideInToolbox": true,
		"useItemEvent": [
			{
				"type": "if",
				"condition": "(flag:foundManaNoteFlag===1)",
				"true": [
					"\t[魔法笔记,manaNote]魔王的魔法心得 能大幅提升精灵魔力等级 从而影响祝福效果的道具\n当前魔法笔记数量${status:manaNoteNum} "
				]
			},
			{
				"type": "setValue",
				"name": "flag:tidalTxt",
				"value": "'偶数层攻击提升${core.status.hero.caoxiUp*100-100}%防御降低${100-core.status.hero.caoxiDown*100}% 奇数层则反之'"
			},
			"\t[潮汐祝福,tidalRule]${flag:tidalTxt}",
			{
				"type": "if",
				"condition": "(status:huajian>=13)",
				"true": [
					{
						"type": "if",
						"condition": "(status:guanyuMaxFlag===1)",
						"true": [
							{
								"type": "setValue",
								"name": "flag:guangyuTxt",
								"value": "'(Max) 攻击大于防御则防御增加13点 反之攻击增加；并额外获得 当前攻击力的30%的防御'"
							}
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:guangyuTxt",
								"value": "'攻击大于防御则防御增加13点 反之攻击增加'"
							}
						]
					},
					"\t[微风庇护,I458]${flag:guangyuTxt}"
				],
				"false": []
			},
			{
				"type": "if",
				"condition": "(status:baiFlag===1)",
				"true": [
					{
						"type": "if",
						"condition": "(status:baiLvNum===1)",
						"true": [
							{
								"type": "if",
								"condition": "(status:hudun===300)",
								"true": [
									{
										"type": "setValue",
										"name": "flag:baiTxt",
										"value": "'(Max) 免疫怪物手册预测的 所有不足${core.status.hero.hudun}点的伤害; 战斗回合中 受伤时 总是格挡${core.status.hero.hudun}点伤害'"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:baiTxt",
										"value": "'免疫怪物手册预测的 所有不足${core.status.hero.hudun}点的伤害'"
									}
								]
							}
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:baiTxt",
								"value": "'免疫怪物手册预测的 所有不足${core.status.hero.hudun}点的伤害'"
							}
						]
					},
					"\t[白精灵祝福,I463]${flag:baiTxt}"
				],
				"false": []
			},
			{
				"type": "if",
				"condition": "(status:linxi===10)",
				"true": [
					{
						"type": "if",
						"condition": "(status:huaLvNum===1)",
						"true": [
							{
								"type": "setValue",
								"name": "flag:huaTxt",
								"value": "'(Max) 使攻防最终+10；(最后结算) 并额外使攻防分别增加 当前攻防和的10%'"
							}
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:huaTxt",
								"value": "'使攻防最终+10'"
							}
						]
					},
					{
						"type": "if",
						"condition": "(status:hudieMaxFlag===1)",
						"true": [
							{
								"type": "setValue",
								"name": "flag:hudieTxt",
								"value": "'(Max) 失去全部金币 1金币转换为4生命 和1护盾'"
							}
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:hudieTxt",
								"value": "'失去全部金币 1金币转换为3生命'"
							}
						]
					},
					"\t[花之祝福,I471]${flag:huaTxt}",
					"\t[蝴蝶精灵,jl_hudie]${flag:hudieTxt}"
				],
				"false": []
			},
			{
				"type": "if",
				"condition": "(flag:linxiFlag===1)",
				"true": [
					{
						"type": "if",
						"condition": "(status:timeRuleFlag===1)",
						"true": [
							{
								"type": "setValue",
								"name": "flag:timeRuleTxt",
								"value": "'(Max) 生命回溯：回溯一场战斗 失去的20%生命 (护盾抵挡全部伤害则不生效)'"
							}
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:timeRuleTxt",
								"value": "'暂未获得'"
							}
						]
					},
					"\t[时间法则,timeRule]${flag:timeRuleTxt}",
					"\t[林溪祝福,linxiRule](无法变更)\n过去时空：\n使中心对称飞行额外+3\n\n当前时空：\n使潮汐祝福在空中区域的效果 强制提升攻击 下降防御\n转移了与魔王的决战场地"
				],
				"false": []
			},
			{
				"type": "if",
				"condition": "(status:pojiaFlag===1)",
				"true": [
					{
						"type": "if",
						"condition": "(status:pojiaValue<=0.70)",
						"true": [
							{
								"type": "setValue",
								"name": "flag:windTxt",
								"value": "'(Max) 对怪物造成伤害前 忽略怪物当前40%的防御 并使其减伤效果丢失 不对防御小于0的怪物生效'"
							},
							"\t[疾风之翼,windRule]${flag:windTxt}"
						],
						"false": [
							{
								"type": "setValue",
								"name": "flag:windTxt",
								"value": "'对怪物造成伤害前 忽略怪物当前20%的防御 不对防御小于0的怪物生效'"
							}
						]
					},
					"\t[疾风之翼,windRule]${flag:windTxt}"
				],
				"false": []
			},
			{
				"type": "if",
				"condition": "(status:yishangFlag===1)",
				"true": [
					{
						"type": "setValue",
						"name": "flag:guangTxt",
						"value": "'(Max) 对怪物造成伤害时 使本次伤害提升60%'"
					},
					"\t[光明祝福,I509]${flag:guangTxt}"
				],
				"false": []
			}
		]
	},
	"y123": {
		"cls": "items",
		"name": "光明祝福",
		"canUseItemEffect": "true",
		"hideInToolbox": true,
		"hideInReplay": true,
		"useItemEffect": null,
		"text": "光明精灵佩戴的耳坠",
		"useItemEvent": null
	},
	"linxiRule": {
		"cls": "items",
		"name": "林溪祝福",
		"canUseItemEffect": "true",
		"text": "林溪精灵佩戴的耳坠",
		"hideInToolbox": true,
		"hideInReplay": true
	},
	"I462": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I463": {
		"cls": "items",
		"name": "白精灵祝福",
		"canUseItemEffect": "true"
	},
	"I465": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I466": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I467": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I468": {
		"cls": "items",
		"name": "",
		"canUseItemEffect": "true"
	},
	"I469": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I470": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I471": {
		"cls": "items",
		"name": "花之精灵的信物",
		"canUseItemEffect": "true"
	},
	"I472": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I464": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I475": {
		"cls": "items",
		"name": "一小堆金块",
		"canUseItemEffect": "true",
		"itemEffectTip": "，金币 +1000",
		"itemEffect": "core.status.hero.money += 1000;",
		"text": null
	},
	"I476": {
		"cls": "items",
		"name": "一大堆金块",
		"canUseItemEffect": "true",
		"itemEffectTip": "，金币 +3000",
		"itemEffect": "core.status.hero.money += 3000;",
		"text": null
	},
	"I458": {
		"cls": "items",
		"name": "光羽庇护",
		"canUseItemEffect": "true"
	},
	"I507": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I508": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": "true"
	},
	"I509": {
		"cls": "items",
		"name": "光之精灵的信物",
		"canUseItemEffect": "true"
	}
}