This repository was archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
PlayerStatsSystem.cs
Erik edited this page Apr 22, 2019
·
1 revision
- ApplyAugments() - Re-initializes the character and applies all augments.
- StatsChanged - trigger point for event
- None
This script first Hooks the Player's base stats into its components, then it hooks the Weapon's base stats into its components. Then it iterates through all StatAugment components and applies augments in order of priority. Then it applies PlayerUpgrades. This effectively recalculates the player's stats "from the ground up" every time there is a stat change while still allowing multiple different scripts to act as effectors.
Script Documentation
General Scripts
Generic Character Scripts
Enemy Scripts
Player Scripts
Erik's ongoing laundry list of TODOs that he doesn't want to create issues for