Skip to content

[V14] Roll formulas in Active Enchantments trigger console warnings #6877

Description

@Kapuzenjoe

When using roll formulas such as @prof or @abilities.cha.mod in Active Enchantments, the DnD5e system throws console warnings under certain conditions.
Example warning: "The attribute @abilities.cha.mod was not present in the provided roll data."

The roll data itself seems to be applied correctly, but the warning still appears in the console.

Steps to reproduce:

  1. Open any actor with a spell.
  2. Add an Active Enchantment to that spell.
  3. Set an effect such as: system.damage.bonus ADD @abilities.cha.mod
    Example: The PHB Agonizing Blast Version.
  4. Use the spell.
  5. Check the browser console.

Tested without modules on Foundry VTT V14 Build 359 and DnD5e 5.3.0

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions