Mana
Mana powers magical combat actions and spells. It scales with the Magic skill level. The engine supports equipment mana bonuses, but current equipment stat pools do not add mana.
Maximum Mana
maxMana = 50 + magicLevel * 3 + equipmentManaBonus
| Constant | Value | Description |
|---|---|---|
BASE_POOL | 50 | Base mana pool for all players |
POOL_PER_MAGIC_LEVEL | 3 | Additional mana per Magic skill level |
Combat Regen (per Round)
Mana regenerates each combat round, scaling with Magic level.
regenPerRound = 5 + magicLevel * 0.15
Passive Regen (Out of Combat)
Outside combat, mana regenerates continuously and scales with Magic level.
regenPerSecond = 0.5 + magicLevel * 0.02
Rest Healing
Resting restores mana per turn spent, also scaling with Magic level.
restHealPerTurn = 3 + magicLevel * 0.2
| Constant | Value | Description |
|---|---|---|
BASE_REGEN_PER_ROUND | 5 | Base mana regen per combat round |
REGEN_PER_MAGIC_LEVEL | 0.15 | Additional regen per Magic skill level |
PASSIVE_REGEN_PER_SECOND | 0.5 | Out-of-combat regen rate per second |
PASSIVE_REGEN_PER_MAGIC_LEVEL | 0.02 | Additional passive regen per Magic skill level |
REST_HEAL_PER_TURN | 3 | Mana healed per turn when resting |
REST_HEAL_PER_MAGIC_LEVEL | 0.2 | Additional rest healing per Magic skill level |