Skip to content

[#6675] add advantage mode for dodging and heavilyEncumbered conditions effects#6859

Open
Kapuzenjoe wants to merge 2 commits intofoundryvtt:5.3.xfrom
Kapuzenjoe:6675-condition-effects
Open

[#6675] add advantage mode for dodging and heavilyEncumbered conditions effects#6859
Kapuzenjoe wants to merge 2 commits intofoundryvtt:5.3.xfrom
Kapuzenjoe:6675-condition-effects

Conversation

@Kapuzenjoe
Copy link
Copy Markdown
Contributor

A direct movement.speed === 0 check for the actor is not reliable in hasConditionEffect(), because movement has not been fully resolved yet during ability roll-mode preparation. Supporting that properly would require a broader change to preparation order or moving the rule to a later stage.

Because of that, this PR uses the existing noMovement condition path instead. That keeps the logic consistent with CONFIG.DND5E.conditionEffects and avoids a more invasive change for this issue.

For the heavilyEncumbered part, I used the name strengthDexterityConstitutionCheckDisadvantage. It is explicit, though I think something shorter like physicalCheckDisadvantage could also be a reasonable option.

The attack disadvantage/advantage part is not addressed in this PR.

@Fyorl Fyorl added system: active effects priority: medium strategic Requires sign-off from a core Foundry VTT developer before merge. labels Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium strategic Requires sign-off from a core Foundry VTT developer before merge. system: active effects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants