User Tools

Site Tools


mr:mana_regeneration_buff

Differences

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

Link to this comparison view

mr:mana_regeneration_buff [2025/12/24 22:17] – Update mana_regeneration_buff.txt with correct code references and information mikemr:mana_regeneration_buff [2025/12/24 22:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Mana Regeneration Buff - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/ManaRegeneration.java|ManaRegeneration.java]]
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no specific JSON configuration exists
 +
 +===== String Resources =====
 +''<code xml>''
 +<string name="ManaRegenerationBuff_Name">Mana Regeneration</string>
 +<string name="ManaRegenerationBuff_Info">The function for mana regeneration is in a buff form to make things easier.</string>
 +<string name="Mana_Title">Mana</string>
 +<string name="Mana_Cost">Mana Cost: </string>
 +<string name="Spells_NotEnoughSP">You do not have enough mana to cast a "%1$s" spell.</string>
 +<string name="ClassArmor_LowMana">Insufficient mana!</string>
 +<string name="HeroClass_NecromancerPerks_1">Necromancers use mana to cast Death spells.</string>
 +<string name="HeroClass_MagPerks_4">Mages use mana to cast Elemental spells.</string>
 +''</code>''
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related Information =====
 +  * This buff handles the regeneration of mana for characters
 +  * It runs every 20 turns divided by 1.2^bonus (where bonus comes from other buffs with manaRegenerationBonus)
 +  * If Fast Mana Regeneration facilitation is enabled, it adds a +10 bonus
 +  * When in unsafe areas, it accumulates skill points for the character
 +  * The regeneration rate is affected by other buffs that provide manaRegenerationBonus
  
mr/mana_regeneration_buff.txt · Last modified: by 127.0.0.1