var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = { "yellowKey": { "cls": "tools", "name": "黄钥匙", "text": "可以打开一扇黄门", "hideInToolbox": true }, "blueKey": { "cls": "tools", "name": "蓝钥匙", "text": "可以打开一扇蓝门", "hideInToolbox": true }, "redKey": { "cls": "tools", "name": "红钥匙", "text": "可以打开一扇红门", "hideInToolbox": true }, "redGem": { "cls": "items", "name": "红宝石", "text": "攻击+${core.values.redGem}", "itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio", "itemEffectTip": ",攻击+${core.values.redGem * core.status.thisMap.ratio}", "useItemEffect": "core.status.hero.atk += core.values.redGem", "canUseItemEffect": "true" }, "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": "core.status.hero.def += core.values.blueGem", "canUseItemEffect": "true" }, "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": null, "itemEffect": "core.status.hero.atk += 1;\ncore.status.hero.def += 1;\ncore.status.hero.mdef += 3;", "itemEffectTip": ",全属性提升", "useItemEvent": null, "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" }, "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": null, "itemEffect": "core.status.hero.atk += 10", "itemEffectTip": ",攻击+10" }, "sword2": { "cls": "items", "name": "银剑", "text": "一把很普通的银剑", "equip": null, "itemEffect": "core.status.hero.atk += 20", "itemEffectTip": ",攻击+20" }, "sword3": { "cls": "items", "name": "骑士剑", "text": "一把很普通的骑士剑", "equip": null, "itemEffect": "core.status.hero.atk += 50", "itemEffectTip": ",攻击+50" }, "sword4": { "cls": "items", "name": "圣剑", "text": "一把很普通的圣剑", "equip": null, "itemEffect": "core.status.hero.atk += 100", "itemEffectTip": ",攻击+100" }, "sword5": { "cls": "items", "name": "神圣剑", "text": "一把很普通的神圣剑", "equip": null, "itemEffect": "core.status.hero.atk += 200", "itemEffectTip": ",攻击+200" }, "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": null, "itemEffect": "core.status.hero.def += 10", "itemEffectTip": ",防御+10" }, "shield2": { "cls": "items", "name": "银盾", "text": "一个很普通的银盾", "equip": { "type": 1, "value": { "def": 20 } }, "itemEffect": "core.status.hero.def += 20", "itemEffectTip": ",防御+20" }, "shield3": { "cls": "items", "name": "骑士盾", "text": "一个很普通的骑士盾", "equip": { "type": 1, "value": { "def": 40 } }, "itemEffect": "core.status.hero.def += 50", "itemEffectTip": ",防御+50" }, "shield4": { "cls": "items", "name": "圣盾", "text": "一个很普通的圣盾", "equip": null, "itemEffect": "core.status.hero.def += 100", "itemEffectTip": ",防御+100" }, "shield5": { "cls": "items", "name": "神圣盾", "text": "一个很普通的神圣盾", "equip": { "type": 1, "value": { "def": 100, "mdef": 100 } }, "itemEffect": "core.status.hero.def += 200", "itemEffectTip": ",防御+200" }, "superPotion": { "cls": "items", "name": "圣水", "itemEffect": "core.status.hero.hp *= 2", "itemEffectTip": ",生命值翻倍", "useItemEffect": "core.status.hero.hp *= 2;core.playSound('回血');", "canUseItemEffect": "true", "text": "生命值翻倍" }, "book": { "cls": "constants", "name": "人生指南", "text": "可以查看当前楼层各怪物属性", "hideInToolbox": true, "useItemEffect": "core.ui.drawBook(0);", "canUseItemEffect": "true" }, "fly": { "cls": "constants", "name": "楼层传送器", "text": "可以自由往来去过的楼层", "hideInReplay": true, "hideInToolbox": true, "useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));", "canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();" }, "coin": { "cls": "items", "name": "幸运金币", "text": "持有时打败怪物可得双倍金币", "itemEffect": "core.status.hero.money += 200" }, "freezeBadge": { "cls": "constants", "name": "冰冻徽章", "text": "可以将面前的熔岩变成平地", "useItemEffect": "(function () {\n\tvar success = false;\n\n\tvar snowFourDirections = false; // 是否多方向雪花;如果是将其改成true\n\tif (snowFourDirections) {\n\t\t// 多方向雪花\n\t\tfor (var direction in core.utils.scan) { // 多方向雪花默认四方向,如需改为八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (core.getBlockId(nx, ny) == 'lava') {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (core.getBlockId(core.nextX(), core.nextY()) == 'lava') {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('打开界面');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();", "canUseItemEffect": "true" }, "cross": { "cls": "constants", "name": "十字架", "text": "持有后无视怪物的无敌属性" }, "dagger": { "cls": "constants", "name": "屠龙匕首", "text": "该道具尚未被定义" }, "amulet": { "cls": "constants", "name": "护符", "text": "持有时无视负面地形" }, "bigKey": { "cls": "tools", "name": "大黄门钥匙", "text": "可以开启当前层所有黄门", "itemEffect": "core.addItem('yellowKey', 1);\ncore.addItem('blueKey', 1);\ncore.addItem('redKey', 1);", "itemEffectTip": ",全钥匙+1", "useItemEffect": "(function () {\n\tvar actions = core.searchBlock(\"yellowDoor\").map(function (block) {\n\t\treturn { \"type\": \"openDoor\", \"loc\": [block.x, block.y], \"async\": true };\n\t});\n\tactions.push({ \"type\": \"waitAsync\" });\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();", "canUseItemEffect": "(function () {\n\treturn core.searchBlock('yellowDoor').length > 0;\n})();" }, "greenKey": { "cls": "tools", "name": "绿钥匙", "text": "可以打开一扇绿门" }, "steelKey": { "cls": "tools", "name": "铁门钥匙", "text": "可以打开一扇铁门" }, "pickaxe": { "cls": "tools", "name": "破墙镐", "text": "在人生中总有帮助过自己的人。可以破开部分墙体和怪物。", "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.cls.indexOf('enemy') != 0 && block.event.cls.indexOf('items') != 0 && ![85, 86, 17].includes(block.id);\n\t};\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 success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();", "canUseItemEffect": "true" }, "icePickaxe": { "cls": "tools", "name": "破冰镐", "text": "可以破坏勇士面前的一堵冰墙", "useItemEffect": "(function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\tcore.insertAction({ \"type\": \"openDoor\", \"loc\": [\"core.nextX()\", \"core.nextY()\"] });\n})();", "canUseItemEffect": "(function () {\n\treturn core.getBlockId(core.nextX(), core.nextY()) == 'ice';\n})();" }, "bomb": { "cls": "tools", "name": "炸弹", "text": "可以炸掉勇士面前的怪物", "useItemEffect": "(function () {\n\tvar bombList = []; // 炸掉的怪物坐标列表\n\tvar todo = []; // 炸弹后事件\n\tvar money = 0,\n\t\texp = 0; // 炸弹获得的金币和经验\n\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar bomb = function (x, y) {\n\t\tif (!canBomb(x, y)) return;\n\t\tbombList.push([x, y]);\n\t\tvar id = core.getBlockId(x, y),\n\t\t\tenemy = core.material.enemys[id];\n\t\tmoney += core.getEnemyValue(enemy, 'money', x, y) || 0;\n\t\texp += core.getEnemyValue(enemy, 'exp', x, y) || 0;\n\t\tcore.push(todo, core.floors[core.status.floorId].afterBattle[x + \",\" + y]);\n\t\tcore.push(todo, enemy.afterBattle);\n\t\tcore.removeBlock(x, y);\n\t}\n\n\t// 如果要多方向可炸,把这里的false改成true\n\tif (false) {\n\t\tvar scan = core.utils.scan; // 多方向炸时默认四方向,如果要改成八方向炸可以改成 core.utils.scan2\n\t\tfor (var direction in scan) {\n\t\t\tvar delta = scan[direction];\n\t\t\tbomb(core.getHeroLoc('x') + delta.x, core.getHeroLoc('y') + delta.y);\n\t\t}\n\t} else {\n\t\t// 仅炸当前\n\t\tbomb(core.nextX(), core.nextY());\n\t}\n\n\tif (bombList.length == 0) {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('当前无法使用' + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\n\t// 取消这里的注释可以炸弹后获得金币和经验\n\t// core.status.hero.money += money;\n\t// core.status.hero.exp += exp;\n\n\t// 取消这里的注释可以炸弹引发战后事件\n\t// if (todo.length > 0) core.insertAction(todo);\n\n})();", "canUseItemEffect": "true" }, "centerFly": { "cls": "tools", "name": "中心对称飞行器", "text": "可以飞向当前楼层中心对称的位置", "useItemEffect": "core.playSound('centerFly.mp3');\ncore.clearMap('hero');\ncore.setHeroLoc('x', core.bigmap.width - 1 - core.getHeroLoc('x'));\ncore.setHeroLoc('y', core.bigmap.height - 1 - core.getHeroLoc('y'));\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');", "canUseItemEffect": "(function () {\n\tvar toX = core.bigmap.width - 1 - core.getHeroLoc('x'),\n\t\ttoY = core.bigmap.height - 1 - core.getHeroLoc('y');\n\tvar id = core.getBlockId(toX, toY);\n\treturn id == null;\n})();" }, "upFly": { "cls": "tools", "name": "上楼器", "text": "可以飞往楼上的相同位置", "useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) + 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();", "canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index < core.floorIds.length - 1) {\n\t\tvar toId = core.floorIds[index + 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();" }, "downFly": { "cls": "tools", "name": "下楼器", "text": "可以飞往楼下的相同位置", "useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) - 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();", "canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index > 0) {\n\t\tvar toId = core.floorIds[index - 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();" }, "earthquake": { "cls": "tools", "name": "地震卷轴", "text": "可以破坏当前层的所有墙", "useItemEffect": "(function () {\n\tvar indexes = [];\n\tfor (var index in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[index];\n\t\tif (!block.disable && block.event.canBreak) {\n\t\t\tindexes.push(index);\n\t\t}\n\t}\n\tcore.removeBlockByIndexes(indexes);\n\tcore.redrawMap();\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n})();", "canUseItemEffect": "(function () {\n\treturn core.status.thisMap.blocks.filter(function (block) {\n\t\treturn !block.disable && block.event.canBreak;\n\t}).length > 0;\n})();" }, "poisonWine": { "cls": "tools", "name": "解毒药水", "text": "可以解除中毒状态", "useItemEffect": "core.triggerDebuff('remove', 'poison');", "canUseItemEffect": "core.hasFlag('poison');" }, "weakWine": { "cls": "tools", "name": "解衰药水", "text": "可以解除衰弱状态", "useItemEffect": "core.triggerDebuff('remove', 'weak');", "canUseItemEffect": "core.hasFlag('weak');" }, "curseWine": { "cls": "tools", "name": "解咒药水", "text": "可以解除诅咒状态", "useItemEffect": "core.triggerDebuff('remove', 'curse');", "canUseItemEffect": "core.hasFlag('curse');" }, "superWine": { "cls": "tools", "name": "万能药水", "text": "可以解除所有不良状态", "useItemEffect": "core.triggerDebuff('remove', ['poison', 'weak', 'curse']);", "canUseItemEffect": "(function() {\n\treturn core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse');\n})();" }, "hammer": { "cls": "tools", "name": "圣锤", "text": "该道具尚未被定义" }, "lifeWand": { "cls": "constants", "name": "特长生优势", "text": "我是以竞赛特长生的优势进入的昭兴一中,让我免去了中考直接进入昭兴一中学习。此优势可以在与敌人作战中恢复怪物血量的百分之十五的生命值。", "useItemEvent": null, "canUseItemEffect": "true" }, "jumpShoes": { "cls": "tools", "name": "跳跃靴", "text": "能跳跃到前方两格处", "useItemEffect": "core.playSound(\"跳跃\");\ncore.insertAction({ \"type\": \"jumpHero\", \"loc\": [core.nextX(2), core.nextY(2)] });", "canUseItemEffect": "(function () {\n\tvar nx = core.nextX(2),\n\t\tny = core.nextY(2);\n\treturn nx >= 0 && nx < core.bigmap.width && ny >= 0 && ny < core.bigmap.height && core.getBlockId(nx, ny) == null;\n})();" }, "skill1": { "cls": "constants", "name": "技能:二倍斩", "text": "可以打开或关闭主动技能二倍斩", "hideInReplay": true, "useItemEffect": "(function () {\n\tvar skillValue = 1; // 技能的flag:skill值,可用于当前开启技能的判定;对于新技能可以依次改成2,3等等\n\tvar skillNeed = 5; // 技能的需求\n\tvar skillName = '二倍斩'; // 技能的名称\n\n\tif (core.getFlag('skill', 0) != skillValue) { // 判断当前是否已经开了技能\n\t\tif (core.getStatus('mana') >= skillNeed) { // 这里要写当前能否开技能的条件判断,比如魔力值至少要多少\n\t\t\tcore.playSound('打开界面');\n\t\t\tcore.setFlag('skill', skillValue); // 开技能1\n\t\t\tcore.setFlag('skillName', skillName); // 设置技能名\n\t\t} else {\n\t\t\tcore.playSound('操作失败');\n\t\t\tcore.drawTip('魔力不足,无法开启技能');\n\t\t}\n\t} else { // 关闭技能\n\t\tcore.setFlag('skill', 0); // 关闭技能状态\n\t\tcore.setFlag('skillName', '无');\n\t}\n})();", "canUseItemEffect": "true" }, "wand": { "cls": "items", "name": "新物品" }, "pack": { "cls": "items", "name": "钱袋", "itemEffect": "core.status.hero.money += 500", "itemEffectTip": ",金币+500" }, "I331": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I332": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I333": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I334": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I335": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I336": { "cls": "constants", "name": "减分优势", "canUseItemEffect": "true", "text": "因为签约北大,我只需要过一本线即可考入。此优势会让怪物在战斗前承受自己一次真实伤害。" }, "I337": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I338": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I339": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I340": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I341": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I342": { "cls": "constants", "name": "人生事件薄", "canUseItemEffect": "true", "useItemEvent": [ { "type": "while", "condition": "1", "data": [ { "type": "choices", "text": "你想知道什么呢?", "choices": [ { "text": "关于自己", "action": [ "生命:万物之源。只有拥有生命你才能不断的走下去。生命与健康息息相关,还会因为你的心态变的无比强大或是脆弱不堪...\n攻击:披荆斩棘的利刃。只要心中有信念,这利刃就更强!\n防御:坚韧的铠甲。内心坚定,多大的坎也能挺过去。\n护盾:守护的力量。不知你相不相信,在这个世界上总有人默默的守护着你,默默的帮你承受着你的痛苦。\n经验:成长的轨迹,经历越多经验就会越多,当你经验多起来的时候,也许你已经长大成人了..." ] }, { "text": "关于环境", "action": [ "人生好比一条大道,它的尽头又在何方?\n在人生的道路上,必定会经历很多磨难,也会遇到许多挫折,这条路注定不会一帆风顺。但世间总有一些东西值得我们去探索值得我们去寻找。究竟怎样才能走到大道的尽头呢?" ] }, { "text": "关于怪物", "action": [ "没有人会一帆风顺,也没人会保持一种情绪。\n怪物是什么?世界上根本没有怪物,被认为怪物的东西不过是超过人们的认知罢了。但是,人生总会有一些坎,困难,找你麻烦的家伙,自身的不良情绪,自己的心魔等等...这,也许会成为你心中的怪物..." ] }, { "text": "关于道具", "action": [ "人生中,有数不尽的财富美好等待着你去获得。请相信你的能力可以得到他们。\n宝石:在人生的道路上,我们只有不断的学习才能更好的向前,宝石是智慧与勇气的化身,它可以让你变的更强。\n血瓶:人最重要的是生命,我们要维持生命必须要获得足够的水和食物,生病了需要药,而血瓶就是它们的化身。\n钥匙:人生有无数道坎,一道道坎构成了一道道门,只有你成长了,那么才会获得开门的钥匙。但人生当中,总要面临一些选择,钥匙终究是有限的,面对不同的坎需要你做出重大选择,这选择也许会影响你的未来...\n其它道具:天道酬勤,苦心人天不负,只有不断的磨练才能获得更好的东西。" ] }, { "text": "关于战斗", "action": [ "真的甘心一直被别人压着吗?来吧,大胆的往前冲!\n精神是人的支柱,这股精神激励着你不断向前。人生中的各种磨难,需要你通过战斗一一化解!\n永远不要低估自己,只有勇往直前,坚持不懈,才能冲破一个个的坎,打到一个又一个的怪物,突破一个又一个的关卡!" ] }, { "text": "关于人生", "action": [ "浩瀚无际的星空,由一个个梦想交汇而成...抬头看向星空的时候,你是否知道自己究竟要去往何处?\n过去的时光中,总有一些痛苦让你刻骨铭心,总有一些快乐让你回味,酸甜苦辣,五味杂陈...你能感受的到吗?感受的话...你会想些啥呢?\n远在九天之上的梦想,并非遥不可及,踏空而行,贯彻道路,终有一天能够圆梦九天..." ] }, { "text": "游玩注意事项(重要)", "action": [ "1.本塔没有领域夹击吸血等恶心属性。\n2.遇到单层全是血门的时候存个档,大boss会很强,需要开血门。\n3.尽量多存钥匙以备不时之需。\n4.本塔多余血量没用,能省钥匙尽量省。\n5.本塔纯钥匙和破计分,血量不参与计分。\n6.机关门需要清理特殊怪物或者清理完本区全部怪物,铁门需要清理完本区全部怪物。\n7.每个区的红黄蓝绿宝石都要拿完。" ] }, { "text": "数值显示: ${(core.getFlag(\"itemDetail\") ? \"[ON]\" : \"[OFF]\")}", "action": [ { "type": "setValue", "name": "flag:itemDetail", "value": "(!flag:itemDetail)" } ] }, { "text": "离开", "action": [ { "type": "break", "n": 1 } ] } ] } ] } ], "text": "本塔的设定集(强烈建议打开)" }, "I420": { "cls": "items", "name": "方块红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 15", "itemEffectTip": ",攻击+15" }, "I421": { "cls": "items", "name": "方块蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 15", "itemEffectTip": ",防御+15" }, "I422": { "cls": "items", "name": "方块绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 40", "itemEffectTip": ",魔防+40" }, "I423": { "cls": "items", "name": "方块黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 15;\ncore.status.hero.def += 15;\ncore.status.hero.mdef += 40;", "itemEffectTip": ",全属性提升" }, "I424": { "cls": "items", "name": "红钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 20", "itemEffectTip": ",攻击+20" }, "I425": { "cls": "items", "name": "蓝钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 20", "itemEffectTip": ",防御+20" }, "I426": { "cls": "items", "name": "绿钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 50", "itemEffectTip": ",魔防+50" }, "I427": { "cls": "items", "name": "黄钻石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 20;\ncore.status.hero.def += 20;\ncore.status.hero.mdef += 50;" }, "I428": { "cls": "items", "name": "六星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 30", "itemEffectTip": ",攻击+30" }, "I429": { "cls": "items", "name": "六星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 30", "itemEffectTip": ",防御+30" }, "I430": { "cls": "items", "name": "六星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 80", "itemEffectTip": ",魔防+80" }, "I431": { "cls": "items", "name": "六星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 30;\ncore.status.hero.def += 30;\ncore.status.hero.mdef += 80;" }, "I432": { "cls": "items", "name": "大牛红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 50", "itemEffectTip": ",攻击+50" }, "I433": { "cls": "items", "name": "大牛蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 50", "itemEffectTip": ",防御+50" }, "I434": { "cls": "items", "name": "大牛绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 120", "itemEffectTip": ",魔防+120" }, "I435": { "cls": "items", "name": "大牛黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 50;\ncore.status.hero.def += 50;\ncore.status.hero.mdef += 120;" }, "I436": { "cls": "items", "name": "勾玉红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 80", "itemEffectTip": ",攻击+80" }, "I437": { "cls": "items", "name": "勾玉蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 80", "itemEffectTip": ",防御+80" }, "I438": { "cls": "items", "name": "勾玉绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 200" }, "I439": { "cls": "items", "name": "勾玉黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 80;\ncore.status.hero.def += 80;\ncore.status.hero.mdef += 200;" }, "I440": { "cls": "items", "name": "二级红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 2", "itemEffectTip": ",攻击+2" }, "I441": { "cls": "items", "name": "二级蓝宝石", "canUseItemEffect": "true", "itemEffectTip": ",防御+2", "itemEffect": "core.status.hero.def += 2" }, "I442": { "cls": "items", "name": "二级绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 5", "itemEffectTip": ",魔防+5" }, "I443": { "cls": "items", "name": "二级黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 2;\ncore.status.hero.def += 2;\ncore.status.hero.mdef += 5;", "itemEffectTip": ",全属性提升" }, "I444": { "cls": "items", "name": "三级红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 3", "itemEffectTip": ",攻击+3" }, "I445": { "cls": "items", "name": "三级蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 3", "itemEffectTip": ",防御+3" }, "I446": { "cls": "items", "name": "三级绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 8", "itemEffectTip": ",魔防+8" }, "I447": { "cls": "items", "name": "三级黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 3;\ncore.status.hero.def += 3;\ncore.status.hero.mdef += 8;", "itemEffectTip": ",全属性提升" }, "I448": { "cls": "items", "name": "大红血瓶", "canUseItemEffect": "true", "hideInToolbox": false, "itemEffect": "core.status.hero.hp += 800", "itemEffectTip": ",生命+800" }, "I449": { "cls": "items", "name": "大蓝血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 1000", "itemEffectTip": ",生命+1000" }, "I450": { "cls": "items", "name": "大绿血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 2000", "itemEffectTip": ",生命+2000" }, "I451": { "cls": "items", "name": "大黄血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 1500", "itemEffectTip": ",生命+1500" }, "I578": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I579": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I580": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I581": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I582": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I583": { "cls": "items", "name": "四级红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 5", "itemEffectTip": ",攻击+5" }, "I584": { "cls": "items", "name": "四级蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 5", "itemEffectTip": ",防御+5" }, "I585": { "cls": "items", "name": "四级绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 12", "itemEffectTip": ",魔防+12" }, "I586": { "cls": "items", "name": "四级黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 5;\ncore.status.hero.def += 5;\ncore.status.hero.mdef += 12;", "itemEffectTip": ",全属性提升" }, "I587": { "cls": "items", "name": "五级红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 10", "itemEffectTip": ",攻击+10" }, "I588": { "cls": "items", "name": "五级蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 10", "itemEffectTip": ",+10防御" }, "I589": { "cls": "items", "name": "五级绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 25", "itemEffectTip": ",魔防+25" }, "I590": { "cls": "items", "name": "五级黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 10;\ncore.status.hero.def += 10;\ncore.status.hero.mdef += 25;", "itemEffectTip": ",全属性提升" }, "I591": { "cls": "items", "name": "红结晶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 10000", "itemEffectTip": ",攻击+10000" }, "I592": { "cls": "items", "name": "蓝结晶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 10000", "itemEffectTip": ",防御+10000" }, "I593": { "cls": "items", "name": "绿结晶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 30000", "itemEffectTip": ",魔防+30000" }, "I594": { "cls": "items", "name": "黄结晶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 10000;\ncore.status.hero.def += 10000;\ncore.status.hero.mdef += 30000;", "itemEffectTip": ",全属性提升" }, "I595": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I596": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I597": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I598": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I599": { "cls": "items", "name": "特制红血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 3000" }, "I600": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I601": { "cls": "items", "name": "特制蓝血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 5000" }, "I602": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I603": { "cls": "items", "name": "超级红钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 200;", "itemEffectTip": ",攻击+200" }, "I604": { "cls": "items", "name": "超级蓝钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 200;", "itemEffectTip": ",防御+200" }, "I605": { "cls": "items", "name": "超级绿钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 500;", "itemEffectTip": ",魔防+500" }, "I606": { "cls": "items", "name": "超级黄钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 200;\ncore.status.hero.def += 200;\ncore.status.hero.mdef += 500;", "itemEffectTip": ",全属性提升" }, "I635": { "cls": "items", "name": "雪花红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 150;", "itemEffectTip": ",攻击+150" }, "I636": { "cls": "items", "name": "雪花蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 150;", "itemEffectTip": ",防御+150" }, "I637": { "cls": "items", "name": "雪花绿宝石", "canUseItemEffect": "true", "itemEffectTip": ",魔防+375", "itemEffect": "core.status.hero.mdef += 375;" }, "I638": { "cls": "items", "name": "雪花黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 150;\ncore.status.hero.def += 150;\ncore.status.hero.mdef += 375;", "itemEffectTip": ",全属性提升" }, "I639": { "cls": "items", "name": "十字红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 100;", "itemEffectTip": ",攻击+100" }, "I640": { "cls": "items", "name": "十字蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 100;", "itemEffectTip": ",防御+100" }, "I641": { "cls": "items", "name": "十字绿宝石", "canUseItemEffect": "true", "itemEffectTip": ",魔防+250", "itemEffect": "core.status.hero.mdef += 250;" }, "I642": { "cls": "items", "name": "十字黄宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 100;\ncore.status.hero.def += 100;\ncore.status.hero.mdef += 250;", "itemEffectTip": ",全属性提升" }, "I643": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I644": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I645": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I646": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I647": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I648": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I649": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I650": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I651": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I652": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I653": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I654": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I655": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I656": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I659": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I660": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I731": { "cls": "items", "name": "红血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 3000", "itemEffectTip": ",生命+3000" }, "I732": { "cls": "items", "name": "蓝血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 5000", "itemEffectTip": ",生命+5000" }, "I733": { "cls": "items", "name": "黄血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 7500", "itemEffectTip": ",生命+7500" }, "I734": { "cls": "items", "name": "绿血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 10000", "itemEffectTip": ",生命+10000" }, "I735": { "cls": "items", "name": "大红血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 15000", "itemEffectTip": ",生命+15000" }, "I736": { "cls": "items", "name": "大蓝血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 20000", "itemEffectTip": ",生命+20000" }, "I737": { "cls": "items", "name": "大绿血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 50000" }, "I738": { "cls": "items", "name": "大黄血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 30000", "itemEffectTip": ",生命+30000" }, "I739": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I740": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I741": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I742": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I743": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I768": { "cls": "items", "name": "红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 5", "itemEffectTip": ",攻击+5" }, "I769": { "cls": "items", "name": "蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 5", "itemEffectTip": ",防御+5" }, "I770": { "cls": "items", "name": "绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 15", "itemEffectTip": ",魔防+15" }, "I771": { "cls": "items", "name": "红血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 250", "itemEffectTip": ",生命+250" }, "I772": { "cls": "items", "name": "蓝血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 500", "itemEffectTip": ",生命+500" }, "I773": { "cls": "items", "name": "绿血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 2500", "itemEffectTip": ",生命+2500" }, "I774": { "cls": "items", "name": "黄血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 1000", "itemEffectTip": ",生命+1000" }, "I822": { "cls": "items", "name": "长虹剑", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 1000;", "itemEffectTip": ",攻击+1000" }, "I823": { "cls": "items", "name": "青天盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 1000;" }, "I824": { "cls": "items", "name": "烈焰刃", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 1500", "itemEffectTip": ",攻击+1500" }, "I825": { "cls": "items", "name": "金之盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 1500", "itemEffectTip": ",防御+1500" }, "I800": { "cls": "constants", "name": "恶意", "canUseItemEffect": "true", "text": "入学半年,我就得罪了无数人,还被zyf给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物先攻。" }, "I804": { "cls": "constants", "name": "无法调节的矛盾", "canUseItemEffect": "false", "useItemEffect": "(function () {})();", "text": "入学半年,我就得罪了无数人,还被zyf给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物首回合附带一次每回合伤害的一半。" }, "I805": { "cls": "tools", "name": "新物品", "canUseItemEffect": "true", "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\n\t\tblock.event.canBreak;\n\t};\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 success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\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})();" }, "I826": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" }, "I870": { "cls": "items", "name": "二星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 100", "itemEffectTip": ",攻击+100" }, "I871": { "cls": "items", "name": "二星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 100", "itemEffectTip": ",防御+100" }, "I872": { "cls": "items", "name": "二星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 300", "itemEffectTip": ",魔防+300" }, "I873": { "cls": "items", "name": "二星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 100;\ncore.status.hero.def += 100;\ncore.status.hero.mdef += 300;" }, "I874": { "cls": "items", "name": "三星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 200", "itemEffectTip": ",攻击+200" }, "I875": { "cls": "items", "name": "三星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 200", "itemEffectTip": ",防御+200" }, "I876": { "cls": "items", "name": "三星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 600", "itemEffectTip": ",魔防+600" }, "I877": { "cls": "items", "name": "三星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 200;\ncore.status.hero.def += 200;\ncore.status.hero.mdef += 600;" }, "I878": { "cls": "items", "name": "四星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 400", "itemEffectTip": ",攻击+400" }, "I879": { "cls": "items", "name": "四星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 400", "itemEffectTip": ",防御+400" }, "I880": { "cls": "items", "name": "四星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 1200", "itemEffectTip": ",魔防+1200" }, "I881": { "cls": "items", "name": "四星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 400;\ncore.status.hero.def += 400;\ncore.status.hero.mdef += 1200;" }, "I882": { "cls": "items", "name": "五星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 800", "itemEffectTip": ",攻击+800" }, "I883": { "cls": "items", "name": "五星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 800", "itemEffectTip": ",防御+800" }, "I884": { "cls": "items", "name": "五星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 2400", "itemEffectTip": ",魔防+2400" }, "I885": { "cls": "items", "name": "五星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 800;\ncore.status.hero.def += 800;\ncore.status.hero.mdef += 2400;" }, "I886": { "cls": "items", "name": "方块红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 1600", "itemEffectTip": ",攻击+1600" }, "I887": { "cls": "items", "name": "方块蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 1600", "itemEffectTip": ",防御+1600" }, "I888": { "cls": "items", "name": "方块绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 4800", "itemEffectTip": ",魔防+4800" }, "I889": { "cls": "items", "name": "方块黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 1600;\ncore.status.hero.def += 1600;\ncore.status.hero.mdef += 4800;" }, "I890": { "cls": "items", "name": "红钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 3200", "itemEffectTip": ",攻击+3200" }, "I891": { "cls": "items", "name": "蓝钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 3200", "itemEffectTip": ",防御+3200" }, "I892": { "cls": "items", "name": "绿钻石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 9600", "itemEffectTip": ",魔防+9600" }, "I893": { "cls": "items", "name": "黄钻石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 3200;\ncore.status.hero.def += 3200;\ncore.status.hero.mdef += 9600;" }, "I894": { "cls": "items", "name": "六星红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 6400", "itemEffectTip": ",攻击+6400" }, "I895": { "cls": "items", "name": "六星蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 6400", "itemEffectTip": ",防御+6400" }, "I896": { "cls": "items", "name": "六星绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 19200", "itemEffectTip": ",魔防+19200" }, "I897": { "cls": "items", "name": "六星黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 6400;\ncore.status.hero.def += 6400;\ncore.status.hero.mdef += 19200;" }, "I898": { "cls": "items", "name": "大牛红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 2500", "itemEffectTip": ",攻击+2500" }, "I899": { "cls": "items", "name": "大牛蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 2500", "itemEffectTip": ",防御+2500" }, "I900": { "cls": "items", "name": "大牛绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 7500", "itemEffectTip": ",魔防+7500" }, "I901": { "cls": "items", "name": "大牛黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 2500;\ncore.status.hero.def += 2500;\ncore.status.hero.mdef += 7500;" }, "I902": { "cls": "items", "name": "勾玉红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 3000", "itemEffectTip": ",攻击+3000" }, "I903": { "cls": "items", "name": "勾玉蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 3000", "itemEffectTip": ",防御+3000" }, "I904": { "cls": "items", "name": "勾玉绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 9000", "itemEffectTip": ",魔防+9000" }, "I905": { "cls": "items", "name": "勾玉黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 3000;\ncore.status.hero.def += 3000;\ncore.status.hero.mdef += 9000;" }, "I906": { "cls": "items", "name": "红血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 5000", "itemEffectTip": ",生命+5000" }, "I907": { "cls": "items", "name": "蓝血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 10000", "itemEffectTip": ",生命+10000" }, "I908": { "cls": "items", "name": "绿血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 40000", "itemEffectTip": ",生命+40000" }, "I909": { "cls": "items", "name": "黄血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 20000", "itemEffectTip": ",生命+20000" }, "I910": { "cls": "items", "name": "大红血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 100000", "itemEffectTip": ",生命+100000" }, "I911": { "cls": "items", "name": "大蓝血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 200000", "itemEffectTip": ",生命+200000" }, "I912": { "cls": "items", "name": "大绿血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 800000", "itemEffectTip": ",生命+800000" }, "I913": { "cls": "items", "name": "大黄血瓶", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 400000", "itemEffectTip": ",生命+400000" }, "I914": { "cls": "items", "name": "红血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 2000000", "itemEffectTip": ",生命+2000000" }, "I915": { "cls": "items", "name": "蓝血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 4000000", "itemEffectTip": ",生命+4000000" }, "I916": { "cls": "items", "name": "黄血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 8000000", "itemEffectTip": ",生命+8000000" }, "I917": { "cls": "items", "name": "绿血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 16000000", "itemEffectTip": ",生命+16000000" }, "I928": { "cls": "items", "name": "红宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 50", "itemEffectTip": ",攻击+50" }, "I929": { "cls": "items", "name": "蓝宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 50", "itemEffectTip": ",防御+50" }, "I930": { "cls": "items", "name": "绿宝石", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 150", "itemEffectTip": ",魔防+150" }, "I931": { "cls": "items", "name": "黄宝石", "canUseItemEffect": "true", "itemEffectTip": ",全属性提升", "itemEffect": "core.status.hero.atk += 50;\ncore.status.hero.def += 50;\ncore.status.hero.mdef += 150;" }, "I932": { "cls": "items", "name": "魔剑", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 5000", "itemEffectTip": ",攻击+5000" }, "I933": { "cls": "items", "name": "天空之剑", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 20000", "itemEffectTip": ",攻击+20000" }, "I934": { "cls": "items", "name": "鬼灭之刃", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 80000", "itemEffectTip": ",攻击+80000" }, "I935": { "cls": "items", "name": "空之刃", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 10000", "itemEffectTip": ",攻击+10000" }, "I936": { "cls": "items", "name": "破空剑", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 30000", "itemEffectTip": ",攻击+30000" }, "I937": { "cls": "items", "name": "阳之盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 5000", "itemEffectTip": ",防御+5000" }, "I938": { "cls": "items", "name": "深红盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 10000", "itemEffectTip": ",防御+10000" }, "I939": { "cls": "items", "name": "十方威名", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 20000" }, "I940": { "cls": "items", "name": "时空之盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 80000", "itemEffectTip": ",防御+80000" }, "I941": { "cls": "items", "name": "魔瞳盾", "canUseItemEffect": "true", "itemEffect": "core.status.hero.def += 30000", "itemEffectTip": ",防御+30000" }, "I942": { "cls": "equips", "name": "沉睡雄狮", "canUseItemEffect": "true", "text": "一个人的潜力是无穷的,取决于你能不能发挥出来了。护盾增加百分之二十五防御增加百分之二十。", "hideInToolbox": false, "equip": { "type": "潜力", "value": {}, "percentage": { "mdef": 25, "def": 20 } } }, "I943": { "cls": "equips", "name": "虚空面具", "canUseItemEffect": "true", "text": "一个人的内心强大,这人才能更强。心境越高,成就越高!攻防各加10万,魔防增加百分之二十", "equip": { "type": "心境", "value": { "def": 100000, "atk": 100000 }, "percentage": { "mdef": 20 } } }, "I944": { "cls": "equips", "name": "初心法器", "canUseItemEffect": "true", "text": "不忘初心,方得始终!牢记梦想,逐梦九天!装备可获得百分之十攻防。", "equip": { "type": "梦想", "value": {}, "percentage": { "atk": 10, "def": 10 } } }, "I945": { "cls": "items", "name": "创世圣剑", "canUseItemEffect": "true", "itemEffect": "core.status.hero.atk += 200000\ncore.status.hero.def += 150000" }, "I946": { "cls": "equips", "name": "坚韧头盔", "canUseItemEffect": "true", "equip": { "type": "韧性", "value": {}, "percentage": { "mdef": 15 } }, "text": "一个人的韧性,决定着他能否贯彻自己的目标完成自己的梦想,只有坚韧的品质,才能走的更远。魔防+15%" }, "I947": { "cls": "equips", "name": "北大学生证", "canUseItemEffect": "true", "text": "经过努力,我争取到了北大签约,最终我考入了心中理想的大学北大,获得了北大学生证。攻防加百分之二十。", "equip": { "type": "凭证", "value": {}, "percentage": { "def": 20, "atk": 20 } } }, "I948": { "cls": "equips", "name": "灭世矛", "canUseItemEffect": "true", "equip": { "type": 0, "value": {}, "percentage": { "mdef": 20, "atk": 20 } }, "text": "从出生到大学毕业,这一路走来我深知能力的重要性,只要不断提升自己的能力才能更好的立足。装备攻击+20%,魔防+20%" }, "I951": { "cls": "items", "name": "魔衣", "canUseItemEffect": "true", "itemEffect": "core.status.hero.mdef += 10000\ncore.status.hero.hp += 800000" }, "I952": { "cls": "items", "name": "盛世神衣", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 50000000\ncore.status.hero.mdef += 200000\ncore.status.hero.def += 50000" }, "I953": { "cls": "tools", "name": "龙珠", "canUseItemEffect": "false", "text": "集齐七颗龙珠就能召唤神龙。当七颗龙珠集齐之时,我的大学课程也就学完了,之后所获得的能力变会转换成一件强力装备。每颗龙珠增加许多能力。", "itemEffect": null }, "I961": { "cls": "items", "name": "圣水", "canUseItemEffect": "true", "itemEffectTip": ",生命+40000000", "itemEffect": "core.status.hero.hp += 40000000" }, "I962": { "cls": "items", "name": "圣水", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 40000000", "itemEffectTip": ",生命+40000000" }, "I963": { "cls": "tools", "name": "时空碎片", "canUseItemEffect": "false" } }