Hello,
I am am using Lyra as a base for my game. I wanted to implement a stamina attribute like it is shown in this tutorial series:
The pure stamina set is working so far, I can activate abilities that reduce the stamina and show it on a second stamina bar below the health bar.
Now I wanted to implement a periodic recuperate execution which is not working. The error is:
LogAbilitySystem: Warning: Attempted to apply a scoped modifier from Default__GE_Stamina_Recuperate_C’s Attribute: BaseRecuperate, Capture: Source, Snapshot: 1 magnitude calculation that could not be properly calculated. Some attributes necessary for the calculation were missing.
If I just change the recuperate execute function to the healing one the heal is executed. I have double checked all C++ classes and compared the stamina ones with the Lyra built-in health ones but cannot find the issue here.
This is the execution implementation:
In the stamina execution function ExecutionParams.ScopedModifierAggregators is NULL which it is not when using the healing one.
Any help highly appreciated, since I am struggling with this for quite some time, ignored it a while but now I want to fix this.
Thanks in advance and best regards,
Julius (Forge of Fantasy)