====== 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 ===== Mana Regeneration The function for mana regeneration is in a buff form to make things easier. Mana Mana Cost: You do not have enough mana to cast a "%1$s" spell. Insufficient mana! Necromancers use mana to cast Death spells. Mages use mana to cast Elemental spells. ===== 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