var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"items": {
		"yellowKey": {
			"cls": "keys",
			"name": "黄钥匙",
			"text": "可以打开一扇黄门"
		},
		"blueKey": {
			"cls": "keys",
			"name": "蓝钥匙",
			"text": "可以打开一扇蓝门"
		},
		"redKey": {
			"cls": "keys",
			"name": "红钥匙",
			"text": "可以打开一扇红门"
		},
		"redJewel": {
			"cls": "items",
			"name": "红宝石",
			"text": "'，攻击+${core.values.redJewel}'"
		},
		"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": 80,
				"animate": "sword"
			}
		},
		"sword2": {
			"cls": "items",
			"name": "银水剑",
			"text": "一把很普通的银水剑",
			"equip": {
				"type": 0,
				"atk": 150,
				"animate": "sword"
			}
		},
		"sword3": {
			"cls": "items",
			"name": "骑士剑",
			"text": "一把很普通的骑士剑",
			"equip": {
				"type": 0,
				"atk": 40,
				"animate": "sword"
			}
		},
		"sword4": {
			"cls": "items",
			"name": "圣剑",
			"text": "一把很普通的圣剑",
			"equip": {
				"type": 0,
				"atk": 80,
				"animate": "sword"
			}
		},
		"sword5": {
			"cls": "constants",
			"name": "神圣剑",
			"text": "恢复的神圣剑",
			"equip": {
				"type": 0,
				"atk": 100,
				"animate": "sword"
			}
		},
		"shield0": {
			"cls": "items",
			"name": "破旧的盾",
			"text": "一个很破旧的铁盾",
			"equip": {
				"type": 1,
				"def": 0
			}
		},
		"shield1": {
			"cls": "items",
			"name": "铁盾",
			"text": "一个很普通的铁盾",
			"equip": {
				"type": 1,
				"def": 6
			}
		},
		"shield2": {
			"cls": "items",
			"name": "银水盾",
			"text": "一个很普通的银水盾",
			"equip": {
				"type": 1,
				"def": 150
			}
		},
		"shield3": {
			"cls": "items",
			"name": "骑士盾",
			"text": "一个很普通的骑士盾",
			"equip": {
				"type": 1,
				"def": 40
			}
		},
		"shield4": {
			"cls": "items",
			"name": "圣盾",
			"text": "一个很普通的圣盾",
			"equip": {
				"type": 1,
				"def": 80
			}
		},
		"shield5": {
			"cls": "items",
			"name": "神圣盾",
			"text": "一个很普通的神圣盾",
			"equip": {
				"type": 1,
				"def": 100,
				"mdef": 100
			}
		},
		"superPotion": {
			"cls": "tools",
			"name": "圣水",
			"text": "生命翻倍！"
		},
		"moneyPocket": {
			"cls": "items",
			"name": "金钱袋"
		},
		"book": {
			"cls": "constants",
			"name": "怪物手册",
			"text": "可以查看当前楼层各怪物属性"
		},
		"fly": {
			"cls": "constants",
			"name": "楼层传送器",
			"text": "可以自由往来去过的楼层",
			"hideInReplay": true
		},
		"coin": {
			"cls": "constants",
			"name": "幸运金币",
			"text": "持有时打败怪物可得双倍金币"
		},
		"snow": {
			"cls": "constants",
			"name": "冰冻徽章",
			"text": "可以将面前的熔岩变成平地"
		},
		"cross": {
			"cls": "constants",
			"name": "圣十字架",
			"text": "一个十字架，据说可以加强仙子的魔力"
		},
		"knife": {
			"cls": "constants",
			"name": "圣银之剑",
			"text": "持有该道具与吸血系怪物战斗时攻击力翻倍",
			"equip": null
		},
		"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": "可以炸掉勇士面前的怪物"
		},
		"lifeWand": {
			"cls": "tools",
			"name": "可移动生命快乐水",
			"text": "可以恢复1000点生命值"
		},
		"jumpShoes": {
			"cls": "tools",
			"name": "跳跃靴",
			"text": "能跳跃到前方两格处"
		},
		"skill1": {
			"cls": "constants",
			"name": "技能：二倍斩",
			"text": "可以打开或关闭主动技能二倍斩",
			"hideInReplay": true
		},
		"wand": {
			"cls": "items",
			"name": "新物品"
		},
		"I774": {
			"cls": "items",
			"name": "新物品"
		},
		"I775": {
			"cls": "items",
			"name": "新物品"
		},
		"I776": {
			"cls": "items",
			"name": "赤红血瓶",
			"text": "'，生命+6000'"
		},
		"I777": {
			"cls": "items",
			"name": "新物品"
		},
		"I778": {
			"cls": "items",
			"name": "新物品"
		},
		"I779": {
			"cls": "constants",
			"name": "勇者之证",
			"text": "勇者之证：\n我是一名勇者！"
		},
		"I780": {
			"cls": "items",
			"name": "跃进之翼"
		},
		"I781": {
			"cls": "equips",
			"name": "勇气之章",
			"equip": {
				"type": 0
			},
			"text": "勇气之章：战斗时，造成的伤害提升50%"
		},
		"I782": {
			"cls": "equips",
			"name": "智慧之章",
			"text": "智慧之章：战斗时，防御力亦可用来同步攻击，造成的伤害为攻击力的一半",
			"equip": {
				"type": 0
			}
		},
		"I783": {
			"cls": "equips",
			"name": "生息之章",
			"text": "生息之章：战斗时，附带20%的吸血效果，用于恢复自身",
			"equip": {
				"type": 0
			}
		},
		"I784": {
			"cls": "equips",
			"name": "复仇之章",
			"text": "复仇之章：战斗时，有20%几率将普通攻击转化为魔攻",
			"equip": {
				"type": 0
			}
		},
		"I785": {
			"cls": "items",
			"name": "圆红宝石"
		},
		"I786": {
			"cls": "items",
			"name": "圆蓝宝石"
		},
		"I787": {
			"cls": "items",
			"name": "新物品"
		},
		"I788": {
			"cls": "items",
			"name": "新物品"
		},
		"I789": {
			"cls": "items",
			"name": "圣红血瓶"
		},
		"I790": {
			"cls": "items",
			"name": "圣蓝血瓶"
		},
		"I791": {
			"cls": "items",
			"name": "新物品"
		},
		"I792": {
			"cls": "items",
			"name": "新物品"
		},
		"I793": {
			"cls": "items",
			"name": "圣红宝石"
		},
		"I794": {
			"cls": "items",
			"name": "圣蓝宝石"
		},
		"I795": {
			"cls": "items",
			"name": "新物品"
		},
		"I796": {
			"cls": "items",
			"name": "新物品"
		},
		"I797": {
			"cls": "items",
			"name": "新物品"
		},
		"I798": {
			"cls": "items",
			"name": "新物品"
		},
		"I799": {
			"cls": "items",
			"name": "新物品"
		},
		"I800": {
			"cls": "items",
			"name": "新物品"
		},
		"I801": {
			"cls": "items",
			"name": "新物品"
		},
		"I802": {
			"cls": "items",
			"name": "新物品"
		},
		"I803": {
			"cls": "items",
			"name": "新物品"
		},
		"I804": {
			"cls": "items",
			"name": "新物品"
		},
		"I805": {
			"cls": "items",
			"name": "圆红宝石"
		},
		"I806": {
			"cls": "items",
			"name": "圆蓝宝石"
		},
		"I807": {
			"cls": "items",
			"name": "新物品"
		},
		"I808": {
			"cls": "items",
			"name": "新物品"
		},
		"I809": {
			"cls": "items",
			"name": "大红宝石"
		},
		"I810": {
			"cls": "items",
			"name": "大蓝宝石"
		},
		"I811": {
			"cls": "items",
			"name": "新物品"
		},
		"I812": {
			"cls": "items",
			"name": "新物品"
		},
		"I813": {
			"cls": "items",
			"name": "金钱币"
		},
		"I814": {
			"cls": "items",
			"name": "新物品"
		},
		"I815": {
			"cls": "items",
			"name": "黑钱币"
		},
		"I816": {
			"cls": "items",
			"name": "新物品"
		},
		"I817": {
			"cls": "equips",
			"name": "暴击手套",
			"equip": {
				"type": 1
			},
			"text": "暴击手套：提升9%的伤害"
		},
		"I818": {
			"cls": "items",
			"name": "蓝魔法卡片"
		},
		"I819": {
			"cls": "items",
			"name": "红盾"
		},
		"I820": {
			"cls": "equips",
			"name": "暴击手套",
			"text": "暴击手套：提升10%的伤害",
			"equip": {
				"type": 1
			}
		},
		"I821": {
			"cls": "equips",
			"name": "闪避之靴",
			"text": "闪避之靴：免疫9%受到的伤害",
			"equip": {
				"type": 2
			}
		},
		"I822": {
			"cls": "equips",
			"name": "闪避之靴ex",
			"text": "闪避之靴ex：免疫10%受到的伤害",
			"equip": {
				"type": 2
			}
		},
		"I823": {
			"cls": "items",
			"name": "巨剑"
		},
		"I824": {
			"cls": "items",
			"name": "蓝盾"
		},
		"I825": {
			"cls": "items",
			"name": "石剑"
		},
		"I826": {
			"cls": "items",
			"name": "十字盾"
		},
		"I827": {
			"cls": "items",
			"name": "森林盾"
		},
		"I828": {
			"cls": "items",
			"name": "森林剑"
		},
		"I829": {
			"cls": "items",
			"name": "虹光剑"
		},
		"I830": {
			"cls": "items",
			"name": "红魔法卡片"
		},
		"I831": {
			"cls": "items",
			"name": "新物品"
		},
		"I855": {
			"cls": "items",
			"name": "地下小血瓶",
			"text": "'，生命+2000'"
		},
		"I856": {
			"cls": "items",
			"name": "地下中血瓶",
			"text": "'，生命+5000'"
		},
		"I857": {
			"cls": "items",
			"name": "地底大血瓶"
		},
		"I858": {
			"cls": "items",
			"name": "地下红宝石"
		},
		"I859": {
			"cls": "items",
			"name": "地下蓝宝石"
		},
		"I860": {
			"cls": "items",
			"name": "地下月红宝石"
		},
		"I861": {
			"cls": "items",
			"name": "地下月蓝宝石"
		},
		"I862": {
			"cls": "items",
			"name": "地下大红宝石"
		},
		"I863": {
			"cls": "items",
			"name": "地下大蓝宝石"
		},
		"I864": {
			"cls": "items",
			"name": "新物品"
		},
		"I865": {
			"cls": "constants",
			"name": "黄色石头",
			"text": "黄金色的石头，和十字架的颜色相近"
		},
		"I866": {
			"cls": "keys",
			"name": "地下黄钥匙",
			"text": "可以打开一扇黄门"
		},
		"I867": {
			"cls": "keys",
			"name": "地下蓝钥匙",
			"text": "可以打开一扇蓝门"
		},
		"I868": {
			"cls": "keys",
			"name": "地下红钥匙",
			"text": "可以打开一扇红门"
		},
		"I882": {
			"cls": "constants",
			"name": "假十字架",
			"text": "让小偷伪造的十字架"
		},
		"I883": {
			"cls": "items",
			"name": "闪电剑"
		},
		"I884": {
			"cls": "items",
			"name": "寒冰盾"
		},
		"I885": {
			"cls": "equips",
			"name": "勇气之章Max",
			"equip": {
				"type": 0
			},
			"text": "勇气之章Max：战斗固定二连击，战前破怪物15%的防御"
		},
		"I886": {
			"cls": "equips",
			"name": "智慧之章Max",
			"equip": {
				"type": 0
			},
			"text": "智慧之章Max：每回合反弹33%伤害，使怪物攻击自己，但该伤害为原伤害的33%【例如怪物攻130，防30，那么反弹的伤害就为（130-30）*0.33=33】【魔攻效果也可以反弹，破甲的反弹效果改为开局减少怪物防御，战斗前怪物防御变为（1-怪物破甲比例）】"
		},
		"I887": {
			"cls": "equips",
			"name": "生息之章Max（OFF）",
			"equip": {
				"type": 0
			},
			"text": "生息之章Max（关状态）：每回合附带30%吸血"
		},
		"I888": {
			"cls": "equips",
			"name": "生息之章Max（ON）",
			"equip": {
				"type": 0
			},
			"text": "生息之章Max（开状态）：开局献祭自己20%生命值并乘以1倍附加到攻击力上面"
		},
		"I889": {
			"cls": "equips",
			"name": "复仇之章Max",
			"equip": {
				"type": 0
			},
			"text": "复仇之章Max：每回合附带20%攻击力大小的魔攻，免疫75%的魔法攻击"
		},
		"I890": {
			"cls": "items",
			"name": "绿宝石",
			"text": "加2%闪避几率"
		},
		"I891": {
			"cls": "items",
			"name": "黄宝石",
			"text": "加2%暴击几率"
		},
		"I901": {
			"cls": "constants",
			"name": "铁剑攻击特效",
			"text": "铁剑攻击特效"
		},
		"I902": {
			"cls": "constants",
			"name": "石剑攻击特效",
			"text": "石剑攻击特效"
		},
		"I903": {
			"cls": "constants",
			"name": "巨剑攻击特效",
			"text": "巨剑攻击特效"
		},
		"I904": {
			"cls": "constants",
			"name": "森林剑攻击特效",
			"text": "森林剑攻击特效"
		},
		"I905": {
			"cls": "constants",
			"name": "虹光剑攻击特效",
			"text": "虹光剑攻击特效"
		},
		"I906": {
			"cls": "constants",
			"name": "闪电剑攻击特效",
			"text": "闪电剑攻击特效"
		}
	},
	"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 += 300;\ncore.status.hero.atk += 5;\ncore.status.hero.def += 5;\ncore.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 += 8",
		"sword2": "core.status.hero.atk += 150",
		"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 += 6",
		"shield2": "core.status.hero.def += 150",
		"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",
		"I815": "core.status.hero.money += 100",
		"I813": "core.status.hero.money += 200",
		"I825": "core.status.hero.atk += 12",
		"I819": "core.status.hero.def += 10",
		"I824": "core.status.hero.def += 16",
		"I823": "core.status.hero.atk += 20",
		"I785": "core.status.hero.atk += 5",
		"I786": "core.status.hero.def += 5",
		"I818": "core.status.hero.atk += 8;\ncore.status.hero.def += 8;",
		"I780": "core.status.hero.hp += 600;\ncore.status.hero.atk += 7;\ncore.status.hero.def += 7;",
		"I828": "core.status.hero.atk += 32",
		"I826": "core.status.hero.def += 26",
		"I827": "core.status.hero.def += 36",
		"I829": "core.status.hero.atk += 48",
		"I776": "core.status.hero.hp += 6000",
		"I855": "core.status.hero.hp += 2000",
		"I856": "core.status.hero.hp += 5000",
		"I859": "core.status.hero.def += 8",
		"I858": "core.status.hero.atk += 8",
		"I883": "core.status.hero.atk += 68",
		"I809": "core.status.hero.atk += 15",
		"I810": "core.status.hero.def += 15",
		"I884": "core.status.hero.def += 56",
		"I830": "core.status.hero.atk += 20;\ncore.status.hero.def += 20;",
		"I857": "core.status.hero.hp += 15000",
		"I861": "core.status.hero.def += 20",
		"I860": "core.status.hero.atk += 20",
		"I862": "core.status.hero.atk += 50",
		"I863": "core.status.hero.def += 50",
		"I789": "core.status.hero.hp += 20000",
		"I794": "core.status.hero.def += 1000",
		"I793": "core.status.hero.atk += 1000",
		"I790": "core.status.hero.hp += 80000",
		"I791": "core.status.hero.hp += 500000"
	},
	"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": "'，攻击+8'",
		"sword2": "'，攻击+150'",
		"sword3": "'，攻击+40'",
		"sword4": "'，攻击+80'",
		"sword5": "'，攻击+100'",
		"shield0": "'，防御+0'",
		"shield1": "'，防御+6'",
		"shield2": "'，防御+150'",
		"shield3": "'，防御+40'",
		"shield4": "'，防御+80'",
		"shield5": "'，防御+100，魔防+100'",
		"bigKey": "'，全钥匙+1'",
		"superPotion": "'，生命值翻倍'",
		"moneyPocket": "'，金币+500'",
		"I815": "'，金币+100'",
		"I813": "'，金币+200'",
		"I825": "'，攻击+12'",
		"I819": "'，防御+10'",
		"I824": "'，防御+16'",
		"I823": "'，攻击+20'",
		"I785": "'，攻击+5",
		"I786": "'，防御+5",
		"I780": "获得跃进之翼\n生命加600\n攻击加7\n防御加7",
		"I828": "'，攻击+32'",
		"I826": "'，防御+26'",
		"I827": "'，防御+36'",
		"I829": "'，攻击+48'",
		"I776": "'，生命+6000'",
		"I855": "'，生命+2000'",
		"I856": "'，生命+5000'",
		"I859": "'，防御+8",
		"I858": "'，攻击+8",
		"I883": "'，攻击+68'",
		"I809": "'，攻击+15",
		"I810": "'，防御+5",
		"I884": "'，防御+56'",
		"I818": "获得蓝魔法卡片\n攻击力+8\n防御力+8",
		"I830": "获得红魔法卡片\n攻击力+20\n防御力+20",
		"I891": "'，暴击率（伤害加成）加+2%",
		"I890": "'，闪避率（免疫加成）加+2%",
		"I857": "，生命+15000",
		"I861": "，防御+20",
		"I860": "，攻击+20",
		"I862": "，攻击+50",
		"I863": "，防御+50",
		"I789": "，生命+20000",
		"I794": "，防御+1000",
		"I793": "，攻击+1000",
		"I790": "，生命+80000",
		"I791": "，生命+50万"
	},
	"useItemEffect": {
		"book": "core.ui.drawBook(0);",
		"fly": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"earthquake": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\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.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"icePickaxe": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"snow": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bigKey": "(function () {\n\tvar actions = core.status.event.ui.map(function (id) {\n\t\tvar block = core.status.thisMap.blocks[id];\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})();",
		"bomb": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n});",
		"hammer": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.ui);\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-1-core.getHeroLoc('x'));\ncore.setHeroLoc('y', core.bigmap.height-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.ui.x, 'y': core.status.event.ui.y};\nif (core.status.event.id == 'action') {\n\tcore.insertAction([\n\t\t{\"type\": \"changeFloor\", \"loc\": [loc.x, loc.y], \"direction\": loc.direction, \"floorId\": core.status.event.ui.id},\n\t\t{\"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功'}\n\t]);\n}\nelse {\n\tcore.changeFloor(core.status.event.ui.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\tcore.replay();\n\t});\n}",
		"downFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.ui.x, 'y': core.status.event.ui.y};\nif (core.status.event.id == 'action') {\n\tcore.insertAction([\n\t\t{\"type\": \"changeFloor\", \"loc\": [loc.x, loc.y], \"direction\": loc.direction, \"floorId\": core.status.event.ui.id},\n\t\t{\"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功'}\n\t]);\n}\nelse {\n\tcore.changeFloor(core.status.event.ui.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\tcore.replay();\n\t});\n}\n",
		"poisonWine": "core.removeFlag('poison');",
		"weakWine": "core.removeFlag('weak');\nif (core.values.weakValue>=1) { // >=1：直接扣数值\n\tcore.status.hero.atk += core.values.weakValue;\n\tcore.status.hero.def += core.values.weakValue;\n}\nelse { // <1：扣比例\n\tcore.addBuff(\"atk\", core.values.weakValue);\n\tcore.addBuff(\"def\", core.values.weakValue);\n}",
		"curseWine": "core.removeFlag('curse');",
		"superWine": "core.removeFlag('poison');\nif (core.hasFlag('weak')) {\n\tcore.removeFlag('weak');\n\tif (core.values.weakValue>=1) { // >=1：直接扣数值\n\t\tcore.status.hero.atk += core.values.weakValue;\n\t\tcore.status.hero.def += core.values.weakValue;\n\t}\n\telse { // <1：扣比例\n\t\tcore.addBuff(\"atk\", core.values.weakValue);\n\t\tcore.addBuff(\"def\", core.values.weakValue);\n\t}\n}\ncore.removeFlag('curse');",
		"lifeWand": "core.insertAction([\n\t{ \"type\": \"input\", \"text\": \"请输入生命魔杖使用次数：(0-${item:lifeWand})\" },\n\t{\n\t\t\"type\": \"if\",\n\t\t\"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*1000\" },\n\t\t\t\"成功使用${flag:input}次生命魔杖，恢复${flag:input*1000}点生命。\"\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]);",
		"skill1": "// 二倍斩的flag:skill为1\nif (core.getFlag('skill', 0)==0) { // 判断当前是否已经开了技能\n\tif (core.getStatus('mana')>=5) { // 这里要写当前能否开技能的条件判断，比如魔力值至少要多少\n\t\tcore.setFlag('skill', 1); // 开技能1\n\t\tcore.setFlag('skillName', '二倍斩'); // 设置技能名\n\t}\n\telse {\n\t\tcore.drawTip(\"魔力不足，无法开启技能\");\n\t}\n}\nelse { // 关闭技能\n\tcore.setFlag('skill', 0); // 关闭技能状态\n\tcore.setFlag('skillName', '无');\n}",
		"superPotion": "core.status.hero.hp += 1 * core.status.hero.hp"
	},
	"canUseItemEffect": {
		"book": "true",
		"fly": "(function () {\n\treturn core.status.maps[core.status.floorId].canFlyTo;\n})();",
		"pickaxe": "(function() {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && core.nearHero(block.x, block.y) && \n\t\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id=='whiteWall' || block.event.id=='blueWall')) { // 能破哪些墙\n\t\t\t// 四个方向\n\t\t\tif (core.flags.pickaxeFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse id2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\telse if (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"icePickaxe": "(function() {\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.x==core.nextX() && block.y==core.nextY() && block.event.id=='ice') {\n\t\t\tcore.status.event.ui = [i];\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"bomb": "(function () {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.cls.indexOf('enemy')==0 && core.nearHero(block.x, block.y)) {\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\t\tif (core.flags.bombFourDirections || (block.x==core.nextX() && block.y==core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse\n\t\t\t\tid2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\tif (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"hammer": "(function() {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.cls.indexOf('enemy')==0 && core.nearHero(block.x, block.y)) {\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\t\tif (block.x==core.nextX() && block.y==core.nextY())\n\t\t\t\tids.push(i);\n\t\t\telse\n\t\t\t\tid2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\telse if (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"earthquake": "(function () {\n\tvar able=false;\n\tvar ids = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable &&\n\t\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id == 'blueWall' || block.event.id == 'whiteWall')) { // 能炸的墙壁\n\t\t\tids.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\table=true;\n\t}\n\treturn able;\n})();",
		"centerFly": "(function () {\n\tvar toX = core.bigmap.width-1-core.getHeroLoc('x'), toY = core.bigmap.height-1-core.getHeroLoc('y');\n\tvar id = core.getBlockId(toX, toY);\n\treturn id == null;\n})();",
		"upFly": "(function() {\n\tvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\n\tif (index<core.floorIds.length-1) {\n\t\tvar toId = core.floorIds[index+1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width, mh = core.floors[toId].height;\n\t\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\t\tcore.status.event.ui = {'id': toId, 'x': toX, 'y': toY};\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"downFly": "(function() {\n\tvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\n\tif (index>0) {\n\t\tvar toId = core.floorIds[index-1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width, mh = core.floors[toId].height;\n\t\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\t\tcore.status.event.ui = {'id': toId, 'x': toX, 'y': toY};\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"snow": "(function () {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.id == 'lava' && core.nearHero(block.x, block.y)) {\n\t\t\tif (core.flags.snowFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse id2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\tif (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"bigKey": "(function () {\n\tvar able = false,\n\t\tids = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.id == 'yellowDoor') {\n\t\t\tids.push(i);\n\t\t}\n\t}\n\tif (ids.length > 0) {\n\t\tcore.status.event.ui = ids;\n\t\table = true;\n\t}\n\treturn able;\n})();",
		"poisonWine": "core.hasFlag('poison');",
		"weakWine": "core.hasFlag('weak');",
		"curseWine": "core.hasFlag('curse');",
		"superWine": "(function() {\n\treturn core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse');\n})();",
		"lifeWand": "true",
		"jumpShoes": "(function() {\n\tvar nx=core.nextX(2), ny=core.nextY(2);\n\treturn nx>=0 && nx<core.bigmap.width && ny>=0 && ny<core.bigmap.height && core.getBlockId(nx,ny)==null;\n})();",
		"redPotion": "true",
		"bluePotion": "true",
		"greenPotion": "true",
		"yellowPotion": "true",
		"redJewel": "true",
		"blueJewel": "true",
		"greenJewel": "true",
		"yellowJewel": "true",
		"skill1": "true",
		"superPotion": "true",
		"I776": "true"
	},
	"equipCondition": {},
	"useItemEvent": {}
}