â¨Mana
The Mana system in AdvancedSkills adds an extra layer of resource management and strategy to the gameplay. Mana is a magical energy that players can accumulate and spend to activate powerful talents.
How Mana Works
Players gain mana as they level up their skills. This mana can then be used to activate talents, adding a strategic element to when and how players use their abilities.
Configuring the Mana System
The mana system is configured in the mana.yml
file. Let's break down the configuration:
Let's explain each part:
enabled
: Set totrue
to activate the mana system.drop
: Iftrue
, mana will drop as an item that players need to pick up. Iffalse
, mana is given directly to the player.dropped-item
: Configures the appearance of dropped mana items.showName
: Iftrue
, the item's name will be visible.glow
: Iftrue
, the item will have a glowing effect.
gain-mana-sound
: The sound played when a player gains mana. Set to'none'
to disable. Refer to the Minecraft Sound List for options.item
: Defines the appearance of the mana item.type
: The Minecraft material type for the mana item. See the Material List for options.name
: The display name of the mana item.%amount%
will be replaced with the actual mana amount.
Integrating Mana with Skills and Talents
To integrate mana with skills, you can add a mana configuration to each skill. For example, in a skill configuration:
This configuration means:
Mana has a chance to drop each time a point is gained.
The chance increases with skill level.
Each drop gives 1 mana.
For talents, you can set a mana cost in the talent configuration:
This talent would cost 10 mana to activate.
Last updated