mjording / marvel-multiverse

Unofficial Marvel Multiverse Role Playing Game System for use with Foundry Virtual Tabletop. https://ko-fi.com/mjording
https://github.com/mjording/marvel-multiverse
Other
4 stars 1 forks source link

Battle Ready Trait messes with Focus value #68

Closed PascalMueller1988 closed 3 weeks ago

PascalMueller1988 commented 1 month ago

When I try to reduce the focus of a character with the Battle Ready trait the current focus value always jumps up by 30.

Example: Max focus is 150. Character spends 60 focus, so I update the focus to 90. When closing the character sheet it returns to 120.

mjording commented 3 weeks ago

having trouble duplicating this. Are you updating focus via token or sheet?

PascalMueller1988 commented 3 weeks ago

For me it happened with both. Let me see if it's still happening.

PascalMueller1988 commented 3 weeks ago

Yes, it's still happening and happens through both sheet and token.

To explain the behavior again: If I change the focus on a character token that has the Battle Ready trait, the value I enter gets modified by +30.

Example 1: If the max focus would be 210 and I enter -60 I end up with 180. Example 2: If I set the value at 120 it ends up at 150. Example 3: If I set the value to 200 (so less than 30 below max) it ends up at 210.

mjording commented 3 weeks ago

I'm unable to duplicate this. Are you on the latest version: 1.8.3?

This was an issue until battle ready was changed to only modify the Max Focus value and not the current. Could you remove battle ready as a trait and add it from the compendium again?

PascalMueller1988 commented 3 weeks ago

Yeah the old version of this trait was the problem. Seems fixed now!