SpellEffectsSystem Class
System responsible for updating all active spell effects. This system only updates durations, etc. and removes effects that have expired, etc. Any modifications done by spell effects are handled by the respective systems, so for example an AttackSpeedSpellEffect will be used by the AttackSystem to calculate the final attack cooldown.
Constructor
SpellEffectsSystem
(
-
entitySystemManager
-
healthSystem
Parameters:
-
entitySystemManager
ManagerThe entity system manager whose entities this system will be working on.
-
healthSystem
HealthSystem