This section describes how to add a new value the DRS system.
Im using the project created in the “Integration in new project” section for this guide.
Step 1 - Enumeration Entry
Step 2 - Expand Inventory
Step 3 - Character
Override the “RecalculateValue” from the parent class and add a recalulation.
You can use the function “Recalculate ValueByReference”. The result of the calculation will be stored in the referenced float variable.
Optional - Recalculate Manually
Step 4 - Use your variable
You can now use the variable “AttackSpeed” in you functions.
It will be updated when equipment changes in case you have an inventory or a modifier is changed (Gameplay effects).