I have a basic attack ability, that reduces a "Hit Point" status value on the target, based on the result of a "Damage" formula (it always hits).
The ability also has an int Ability Variable, "statAttackModifier", that is referenced in the Damage formula.
If I set the statAttackModifier variable to be a fixed value, everything works perfectly. However, if I set the statAttackModifier to be another Status Value of the current User, then I get some weird behavior. Sometimes it will return the Status Value as expected, sometimes it will just return a value of zero. Is there a bug here, or am I setting something up incorrectly? Screen grab of the Ability Variable setup below.