====== 治疗药水 ====== {{ rpd:images:potion_of_healing_item.png|治疗药水 }} **治疗药水**是Remixed Dungeon中的一种常见药水,可以恢复饮用者大量生命值。 ==== 物品概览 ==== * **类型:** 药水 * **稀有度:** 普通 * **特殊效果:** 恢复全部生命值并移除多种负面状态效果 * **用法:** 一次性物品(饮用后消耗) * **价格:** 识别后30金币 * **识别:** 消耗、破碎或在背包中看到已识别物品时变为已识别 ==== 特殊机制 ==== * **完全治疗:** 恢复全部生命值至最大值(恢复100%最大生命值) * **状态清除:** 移除中毒、残废、虚弱和流血等状态效果 * **破碎:** 在地面上破碎时,恢复该格上任何角色50%最大生命值 * **箭矢湿润:** 可用于湿润箭矢以制作治疗箭 * **堆叠:** 可携带多瓶药水并按需使用 * **应急使用:** 可用于防止死亡或从重大伤害中恢复 ==== 策略 ==== * 危险遭遇时应急恢复生命值的必备物品 * 最好在生命值极低或需要状态效果移除时使用 * 可在具有挑战性的遭遇前主动使用 * 破碎可用于治疗盟友或无法饮用时 * 战斗中通常比其他治疗方法更安全 * 在头目战斗前使用以确保满血状态 * 湿润远程战斗箭矢提供额外实用性 * 危险情况下求生的必需品 * 应在关键时刻而非轻微伤势时保存使用 * 在艰难战斗中往往是生与死的差别 * 在任何情况下都应携带的最重要物品之一 * 多个职业的起始物品 ==== 获取方式 ==== * 在地城关卡中随处可见 * 在商店中以中等价格提供(识别后30金币) * 被各种敌人掉落(例如蝙蝠(12.5%概率)、蝎子、蜂群) * 在容器和特殊房间中发现 * 包括牧师、医生、死灵法师在内的多个职业的起始物品 * 使用炼金术锅从太阳草种子植物制作而成 ==== 效果 ==== 饮用时,治疗药水会恢复你所有的当前生命值并治愈中毒、残废、虚弱和流血等状态效果。 根据游戏字符串资源:"一种能立即恢复你全部生命值并解毒的灵药。" ==== 代码参考 ==== * **Java实现:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java|PotionOfHealing.java]] * **药水基类:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java|Potion.java]] * **状态效果移除:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java#L41-L45|PotionOfHealing.java#L41-L45]] (移除中毒、残废、虚弱、流血) * **破碎机制:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java#L57-L70|PotionOfHealing.java#L57-L70]] (shatter方法:地面破碎恢复50%生命值) * **箭矢湿润:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java#L72-L78|PotionOfHealing.java#L72-L78]] (moistenArrow方法:将箭矢转为治疗箭) * **价格配置:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java#L52-L55|PotionOfHealing.java#L52-L55]] (price方法:识别后30金币) * **炼金配方:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/plants/Sungrass.java#L46|Sungrass.java#L46]] (太阳草的炼金产出 = PotionOfHealing) * **治疗箭创建:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/HealthArrow.java|HealthArrow.java]] (湿润箭矢时创建) * **蜘蛛宝藏:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/SpidersTreasury.json#L137|SpidersTreasury.json#L137]] (蜘蛛关卡药水生成概率=45) * **商店宝藏:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/TownShopTreasury.json#L31|TownShopTreasury.json#L31]] (商店药水可用性) * **起始物品:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json#L157|initHeroes.json#L157]] - 作为某些英雄职业起始物品 * **NPC奖励:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/PlagueDoctor.lua#L40|PlagueDoctor.lua#L40]] - 瘟疫医生NPC任务奖励 * **炼金制作:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Alchemy.java#L72-L106|Alchemy.java#L72-L106]] - 在炼金锅中从种子制作药水 * **英语字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1643-L1645|PotionOfHealing_Name/Info/Apply]] * **俄语字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L1642-L1644|PotionOfHealing_Name/Info/Apply]] * **西班牙语字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-es/strings_all.xml#L1646-L1648|PotionOfHealing字符串]] * **法语字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-fr/strings_all.xml#L1644-L1646|PotionOfHealing字符串]] * **德语字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-de/strings_all.xml#L1650-L1652|PotionOfHealing字符串]] * **中文字符串资源:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rCN/strings_all.xml#L1639-L1641|PotionOfHealing字符串]] * **mr:命名空间:** 查看[[mr:potion_of_healing_item]]获取机器可读数据 ==== 相关物品 ==== * **药水** - 药水的一般信息 * **药水列表** - 所有药水概览 * **修补药水** - 替代治疗药水 * **生命系统** - 生命系统 * **箭矢** - 箭矢和湿润相关信息 * **治疗箭** - 用此药水湿润制成 * **英雄** - 主要可玩角色 * **物品** - 游戏中所有物品 * **消耗品** - 消耗性物品 * **炼金术** - 制作药水的炼金术机制 * **种子** - 炼金术创造的原料 * **太阳草种子** - 酿造的主要原料 * **金币** - 商店中使用的货币 ==== 其他语言 ==== * [[en:rpd:potion_of_healing_item|Potion of Healing (English)]] * [[ru:rpd:potion_of_healing_item|Зелье исцеления (Russian)]] {{tag> rpd items potions healing arrows}}