zh:rpd:potion_of_healing_item
治療藥水
治療藥水是Remixed Dungeon中的一種常見藥水,它會恢復飲用者的大量生命值。
物品概覽
特殊機制
- 完全恢復: 恢復所有HP至最大值(恢復100%的最大HP)
- 破碎: 破碎在地上時,對該格上的任何角色恢復50%的最大HP
- 鑑定: 消耗、破碎或在背包中有已鑑定物品時可被鑑定
- 堆疊: 可以攜帶多個藥水並根據需要使用
- 緊急使用: 可用於預防死亡或從重大傷害中恢復
策略
獲得
效果
代碼參考
- Java實現: PotionOfHealing.java
- 藥水基類: Potion.java
- 治療機制: Char.java#L99-L107 (heal method)
- 狀態效果移除: PotionOfHealing.java#L43-L48 (curing specific debuffs)
- 煉金配方: Sungrass.java#L46
- 破碎機制: PotionOfHealing.java#L51-L59 (for when the potion is shattered)
- 箭矢濕潤: PotionOfHealing.java#L65-L69 (how potions can moisten arrows - implemented via moistenArrow method)
- 價格配置: PotionOfHealing.java#L50-L52 (price is 30 gold when identified)
- 生命箭創建: HealthArrow.java - Created when moistening arrows
- 寶藏配置: Treasury.java#L132-L137 - Item spawning system for potions
- 蜘蛛寶藏: SpidersTreasury.json#L137 - Spider level potion spawn probability (45)
- 商店寶藏: TownShopTreasury.json#L31 - Shop availability configuration (probability 1)
- 起始物品: initHeroes.json#L157 and initHeroes.json#L226 - Used as starting item for some hero classes
- NPC獎勵: PlagueDoctor.lua#L40 - Used as reward from Plague Doctor NPC quest
- 英文字符串資源: PotionOfHealing_Name, PotionOfHealing_Info, PotionOfHealing_Apply (PotionOfHealing_Name, PotionOfHealing_Info, and PotionOfHealing_Apply)
- 俄文字符串資源: PotionOfHealing_Name, PotionOfHealing_Info, PotionOfHealing_Apply (Russian localization)
- 西班牙文字符串資源: PotionOfHealing strings (Spanish localization)
- 法文字符串資源: PotionOfHealing strings (French localization)
- 德文字符串資源: PotionOfHealing strings (German localization)
- 中文字符串資源: PotionOfHealing strings (Chinese localization)
- 統計驗證: 從PotionOfHealing.java類方法直接提取
- 效果描述: 基於代碼分析和字符串資源
- mr:命名空間: 查看Potion Of Healing - Code References獲取機器可讀數據
- 實現細節: Java實現中的heal方法使用heal(ch, 1f),其中1f參數表示恢復100%的最大HP
- 煉金生產: Alchemy.java#L72-L106 - 在煉金鍋中由種子製作藥水的詳細信息
- PotionOfHealing labelIndex - labelIndex = 5 (icon reference)
- PotionOfHealing apply method - Healing application and visual feedback
- PotionOfHealing heal method - Static heal method that handles healing and debuff removal
Lua腳本參考
- PlagueDoctor.lua#L40 - Used as reward in Plague Doctor NPC quest
- TestItem.lua#L227 - Test item reference
相關物品
zh/rpd/potion_of_healing_item.txt · Last modified: by 127.0.0.1

