Skip to content

Active Effects

Paul Maskelyne edited this page Jul 31, 2026 · 21 revisions

Important

Active Effects are different from Effect Items. Read how.

An Active Effect (AE) is the native Foundry functionality for modifying the nature/attributes/abilities of an Item or Actor in some way: it functions as a container for one or more changes. In the Shadowdark system, AEs are normally wrapped in an Effect Item, but you can also attach them directly to Actors. When attached to an Item, the Item transfers an AE's changes to the parent Actor whenever the Item is equipped and identified.

The AE Panel

The screenshot below shows the AE Panel in the Effects tab of the Player sheet.

ae-panel
  1. Pre-defined Effects. This dropdown lists common AEs associated with Class, Ancestry, and Talent rolls. Selecting one opens the AE UI with the Change Attribute Key pre-populated (see below).
  2. Add Effect icon. Click this to open the AE UI to create a new AE.
  3. Source. The origin of the AE. In this example, Mighty is an Ancestry Talent. The Talent type is shown on the Talents tab of the Player sheet.
  4. Toggle Effect. Click to enable/disable the AE. This button corresponds with Effect Suspended in AE UI.
  5. Toggle Situational. Click to enable/disable the AE's situational status. Enabled makes the AE optionally applicable in the attack roll dialog. For example, a +2 vs. Giants AE isn't applicable for every attack: the situational property makes the AE available to apply when it is.
  6. Edit Effect. Click to open the AE UI.
  7. Delete Effect. Click to delete.

The AE UI

The screenshot below shows the AE UI. Note that the Duration tab fields are not used (yet) in the Shadowdark system: duration is managed by the wrapping Effect Item.

Details Tab

ae-ui
  1. Icon. Click to change.
  2. Icon Tint Color. Applies selected color to AE icon on token.
  3. Effect Description. On Talents tab of Player sheet, displays when Talent name is clicked and in chat when Talent icon is clicked.
  4. Effect Suspended. Check to disable effect. This checkbox corresponds with Toggle Effect in AE Panel.
  5. Apply Effect to Actor. Applies the AE changes to the Actor possessing the AE. Should always be checked.
  6. Status Conditions. Applies the selected Status Conditions to the Actor and icons to the token.

Changes Tab

changes-tab
  1. Attribute Key. Tells the system where to apply the change. See Attribute Keys tables below.
  2. Change Mode. How the change will be applied. Usually this will be Add. A thief's Backstab might use Multiply, and a cursed item might Override an stat score.
  3. Value. The text, UUID, number, or roll formula-determined number that the change will apply.
  4. Priority. Priority determines the order changes are applied in: the higher the number, the later it applies. A Change Mode of Override defaults to 50 so it overrides anything placed below it.
  5. Add Change icon. Click to add another change.

Attribute Keys

AE changes require attribute keys that are mapped to fields on the Actor's sheet. Below is a list of possible keys. Options are contained within brackets (which should not be included in the final key) and separated by the pipe | character.

Note

  • all means "all weapons/armor of that type".
  • this means "only applies when this particular weapon/ability is used".
  • attack is inclusive of both melee and ranged.
  • Many AEs require the slugified name: How to slugify a name.
  • One AE requires a UUID: How to find an entity's UUID.

Character Keys

Key Value
system.abilities.(str|dex|con|int|wis|cha).value Number
system.attributes.ac.value Number
system.attributes.ac.(this|armor-base-type|name-of-property|unarmored) Number
system.attributes.hp.max Number
system.attributes.hp.value Number
system.languages UUID
system.level.value Number
system.level.xp Number
system.luck.available Number
system.luck.remaining Number
system.renown Number
system.slots Number
system.spellcasting.classes bard | knight-of-st.-ydris | priest | seer | warlock | witch | wizard

Roll Keys

Type Key Value
Attack system.roll.(attack|melee|ranged).advantage.(all|this|weapon-type|name-of-property) adv: 1
dis: -1
Attack system.roll.(attack|melee|ranged).bonus.(all|this|weapon-type|name-of-property) Text
Attack system.roll.(attack|melee|ranged).damage.all|this|weapon-type|name-of-property) Text
Attack system.roll.(attack|melee|ranged).damage-advantage.(all|this|weapon-type|name-of-property) adv: 1
dis: -1
Attack system.roll.(attack|melee|ranged).explode-damage-die.(all|this|weapon-type|name-of-property) Number
Attack system.roll.(attack|melee|ranged).extra-damage-die.(all|this|weapon-type|name-of-property) Number
Attack system.roll.(attack|melee|ranged).upgrade-damage-die.(all|this|weapon-type|name-of-property) 4 to -4
Attack system.roll.(attack|melee|ranged).critical-multiplier.(all|this|weapon-type|name-of-property) Number
Attack system.roll.(attack|melee|ranged).critical-success.(all|this|weapon-type|name-of-property) Number
Attack system.roll.(attack|melee|ranged).critical-failure.(all|this|weapon-type|name-of-property) Number
Class Ability system.roll.ability.advantage.(all|name-of-ability) adv: 1
dis: -1
Class Ability system.roll.ability.bonus.(all|name-of-ability) Text
Class Ability system.roll.damage.bonus.(all|name-of-ability) Text
Class Talent system.bonus.backstabdice Number
HP system.roll.hp.advantage adv: 1
dis: -1
HP system.roll.hp.bonus Number
Initiative system.roll.initiative.advantage adv: 1
dis: -1
Initiative system.roll.initiative.bonus Number
Spell system.roll.spell.advantage.(all|name-of-spell) adv: 1
dis: -1
Spell system.roll.spell.bonus.(all|name-of-spell) Number
Spell system.roll.spell.damage.(all|name-of-spell) Number
Stats system.roll.stat.advantage.(all|str|dex|con|int|wis|cha) Number
Stats system.roll.stat.bonus.(all|str|dex|con|int|wis|cha) Number

Properties List

Type Property
Armor disadvantage-stealth
Armor disadvantage-swim
Armor no-swim
Armor occupies-one-hand
Armor shield
Armor sundering
Weapon blowgun
Weapon bolas
Weapon breakable
Weapon finesse
Weapon lash
Weapon loading
Weapon returning
Weapon shuriken
Weapon sundering
Weapon thrown
Weapon two-handed
Weapon versatile

Roll Formulas: Variables and Functions in the Value field

The AE Value field accepts variables that refer to attribute keys (e.g. @attributes.hp.max, @level.value) and the functions ceil() (round down), floor() (round up), min() (return the smallest of passed values), and max() (return the largest of passed values). See Examples.

Important

Make sure to drop the system prefix for variables:
✅ @attributes.hp.max
❌ @system.attributes.hp.max

Examples

Speak Giant

  • Attribute Key: system.languages
  • Change Mode: Add
  • Value: Compendium.shadowdark.languages.Item.hW4BI5ySXhxQiYiV
  • Priority: 20 (default)

Lowered CON

Cursed item using Override.

  • Attribute Key: system.abilities.con.value
  • Change Mode: Override
  • Value: 8
  • Priority: 50 (default so it's applied last)

INT modifier-based attack bonus on specific dagger

Overrides the Finesse property's STR/DEX bonus.

  • Attribute Key: system.roll.attack.bonus.this
  • Change Mode: Override
  • Value: max(@abilities.int.mod, 0)
  • Priority: 50 (default so it's applied last)

Increased weapon damage with HP loss

+1 to both melee and ranged damage using any weapon (to a maximum of +3) for every 10 HP lost.

  • Attribute Key: system.roll.attack.damage.all
  • Change Mode: Add
  • Value: min(3, max(0, floor((@attributes.hp.max - @attributes.hp.value) / 10)))
  • Priority: 20 (default)

Increased bastard sword damage when HP <10%

+3 melee damage when using bastard swords and less than 10% of HP.

  • Attribute Key: system.roll.melee.damage.bastard-sword
  • Change Mode: Add
  • Value: (1 - ceil(min(1, max(0, @attributes.hp.value - floor(@attributes.hp.max * 0.1))))) * 3
  • Priority: 20 (default)

Clone this wiki locally