Please enable JavaScript.
Coggle requires JavaScript to display documents.
Stat System, Effect, Stat, TargetDecorators, Target, Player Clicks on…
-
-
-
-
-
-
- Player Clicks on Skill UI Button or Action Key
- Game Data holds references for Ability Action Bar, Ability List and current character Actor
- When Player performs action, the correct skill/action is pulled from the Ability list and passed to the Actor
- Abilities are made up of Effects that modify the Stat/Status values of Actors.
- When the final Values of the ability's Effects are calculated, the array of Effects are passed to the Target Actor script. Target Decorators are then applied to each Effect and the Effects are passed to the StatSystem of the Target
- When the actor receives the Ability, it loops through each Effect contained within and applies the Actor Decorator Set. Type is used to determine if the Effect modifies Value, Pulse Rate or Duration.
- Stat Limiters ensure that the Value of Stats do not go outside the boundaries of what they should be.
-