User Tools

Site Tools


mr:health_buff

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mr:health_buff [2025/12/25 18:23] – auto lint fix Mikhaelmr:health_buff [2025/12/29 10:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Health Buff (Sungrass) - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/plants/Sungrass.java#L68-L112|Sungrass.java]] - Health buff implementation (nested class)
 +  * Actual buff name is Sungrass$Health but represents a health-increasing buff
 +
 +===== JSON Configuration =====
 +No specific JSON configuration exists for this buff as it's part of the Sungrass plant effect.
 +
 +===== String Resources =====
 +<code xml>
 +<string name="SungrassBuff_Name">Herbal healing</string>
 +<string name="SungrassBuff_Info">Roots have sprouted from the ground providing healing herbs.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists.
 +
 +===== Buff Mechanics =====
 +  * Heals Math.max(target.ht() / 10, 1) health points every 5 turns
 +  * Detaches when character moves from original position or reaches full health
 +  * Uses BuffIndicator.HEALING icon