9 Years Ago
Refactored Stat+Modifiable quite a lot, no longer using events to deal with modifiers of different types being added or removed to the stat, instead it's all done within the Modifiable partial Renamed Stat+Tickable to Stat+Tick, now simply handles ticking! Added a "Change" type to StatModifierType, essentially ignored by most of the stat modifier system, instead on Add it just changes the stat's currentvalue (base) by whatever Value is defined in the StatModifierSettings Fixed AddUnitFlag not working Minor Effect stat mangement refactor for better clarify WeaponParams boilerplate for weapon specific effects, stat driven damage and range limitations Fixed some Effects adding the wrong flags