Does the issue occur in the editor or during gameplay?
gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Grid, Standard
Briefly describe the issue you're experiencing:
If you apply a stat buff/debuff status effect with a duration to a character, once the duration expires, the stat will restore back to it's original value.
However, if you apply a stat buff/debuff status effect with no duration, and then use the remove_status_effect function, the stat will remain at the buff/debuffed value.
Are there any errors in the in-game debug console or external console window?
None applicable
Provide the steps necessary to reproduce the issue:
- create a status effect that buffs/debuffs a stat
- test in console by applying the status with no duration
- check the stat has changed (speed is a good one to test)
- remove the status effect
- check the stat again
- Formatted the below bug report into a form. 😃 (Slayer)
This command doesn't remove the status effect, apparantly it's a bug, also the clear status effect doesn't work either. The only way the effect was able to be removed was with the duration, otherwise it stays. Specifically if this only breaks with certain effects mine was a speed buff.