DEV Community

Maiu
Maiu

Posted on

JavaScript MMORPG - Maiu Online - #babylonjs - Ep36: Character statistic system

Hello Adventurers,
After adding levels I added player statistics:
-strength
-agility
-vitality
-energy
For each level character receives 5pkt to spend. Strength, agility, energy have impact on the ability dmg (depends on the ability type). Knight gains from strength, archer from agility and wizard from energy.
4th stat vitality adds 2pts of HP for each point spent.
You can see distinction between base and effective stats. Base are simply stats added from the spend level points. Effective in the future will be base + armor bonuses etc. All combat stats/hp are calculated from the effective stats.

Top comments (2)

Collapse
 
orion3d profile image
Orion3D

Looking good @maiu :)

Collapse
 
maiu profile image
Maiu

Thanks @orion3d :)