var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"items": {
		"yellowKey": {
			"cls": "keys",
			"name": "黄钥匙"
		},
		"blueKey": {
			"cls": "keys",
			"name": "蓝钥匙"
		},
		"redKey": {
			"cls": "keys",
			"name": "红钥匙"
		},
		"redJewel": {
			"cls": "items",
			"name": "红宝石",
			"text": "'，攻击+10'"
		},
		"blueJewel": {
			"cls": "items",
			"name": "蓝宝石",
			"text": "'，防御+'+core.values.blueJewel"
		},
		"greenJewel": {
			"cls": "items",
			"name": "绿宝石",
			"text": "'，魔防+'+core.values.greenJewel"
		},
		"yellowJewel": {
			"cls": "items",
			"name": "黄宝石",
			"text": "可以进行加点"
		},
		"redPotion": {
			"cls": "items",
			"name": "红血瓶",
			"text": "'，生命+'+core.values.redPotion"
		},
		"bluePotion": {
			"cls": "items",
			"name": "蓝血瓶",
			"text": "'，生命+'+core.values.bluePotion"
		},
		"yellowPotion": {
			"cls": "items",
			"name": "黄血瓶",
			"text": "'生命+'+core.values.yellowPotion"
		},
		"greenPotion": {
			"cls": "items",
			"name": "绿血瓶",
			"text": "'，生命+'+core.values.greenPotion"
		},
		"sword0": {
			"cls": "items",
			"name": "破旧的剑",
			"text": "一把已经生锈的剑",
			"equip": {
				"type": 0,
				"atk": 0,
				"animate": "sword"
			}
		},
		"sword1": {
			"cls": "items",
			"name": "铁剑",
			"text": "一把很普通的铁剑",
			"equip": {
				"type": 0,
				"atk": 1,
				"animate": "sword",
				"subtype": 0
			}
		},
		"sword2": {
			"cls": "items",
			"name": "银剑",
			"text": "一把很普通的银剑",
			"equip": {
				"type": 0,
				"atk": 2,
				"animate": "sword"
			}
		},
		"sword3": {
			"cls": "items",
			"name": "骑士剑",
			"text": "一把很普通的骑士剑",
			"equip": {
				"type": 0,
				"atk": 3,
				"animate": "sword"
			}
		},
		"sword4": {
			"cls": "items",
			"name": "圣剑",
			"text": "一把很普通的圣剑",
			"equip": {
				"type": 0,
				"atk": 4,
				"animate": "sword"
			}
		},
		"sword5": {
			"cls": "items",
			"name": "神圣剑",
			"text": "一把很普通的神圣剑",
			"equip": {
				"type": 0,
				"atk": 5,
				"animate": "sword"
			}
		},
		"shield0": {
			"cls": "items",
			"name": "破旧的盾",
			"text": "一个很破旧的铁盾",
			"equip": {
				"type": 1,
				"def": 0
			}
		},
		"shield1": {
			"cls": "items",
			"name": "铁盾",
			"text": "一个很普通的铁盾",
			"equip": {
				"type": 1,
				"def": 1,
				"animate": "sword",
				"subtype": 1
			}
		},
		"shield2": {
			"cls": "items",
			"name": "银盾",
			"text": "一个很普通的银盾",
			"equip": {
				"type": 1,
				"def": 2
			}
		},
		"shield3": {
			"cls": "items",
			"name": "骑士盾",
			"text": "一个很普通的骑士盾",
			"equip": {
				"type": 1,
				"def": 3
			}
		},
		"shield4": {
			"cls": "items",
			"name": "圣盾",
			"text": "一个很普通的圣盾",
			"equip": {
				"type": 1,
				"def": 4
			}
		},
		"shield5": {
			"cls": "items",
			"name": "神圣盾",
			"text": "一个很普通的神圣盾",
			"equip": {
				"type": 1,
				"def": 5
			}
		},
		"superPotion": {
			"cls": "items",
			"name": "圣水"
		},
		"moneyPocket": {
			"cls": "items",
			"name": "金钱袋"
		},
		"book": {
			"cls": "constants",
			"name": "怪物手册",
			"text": "可以查看当前楼层各怪物属性"
		},
		"fly": {
			"cls": "constants",
			"name": "楼层传送器",
			"text": "可以自由往来去过的楼层",
			"hideInReplay": true
		},
		"coin": {
			"cls": "items",
			"name": "幸运金币",
			"text": "'，金币+10'"
		},
		"snow": {
			"cls": "constants",
			"name": "冰冻徽章",
			"text": "可以将面前的熔岩变成平地"
		},
		"cross": {
			"cls": "constants",
			"name": "十字架",
			"text": "持有后无视怪物的无敌属性"
		},
		"knife": {
			"cls": "constants",
			"name": "屠龙匕首",
			"text": "该道具尚未被定义"
		},
		"shoes": {
			"cls": "constants",
			"name": "绿鞋",
			"text": "持有时无视负面地形"
		},
		"bigKey": {
			"cls": "tools",
			"name": "大黄门钥匙",
			"text": "可以开启当前层所有黄门"
		},
		"greenKey": {
			"cls": "tools",
			"name": "绿钥匙",
			"text": "可以打开一扇绿门"
		},
		"steelKey": {
			"cls": "tools",
			"name": "铁门钥匙",
			"text": "可以打开一扇铁门"
		},
		"pickaxe": {
			"cls": "tools",
			"name": "破墙镐",
			"text": "可以破坏勇士面前的墙"
		},
		"icePickaxe": {
			"cls": "tools",
			"name": "破冰镐",
			"text": "可以破坏勇士面前的一堵冰墙"
		},
		"bomb": {
			"cls": "tools",
			"name": "炸弹",
			"text": "可以炸掉勇士面前的怪物"
		},
		"centerFly": {
			"cls": "tools",
			"name": "中心对称飞行器",
			"text": "可以飞向当前楼层中心对称的位置"
		},
		"upFly": {
			"cls": "tools",
			"name": "上楼器",
			"text": "可以飞往楼上的相同位置"
		},
		"downFly": {
			"cls": "tools",
			"name": "下楼器",
			"text": "可以飞往楼下的相同位置"
		},
		"earthquake": {
			"cls": "tools",
			"name": "地震卷轴",
			"text": "可以破坏当前层的所有墙"
		},
		"poisonWine": {
			"cls": "tools",
			"name": "解毒药水",
			"text": "可以解除中毒状态"
		},
		"weakWine": {
			"cls": "tools",
			"name": "沉默药水",
			"text": "可以沉默勇士四周的怪物，被沉默的怪物的原本特殊能力全部失效。"
		},
		"curseWine": {
			"cls": "tools",
			"name": "禁言药水",
			"text": "可以沉默勇士两格以内的所有怪物，被沉默的怪物的原本特殊能力全部失效。"
		},
		"superWine": {
			"cls": "tools",
			"name": "隐身药水",
			"text": "使主角获得隐身，穿过任意怪物而不触发战斗，且不受嘲讽和领域的影响，上楼后失效。"
		},
		"hammer": {
			"cls": "tools",
			"name": "圣锤",
			"text": "可以炸掉勇士面前的怪物"
		},
		"askill4": {
			"cls": "constants",
			"name": "技能：治疗术[200法力值]",
			"text": "回复350点生命，并破坏该层所有血网。"
		},
		"jumpShoes": {
			"cls": "tools",
			"name": "跳跃靴",
			"text": "能跳跃到前方两格处"
		},
		"askill1": {
			"cls": "constants",
			"name": "技能：火球术[50法力值]",
			"text": "目标怪物生命值减半，对每个怪物限用一次。",
			"hideInReplay": true
		},
		"I300": {
			"cls": "items",
			"name": "新物品"
		},
		"I301": {
			"cls": "items",
			"name": "新物品"
		},
		"I302": {
			"cls": "items",
			"name": "新物品"
		},
		"I303": {
			"cls": "items",
			"name": "魔瓶",
			"text": "'，法力值+50"
		},
		"askill2": {
			"cls": "constants",
			"name": "技能：寒冰术[100法力值]",
			"text": "目标怪物攻击力下降10点、防御力下降10点，对每个怪物限用一次。",
			"hideInReplay": true
		},
		"askill3": {
			"cls": "constants",
			"name": "技能：开门术[150法力值]",
			"text": "无视门的颜色，打开该层楼所有的门。",
			"hideInReplay": true
		},
		"askill5": {
			"cls": "constants",
			"name": "技能：沉默术[250法力值]",
			"text": "该楼层怪物特殊能力全部失效。",
			"hideInReplay": true
		},
		"I307": {
			"cls": "items",
			"name": "新物品"
		},
		"I308": {
			"cls": "items",
			"name": "新物品"
		},
		"I309": {
			"cls": "items",
			"name": "新物品"
		},
		"I310": {
			"cls": "items",
			"name": "新物品"
		},
		"backer": {
			"cls": "constants",
			"name": "回城器",
			"text": "终止游戏，并计算成绩。"
		},
		"nowFloor": {
			"cls": "keys",
			"name": ""
		},
		"encouragement": {
			"cls": "keys",
			"name": ""
		},
		"leakAtk": {
			"cls": "keys",
			"name": ""
		},
		"leakDef": {
			"cls": "keys",
			"name": ""
		},
		"leakMdef": {
			"cls": "keys",
			"name": ""
		},
		"stealth": {
			"cls": "keys",
			"name": ""
		},
		"priceBigKey": {
			"cls": "keys",
			"name": ""
		},
		"priceWeakWine": {
			"cls": "keys",
			"name": ""
		},
		"priceJumpShoes": {
			"cls": "keys",
			"name": ""
		},
		"priceBomb": {
			"cls": "keys",
			"name": ""
		},
		"pricePickaxe": {
			"cls": "keys",
			"name": ""
		},
		"priceCenterFly": {
			"cls": "keys",
			"name": ""
		},
		"priceEarthquake": {
			"cls": "keys",
			"name": ""
		},
		"priceSuperWine": {
			"cls": "keys",
			"name": ""
		},
		"priceYellowKey": {
			"cls": "keys",
			"name": ""
		},
		"priceBlueKey": {
			"cls": "keys",
			"name": ""
		},
		"priceRedKey": {
			"cls": "keys",
			"name": ""
		},
		"priceAtk": {
			"cls": "keys",
			"name": ""
		},
		"priceDef": {
			"cls": "keys",
			"name": ""
		},
		"priceMdef": {
			"cls": "keys",
			"name": ""
		},
		"sellYellowKey": {
			"cls": "keys",
			"name": ""
		},
		"sellBlueKey": {
			"cls": "keys",
			"name": ""
		},
		"sellRedKey": {
			"cls": "keys",
			"name": ""
		},
		"sellEquipment": {
			"cls": "keys",
			"name": ""
		},
		"priceCurseWine": {
			"cls": "keys",
			"name": ""
		}
	},
	"itemEffect": {
		"redJewel": "core.status.hero.atk += core.values.redJewel * ratio",
		"blueJewel": "core.status.hero.def += core.values.blueJewel * ratio",
		"greenJewel": "core.status.hero.mdef += core.values.greenJewel * ratio",
		"yellowJewel": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;",
		"redPotion": "core.status.hero.hp += core.values.redPotion * ratio",
		"bluePotion": "core.status.hero.hp += core.values.bluePotion * ratio",
		"yellowPotion": "core.status.hero.hp += core.values.yellowPotion * ratio",
		"greenPotion": "core.status.hero.hp += core.values.greenPotion * ratio",
		"sword0": "core.status.hero.atk += 0",
		"sword1": "core.status.hero.atk += 1",
		"sword2": "core.status.hero.atk += 20",
		"sword3": "core.status.hero.atk += 40",
		"sword4": "core.status.hero.atk += 80",
		"sword5": "core.status.hero.atk += 100",
		"shield0": "core.status.hero.def += 0",
		"shield1": "core.status.hero.def += 1",
		"shield2": "core.status.hero.def += 20",
		"shield3": "core.status.hero.def += 40",
		"shield4": "core.status.hero.def += 80",
		"shield5": "core.status.hero.def += 100;core.status.hero.mdef += 100",
		"bigKey": "core.status.hero.items.keys.yellowKey++;core.status.hero.items.keys.blueKey++;core.status.hero.items.keys.redKey++;",
		"superPotion": "core.status.hero.hp *= 2",
		"moneyPocket": "core.status.hero.money += 500",
		"I303": "core.status.hero.mana += 50;",
		"coin": "core.status.hero.money += 10"
	},
	"itemEffectTip": {
		"redJewel": "'，攻击+'+core.values.redJewel * ratio",
		"blueJewel": "'，防御+'+core.values.blueJewel * ratio",
		"greenJewel": "'，魔防+'+core.values.greenJewel * ratio",
		"yellowJewel": "'，全属性提升'",
		"redPotion": "'，生命+'+core.values.redPotion * ratio",
		"bluePotion": "'，生命+'+core.values.bluePotion * ratio",
		"yellowPotion": "'，生命+'+core.values.yellowPotion * ratio",
		"greenPotion": "'，生命+'+core.values.greenPotion * ratio",
		"sword0": "'，攻击+0'",
		"sword1": "'，攻击+1'",
		"sword2": "'，攻击+20'",
		"sword3": "'，攻击+40'",
		"sword4": "'，攻击+80'",
		"sword5": "'，攻击+100'",
		"shield0": "'，防御+0'",
		"shield1": "'，防御+1'",
		"shield2": "'，防御+20'",
		"shield3": "'，防御+40'",
		"shield4": "'，防御+80'",
		"shield5": "'，防御+100，魔防+100'",
		"bigKey": "'，全钥匙+1'",
		"superPotion": "'，生命值翻倍'",
		"moneyPocket": "'，金币+500'",
		"I303": "'，法力值+50'",
		"coin": "'，金币+10'"
	},
	"useItemEffect": {
		"book": "core.ui.drawBook(0);",
		"fly": "core.ui.drawFly(core.status.hero.flyRange.indexOf(core.status.floorId));",
		"earthquake": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"pickaxe": "core.playSound('pickaxe.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"icePickaxe": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"snow": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bigKey": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bomb": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n\tcore.plugin.refreshDebuffFlag();\n});",
		"hammer": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n});",
		"centerFly": "core.playSound('centerFly.mp3');\ncore.clearMap('hero');\ncore.setHeroLoc('x', (core.bigmap.width||13)-1-core.getHeroLoc('x'));\ncore.setHeroLoc('y', (core.bigmap.height||13)-1-core.getHeroLoc('y'));\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
		"upFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.data.x, 'y': core.status.event.data.y};\ncore.changeFloor(core.status.event.data.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.replay();\n});",
		"downFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.data.x, 'y': core.status.event.data.y};\ncore.changeFloor(core.status.event.data.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.replay();\n});",
		"poisonWine": "core.removeFlag('poison');",
		"weakWine": "core.playSound('mute.mp3');\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=1) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (enemy._debuff3 > 0) continue;\n\t\tvar newEnemy = core.clone(enemy);\n\t\tnewEnemy._debuff3 = 1;\n\t\tcore.plugin.enemyReprint(newEnemy, block.x, block.y);\n\t}\n}\ncore.drawTip(core.material.items[itemId].name + '使用成功');\ncore.plugin.refreshDebuffFlag();",
		"curseWine": "core.playSound('mute.mp3');\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=2) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (enemy._debuff3 > 0) continue;\n\t\tvar newEnemy = core.clone(enemy);\n\t\tnewEnemy._debuff3 = 1;\n\t\tcore.plugin.enemyReprint(newEnemy, block.x, block.y);\n\t}\n}\ncore.drawTip(core.material.items[itemId].name + '使用成功');\ncore.plugin.refreshDebuffFlag();",
		"superWine": "core.playSound('stealth.mp3');\ncore.plugin.stealthOn();\ncore.drawTip(\"使用成功！\");",
		"lifeWand": "core.insertAction([\n\t{\"type\": \"input\", \"text\": \"请输入生命魔杖使用次数：(0-${item:lifeWand})\"},\n\t{\"type\": \"if\", \"condition\": \"flag:input<=item:lifeWand\",\n\t\t\"true\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"item:lifeWand\", \"value\": \"item:lifeWand-flag:input\"},\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+flag:input*100\"},\n\t\t\t\"成功使用${flag:input}次生命魔杖，恢复${flag:input*100}点生命。\"\n\t\t],\n\t\t\"false\": [\"输入不合法！\"]\n\t},\n]);\ncore.addItem('lifeWand', 1);",
		"jumpShoes": "core.insertAction({\"type\":\"jumpHero\",\"loc\":[core.nextX(2),core.nextY(2)]});",
		"redPotion": "core.status.hero.hp += core.values.redPotion",
		"bluePotion": "core.status.hero.hp += core.values.bluePotion",
		"greenPotion": "core.status.hero.hp += core.values.greenPotion",
		"yellowPotion": "core.status.hero.hp += core.values.yellowPotion",
		"redJewel": "core.status.hero.atk += core.values.redJewel",
		"blueJewel": "core.status.hero.def += core.values.blueJewel",
		"greenJewel": "core.status.hero.mdef += core.values.greenJewel",
		"yellowJewel": "core.insertAction([\n\t{\"type\": \"choices\", \"choices\": [\n\t\t{\"text\": \"攻击+1\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:atk\", \"value\": \"status:atk+1\"}\n\t\t]},\n\t\t{\"text\": \"防御+2\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:def\", \"value\": \"status:def+2\"}\n\t\t]},\n\t\t{\"text\": \"生命+200\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+200\"}\n\t\t]},\n\t]}\n]);",
		"askill1": "core.playSound('fire.mp3');\nvar enemy = core.plugin.getFrontEnemy();\nif(enemy)\n{\n\tcore.status.hero.mana -= 50;\n\tvar newEnemy = core.clone(enemy);\n\tnewEnemy._debuff1 = 1;\n\tcore.plugin.enemyReprint(newEnemy);\n\tcore.drawTip(\"使用成功！\");\n\tcore.plugin.refreshDebuffFlag();\n}",
		"backer": "core.insertAction(\n\t[\n\t  {\"type\": \"choices\", \"text\": \"\\t[回城器,backer]确认使用回城器？\", \"choices\": [\n\t\t{\"text\": \"是\", \"action\": [\n\t\t  {\"type\": \"win\", \"reason\": \"使用回城器\"},\n\t\t]},\n\t\t{\"text\": \"否\", \"action\": [\n\n\t\t]},\n\t  ]},\n\t]\n);\n//core.events.eventdata.win();",
		"askill2": "core.playSound('ice.mp3');\nvar enemy = core.plugin.getFrontEnemy();\nif(enemy)\n{\n\tcore.status.hero.mana -= 100;\n\tvar newEnemy = core.clone(enemy);\n\tnewEnemy._debuff2 = 1;\n\tcore.plugin.enemyReprint(newEnemy);\n\tcore.drawTip(\"使用成功！\");\n\tcore.plugin.refreshDebuffFlag();\n}",
		"askill5": "core.playSound('mute.mp3');\ncore.status.hero.mana -= 250;\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0){\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (!core.isset(enemy)) continue;\n\t\t\n\t\tvar newEnemy = core.clone(enemy);\n\t\tnewEnemy._debuff3 = 1;\n\t\tcore.plugin.enemyReprint(newEnemy, block.x, block.y);\n\t}\n}\ncore.drawTip(\"使用成功！\");\ncore.plugin.refreshDebuffFlag();",
		"askill4": "core.playSound('heal.mp3');\ncore.status.hero.mana -= 200;\ncore.status.hero.hp += 350;\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.id.indexOf('lavaNet')==0){\n\t\tcore.removeBlock(block.x, block.y);\n\t}\n}\ncore.drawTip(\"使用成功！\");",
		"askill3": "core.playSound('door.mp3');\ncore.status.hero.mana -= 150;\ncore.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip('使用成功');\n});\n",
		"I303": "core.status.hero.mana += 50;",
		"coin": "core.status.hero.money += 10"
	},
	"canUseItemEffect": {
		"book": "true",
		"fly": "core.status.hero.flyRange.indexOf(core.status.floorId)>=0",
		"pickaxe": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && Math.abs(block.x-core.status.hero.loc.x)+Math.abs(block.y-core.status.hero.loc.y)<=1 && \n\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id=='whiteWall' || block.event.id=='blueWall')) { // 能破哪些墙\n\t\t// 四个方向\n\t\tif (core.flags.pickaxeFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\tids.push(i);\n\t\telse id2s.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nelse if (id2s.length==1) {\n\tcore.status.event.data = id2s;\n\table=true;\n}\nable",
		"icePickaxe": "var able=false;\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.x==core.nextX() && block.y==core.nextY() && block.event.id=='ice') {\n\t\tcore.status.event.data = [i];\n\t\table=true;\n\t}\n}\nable",
		"bomb": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=1) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (core.flags.bombFourDirections || (block.x==core.nextX() && block.y==core.nextY()))\n\t\t\tids.push(i);\n\t\telse\n\t\t\tid2s.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nelse if (id2s.length==1) {\n\tcore.status.event.data = id2s;\n\table=true;\n}\nable",
		"hammer": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=1) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (block.x==core.nextX() && block.y==core.nextY())\n\t\t\tids.push(i);\n\t\telse\n\t\t\tid2s.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nelse if (id2s.length==1) {\n\tcore.status.event.data = id2s;\n\table=true;\n}\nable",
		"earthquake": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable &&\n\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id == 'blueWall' || block.event.id == 'whiteWall')) { // 能炸的墙壁\n\t\tids.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nable",
		"centerFly": "var toX = (core.bigmap.width||13)-1-core.getHeroLoc('x'), toY = (core.bigmap.height||13)-1-core.getHeroLoc('y');\ncore.getBlockId(toX, toY) == null",
		"upFly": "var able=false;\nvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\nif (index<core.floorIds.length-1) {\n\tvar toId = core.floorIds[index+1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\tvar mw = core.floors[toId].width||13, mh = core.floors[toId].height||13;\n\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\tcore.status.event.data = {'id': toId, 'x': toX, 'y': toY};\n\t\table=true;\n\t}\n}\nable",
		"downFly": "var able=false;\nvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\nif (index>0) {\n\tvar toId = core.floorIds[index-1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\tvar mw = core.floors[toId].width||13, mh = core.floors[toId].height||13;\n\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\tcore.status.event.data = {'id': toId, 'x': toX, 'y': toY};\n\t\table=true;\n\t}\n}\nable",
		"snow": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.id == 'lava' && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=1) {\n\t\tif (core.flags.snowFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\tids.push(i);\n\t\telse id2s.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nelse if (id2s.length==1) {\n\tcore.status.event.data = id2s;\n\table=true;\n}\nable",
		"bigKey": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.id == 'yellowDoor') {\n\t\tids.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nable",
		"poisonWine": "core.hasFlag('poison')",
		"weakWine": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=1) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (enemy._debuff3 > 0) continue;\n\t\tids.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nable;",
		"curseWine": "var able=false;\nvar ids = [], id2s = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.getHeroLoc('x'))+Math.abs(block.y-core.getHeroLoc('y'))<=2) {\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\tif (enemy._debuff3 > 0) continue;\n\t\tids.push(i);\n\t}\n}\nif (ids.length>0) {\n\tcore.status.event.data = ids;\n\table=true;\n}\nable;",
		"superWine": "core.status.hero.items.keys.stealth == 0 && core.status.thisMap.name != \"0\" && core.status.thisMap.name != \"20\";",
		"lifeWand": "true",
		"jumpShoes": "var nx=core.nextX(2),ny=core.nextY(2);nx>=0&&nx<core.bigmap.width&&ny>=0&&ny<core.bigmap.height&&core.getBlock(nx,ny)==null",
		"redPotion": "true",
		"bluePotion": "true",
		"greenPotion": "true",
		"yellowPotion": "true",
		"redJewel": "true",
		"blueJewel": "true",
		"greenJewel": "true",
		"yellowJewel": "true",
		"askill1": "var result = true;\nif(core.status.hero.mana < 50)\n{\n\tsetTimeout('core.drawTip(\"法力值不够！\")', 500);\n\tresult = false;\n}\nelse\n{\n\tvar enemy = core.plugin.getFrontEnemy();\n\tif(enemy)\n\t{\n\t\tif(enemy._debuff1 > 0)\n\t\t{\n\t\t\tsetTimeout('core.drawTip(\"已经对该怪物使用过火球术！\")', 500);\n\t\t\tresult = false;\n\t\t}\n\t}\n\telse\n\t{\n\t\tsetTimeout('core.drawTip(\"面前不是怪物！\")', 500);\n\t\tresult = false;\n\t}\n}\nresult;",
		"backer": "core.status.thisMap.name != \"0\";",
		"askill2": "var result = true;\nif(core.status.hero.mana < 100)\n{\n\tsetTimeout('core.drawTip(\"法力值不够！\")', 500);\n\tresult = false;\n}\nelse\n{\n\tvar enemy = core.plugin.getFrontEnemy();\n\tif(enemy)\n\t{\n\t\tif(enemy._debuff2 > 0)\n\t\t{\n\t\t\tsetTimeout('core.drawTip(\"已经对该怪物使用过寒冰术！\")', 500);\n\t\t\tresult = false;\n\t\t}\n\t}\n\telse\n\t{\n\t\tsetTimeout('core.drawTip(\"面前不是怪物！\")', 500);\n\t\tresult = false;\n\t}\n}\nresult;",
		"askill5": "var result = true;\nif(core.status.hero.mana < 250)\n{\n\tsetTimeout('core.drawTip(\"法力值不够！\")', 500);\n\tresult = false;\n}\nelse\n{\n\tvar hasEnemy = false;\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (core.isset(block.event) && !block.disable && block.event.cls.indexOf('enemy')==0){\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tif (!core.isset(enemy)) continue;\n\t\t\tif(enemy._debuff3 == 0)\n\t\t\t{\n\t\t\t\thasEnemy = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tif(!hasEnemy)\n\t{\n\t\tsetTimeout('core.drawTip(\"本楼层没有怪物，或者都已被沉默！\")', 500);\n\t\tresult = false;\n\t}\n}\nresult;",
		"askill4": "var result = true;\nif(core.status.hero.mana < 200)\n{\n\tsetTimeout('core.drawTip(\"法力值不够！\")', 500);\n\tresult = false;\n}\nresult;",
		"askill3": "var result = true;\nif(core.status.hero.mana < 150)\n{\n\tsetTimeout('core.drawTip(\"法力值不够！\")', 500);\n\tresult = false;\n}\nelse\n{\n\tvar ids = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (core.isset(block.event) && !block.disable && (block.event.id == 'yellowDoor' || block.event.id == 'blueDoor' || block.event.id == 'redDoor')) {\n\t\t\tids.push(i);\n\t\t}\n\t}\n\tif (ids.length > 0) {\n\t\tcore.status.event.data = ids;\n\t}\n\telse\n\t{\n\t\tsetTimeout('core.drawTip(\"没有需要开启的门！\")', 500);\n\t\tresult = false;\n\t}\n}\nresult;"
	},
	"canEquip": {}
}