mr:regeneration_buff
Table of Contents
Regeneration Buff - Code References
Machine-readable reference page for the Regeneration buff entity.
Entity Information
- Entity Kind: Regeneration
- Type: Buff (healing over time)
- Implementation: Java buff class
- File: `com/watabou/pixeldungeon/actors/buffs/Regeneration.java`
Java Classes
- Regeneration.java - Main buff implementation
- Extends `Buff` class
- Default regeneration delay: 10 ticks
- Supports fast regeneration facilitation bonus
- Applies healing to non-starving targets in unsafe levels
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
- English: strings_all.xml
<string name="RegenerationBuff_Name">Natural Regeneration</string> <string name="RegenerationBuff_Info">The function for natural regeneration is in a buff form to make things easier.</string>
- Russian: strings_all.xml (ru)
<string name="RegenerationBuff_Info">Функция естественной регенерации реализована в форме баффа, дабы упростить работу.</string> <string name="RegenerationBuff_Name">Естественная регенерация</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Code Details
- Regeneration Rate: Base 1 HP per 10 ticks
- Fast Regeneration: +10 bonus when facilitation is enabled (for Hero)
- Healing Rate Formula: healRate = 1.2^bonus
- Max Healing Rate: Capped at 5x base rate (50 ticks)
- Conditions: Only heals when not starving and in unsafe level
Related mr: Entities
mr/regeneration_buff.txt · Last modified: by 127.0.0.1
