Larkinabout / fvtt-custom-dnd5e

11 stars 7 forks source link

[FEATURE] DAE Compatibility #78

Open MentalReject opened 2 months ago

MentalReject commented 2 months ago

Not a big priority, but when adjusting a counter with an active effect, the counter increases by the effect amount every time the character sheet is opened. Example: If an effect increases a counter by 2, it will continuously increase the counter by 2 whenever the sheet is opened instead of just increasing it by 2 once.

Larkinabout commented 1 month ago

This is a tricky one. It's nothing to do with DAE or Custom D&D 5e specifically, but how D&D and Foundry apply effects.

The difficulty is that core D&D properties modified by an effect are blocked from making changes directly. We could maybe try and do the same by clearing out the counter value before the effects are reapplied (this happens when the sheet is closed), but it would mean the counter could only be modified by effects and not directly as with core properties.