mclemente / fvtt-condition-lab-triggler

Condition Lab & Triggler module for Foundry Virtual Tabletop
GNU General Public License v3.0
6 stars 4 forks source link

getCondition won't find a default status effect #33

Closed strongpauly closed 8 months ago

strongpauly commented 9 months ago

Describe the bug If Remove Default Status Effects is false, the default status effects cannot be found by the getCondition api method.

To Reproduce Steps to reproduce the behavior:

  1. Set Remove Default Status Effects to false in the module settings.
  2. In the condition lab, configure an effect to trigger a default status effect, e.g. by adding an Active Effect, Attribute Key = "macro.CUB", Change mode = "Add" and Effect Value = "Concentrating"
  3. Select a token
  4. Apply the effect

Expected behavior Both effects should be toggled on

Actual behaviour Error shown: Apply Condition failed. Could not find condition: Concentrating

Environment Info (please complete the following information):

Additional context Add any other context about the problem here.