mr:mana
Differences
This shows you the differences between two versions of the page.
| mr:mana [2025/12/27 17:25] – Add machine-readable data page for mana (skill points) mike | mr:mana [2025/12/27 17:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mana (Skill Points) - Code References ====== | ||
| + | ===== Entity Kind ===== | ||
| + | mana | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | (No specific Lua script for mana itself, but used in various spell scripts) | ||
| + | |||
| + | ===== Code Implementation ===== | ||
| + | * The game uses skill points instead of traditional " | ||
| + | * Hero class manages skill points with getSkillPoints(), | ||
| + | * The skill points are displayed as " | ||
| + | * ManaRegeneration buff handles passive regeneration of skill points | ||
| + | * Various items and abilities consume skill points when used | ||
| + | |||
| + | ===== Skill Points Mechanics ===== | ||
| + | * getSkillPoints() - Returns current skill points | ||
| + | * getSkillPointsMax() - Returns maximum skill points | ||
| + | * setSkillPoints() - Sets skill points to specific value | ||
| + | * spendSkillPoints() - Reduces skill points by specified cost | ||
| + | * accumulateSkillPoints() - Increases skill points by specified amount | ||
