mr:regeneration_buff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:regeneration_buff [2025/12/28 20:48] – Update regeneration_buff.txt in mr namespace with detailed technical information mike | mr:regeneration_buff [2025/12/28 20:53] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Regeneration Buff - Code References ====== | ||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Code Implementation ===== | ||
| + | This buff handles natural health regeneration for characters. The regeneration rate is affected by other buffs via regenerationBonus() method and can be modified by game facilitions (FAST_REGENERATION). | ||
| + | |||
| + | ===== Key Properties ===== | ||
| + | * **Base Regeneration Delay**: 10 turns (REGENERATION_DELAY constant) | ||
| + | * **Heal Rate Formula**: (float) Math.pow(1.2, | ||
| + | * **Fast Regeneration Facilitation**: | ||
| + | * **Safe Level Condition**: | ||
| + | * **Starving Condition**: | ||
| + | |||
| + | ===== Method Details ===== | ||
| + | * **act()**: Main action method that handles the regeneration process, calculates healing points based on bonuses, and schedules the next regeneration | ||
| + | * **attachTo()**: | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | * No specific string resources for this entity (name and description use default class name) | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
mr/regeneration_buff.txt · Last modified: by 127.0.0.1
