SC - Conditional AE
SC Conditional AE expands Active Effects in D&D 5e with powerful conditional logic, rolled formulas, automation, and an improved interface for managing effect conditions.
Create Active Effects that only apply when specific requirements are met — such as an Actor being below half HP, an Item being equipped, a Token standing in a certain lighting level, or virtually any other condition you can describe.






Features
- Conditional Active Effects
Control when an entire Active Effect should apply using customizable conditions. - D&D 5e Native Conditions
On D&D 5e 6.x, use an improved visual interface to build the system's native Active Effect filters without having to manually write JSON. - Advanced JavaScript Conditions
Create more complex rules using JavaScript when the native condition system is not enough. - Per-Change Conditions
Conditions can be applied to individual Active Effect changes, allowing different parts of the same effect to activate independently. - Condition Evaluation
Quickly see whether native and advanced conditions are currently being met directly from the Active Effect interface. - Lighting Conditions
Use the Token's current lighting level — bright, dim, or darkness — as part of your conditions. - Rolled Formulas
Active Effect changes can roll formulas when activated.
For example, an effect could automatically apply a1d4bonus or penalty instead of requiring a fixed value. - Formula Preview & Variables
Browse available variables and preview formula results while configuring an effect. - Macro Automation
Execute macros when an Active Effect is activated or removed usingcae.macro.execute, with access to the Actor, Token, Item, Effect, origin, arguments, and other contextual data. - Effect Suppression or Automatic Disable
Choose whether an unmet condition temporarily suppresses an effect's changes or automatically disables the Active Effect. - Target Application & Stacking
Control what happens when the same effect is applied to a target again:- Update the existing effect
- Stack another copy
- Follow DAE stacking behavior when DAE is active
- DAE Integration
Designed to work alongside Dynamic Active Effects (DAE) while maintaining its own advanced condition and automation features. - Foundry VTT v13 & v14 Support
Example Uses
Create effects such as:
- Gain a bonus while below half HP.
- Apply an effect only while a specific Item is equipped.
- Gain abilities only while standing in darkness.
- Apply different Active Effect changes depending on different conditions.
- Roll a random bonus such as
1d4when an effect activates. - Trigger a macro when an effect starts or ends.
- Stack multiple copies of the same effect on a target.
SC Conditional AE is designed to make complex Active Effect automation easier to configure while still providing advanced tools for users who want complete control.
Compatibility
- Foundry VTT: v13 / v14
- System: D&D 5e
- Minimum D&D 5e version: 4.0.0
- D&D 5e 6.x: Required for the new native condition builder and per-change native conditions
- Optional Integration: DAE
- Recommended: libWrapper
Documentation & Support
Wiki / Documentation
https://wiki.shattered-codex.com/modules/sc-conditional-ae
Discord — Bugs, Questions & Feature Requests
https://discord.gg/nZJVbbkMTk
Support Shattered Codex on Patreon
https://www.patreon.com/c/shatteredcodex