witchertrpg-foundryvtt / TheWitcherTRPG

GNU General Public License v3.0
14 stars 5 forks source link

[BUG] Freeze doesn't work right and breaks character sheer #118

Closed joridin closed 1 month ago

joridin commented 1 month ago

The freeze condition is broken. When added to a character, it doesn't reduce their speed and reflex, it deletes them entirely (it even deletes the text from the red stat labels in the character sheet). it also can't be canceled from within the character sheet, but must be ticked away using the token radial menu. i took a look at the code and i think it's because it's affecting the system.stats.ref and system.stats.spd instead of system.stats.ref.max and system.stats.spd.max, respectively.