Opened 4 years ago
#6066 new enhancement
Implement general extensible way of stat-changes.
Reported by: | Freagarach | Owned by: | |
---|---|---|---|
Priority: | If Time Permits | Milestone: | Backlog |
Component: | Simulation | Keywords: | design |
Cc: | Patch: |
Description
Currently trickes for e.g. experience, health or resources, are handled by those components themselves, leading to duplication.
As discussed at Phab:D1718, especially mentioned Phab:D1718#157085, it would be nice to be able to have a component to handle such changes. This looks similar to Status Effects, especially the damaging node therein, so one could perhaps pull that out of there as well.
Main idea would be to use this for components which have a notion of a current value vs a max value, which can dynamically in-/decrease.