Implements modifier and stats system
Adds a modifier and stats system to manage combat-related attributes. Introduces StatsComponent for storing entity statistics and ModifierManager for applying dynamic modifiers. Recalculates stats based on modifier type and priority. Updates projectile and weapon components to utilize the new stats system.
This commit is contained in:
parent
f97521decc
commit
19cc8cb573
13 changed files with 178 additions and 65 deletions
|
|
@ -11,4 +11,13 @@ const MAP_EMPTY = 0
|
|||
const MAP_PATH = 1
|
||||
const MAP_START = 2
|
||||
const MAP_FINISH = 4
|
||||
const MAP_UP_CELL = 3
|
||||
const MAP_UP_CELL = 3
|
||||
|
||||
const ELEMENTS = {
|
||||
"NONE": 0,
|
||||
"FIRE": 1,
|
||||
"WATER": 2,
|
||||
"EARTH": 3,
|
||||
"AIR": 4,
|
||||
"THUNDER": 5,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue