Adds source-aware Obscured Vision flat checks. The module is integrated with PF2e Flat Check Helper and PF2e Utility Buttons.
Obscured Vision compendium
You can see the readymade effects in a compendium to have an example.
Obscured Vision effects
Obscured Vision makes the actor to perceive others as if they were Concealed or Hidden. An actor is affected when it has an active effect whose name or slug contains:
obscured-vision-concealed
obscured-vision-hidden
Note, that it could be anything like obscured-vision-concealed-fire or obscured-vision-hidden-abc -- doesn't matter, as long as it contains "obscured-vision-hidden" or "obscured-vision-concealed"
Sources (e.g. fire, smoke, water, etc)
Add sources to the Obscured Vision effect with an ActiveEffectLike rule element:
{
"key": "ActiveEffectLike",
"mode": "override",
"path": "flags.pf2e-obscured-vision.source",
"value": ["fire", "smoke"]
}
Ignores
Add ignored sources with an ActiveEffectLike rule element:
{
"key": "ActiveEffectLike",
"mode": "override",
"path": "flags.pf2e-obscured-vision.ignores",
"value": ["fire", "smoke"]
}
If an Obscured Vision effect has sources fire and smoke, the actor must ignore both fire and smoke to ignore that effect. Ignoring only fire is not enough.
Perceiving
The perceiving effect is separate from source ignores.
If two actors both have an effect with slug perceiving and the same badge value, they ignore Obscured Vision effects on each other.