User Tools

Site Tools


mr:potion_of_healing_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:potion_of_healing_item [2026/02/22 16:02] – Wiki standards: Fix broken links, remove improper naming, update mr: pages Qwen Assistantmr:potion_of_healing_item [2026/02/22 16:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Potion Of Healing - Code References ======
  
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfHealing.java|PotionOfHealing.java]] - Main healing potion class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java|Potion.java]] - Parent class for all potions
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java|Item.java]] - Base item class
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="PotionOfHealing_Name">Potion of Healing</string>
 +<string name="PotionOfHealing_Info">An elixir that will instantly return you to full health and cure poison.</string>
 +<string name="PotionOfHealing_Apply">Your wounds heal completely.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related mr Entities =====
 +  * [[mr:potion_item|Potion (Item)]]
 +  * [[mr:item|Item]]
 +  * [[mr:health_arrow_item|Health Arrow]] - Arrow moistened by this potion
 +
 +===== Code Details =====
 +  * **labelIndex**: 5 - Potion label index for identification
 +  * **heal()**: Static method that heals character for portion of HP (default 100% for self-use, 50% for shatter)
 +  * **Buffs Removed**: Poison, Cripple, Weakness, Bleeding
 +  * **price()**: 30 gold when known
 +  * **shatter()**: When potion breaks, heals character in cell for 50% HP
 +  * **moistenArrow()**: Creates HealthArrow when used to moisten arrows