Skip to content

Clean up updateDowned by using fromStatusEffect - #7249

Open
roth-michael wants to merge 1 commit into
foundryvtt:6.0.xfrom
roth-michael:clean-update-downed
Open

Clean up updateDowned by using fromStatusEffect#7249
roth-michael wants to merge 1 commit into
foundryvtt:6.0.xfrom
roth-michael:clean-update-downed

Conversation

@roth-michael

Copy link
Copy Markdown
Contributor

A minor improvement, but a good one I think. Any calls to updateDowned were already being awaited, so the change to async isn't impactful. Using fromStatusEffect instead of manually recreating the results of it twice (once for each condition) saves some lines of code, and means less tech debt if there are any future changes to the way we'd want to create such an effect.

@thatlonelybugbear

thatlonelybugbear commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Forcing overlay: true for Dead, seems a bit too invasive.

Maybe a setting for both statuses overlay behaviour would be better received?

PS: Probably not the best spot to discuss that, but oh well, if needed I can split to a new issue?

@Fyorl Fyorl added system: active effects priority: high uncontroversial Can be merged with at least one Maintainer sign-off. labels Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: high system: active effects uncontroversial Can be merged with at least one Maintainer sign-off.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants