---
# System prepended metadata

title: FoundryVTT v10 dnd5e v2.0.0 Active Effects Examples
tags: [active-effects]

---

# FoundryVTT v10 dnd5e v2.0.0 Active Effects Examples
###### tags: `active-effects`


![Up to date as of 2.0.2](https://img.shields.io/badge/dnd5e-v2.0.2-informational)

:::info
For Foundry Core v9 and dnd5e versions lower than 2.0.0, see the previous document.
:::



This document only covers Active Effects available to the Core dnd5e System.

### Legend

#### `[number]`

These square brakets mean "replace this with your value of the type within the brackets".

So this example: `+[number]` would mean you input `+3`.

#### `[formula]`
When `formula` is mentioned in this document it means this value can be populated with any dice formula. For example, Bless adds several effects with the Effect Value of `1d4`.


As part of this, an Actor's Rolldata is available as "@attributes." These are detailed in the [dnd5e system wiki](https://github.com/foundryvtt/dnd5e/wiki/Roll-Formulas).

:::warning
Note that when using formulas in an Active Effect Value, the actor sheet display that corresponds to the changed value will not display the evaluated formula, but it will be applied when rolled.

E.g. When adding `@abilities.cha.mod` to `system.bonuses.abilities.save` to simulate a Paladin's Aura of Protection, the actor sheet will not display that bonus applied to saving throws. The bonus will be present when the saving throw is rolled.
:::

To find out more about these, this post from Unsoluble in the [FoundryVTT Discord server](https://discord.gg/foundryvtt)'s #core-how-to channel can help:

> To explore the data model in order to refer to inline properties like character levels, attributes, and other values, here are a few approaches:
>
> • Select a token, then open up the dev tools (F12 on Win; ⌥⌘I on Mac), and paste this into the Console:
`console.log(canvas.tokens.controlled[0].actor.getRollData());`
>
> • Or: Install the "Autocomplete Inline Properties" module, to be able to just start typing in a supported field and have the available properties pop up (not all systems supported yet).
>
> • Or: Install this module (by pasting this manifest URL into the bottom of the Install Module window), enable it in your world, find and import its macro from the bundled Compendium, and run it on the selected token. `https://raw.githubusercontent.com/relick/FoundryVTT-Actor-Attribute-Lists/master/module.json`
>
> • Or: Right-click an actor in the sidebar and choose Export Data, which will get you a JSON file you can browse through. 


## Commonly Desired Effect Examples

### Abilities

```
data.abilities.[abbreviation].value
                              bonuses.check
                                      save
```


:::info
<details>
<summary>Ability Abbreviations</summary>

| Ability      | Abbreviation |
| ------------ | ------------ |
| Strength     | `str`        |
| Dexterity    | `dex`        |
| Constitution | `con`        |
| Wisdom       | `wis`        |
| Intelligence | `int`        |
| Charisma     | `cha`        |


Source: `CONFIG.DND5E.abilities`
  
</details>
:::

#### Overriding an Ability Value
E.g. an Item or potion that sets an ability score to a set value while in use

:::warning
This is a little sketchy because you'll still be able to edit the value on the actor sheet, but it will revert to the active effect value when the sheet is closed and reopened.
:::


| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.abilities.[abbreviation].value`     | Override     | `[number]`     |

#### Bonus to a Specific Ability Save

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.abilities.[abbreviation].bonuses.save`     | Add     | `+[number/formula]`     |


#### Bonus to a Specific Ability Check

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.abilities.[abbreviation].bonuses.check`     | Add     | `+[number/formula]`     |


#### Bonus to All Ability Checks

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.abilities.skill`     | Add     | `+[number/formula]`     |


#### Bonus to All Ability Saves

E.g. Paladin Aura of Protection

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.abilities.save`     | Add     | `+[number/formula]`     |

---

### Skills
```
data.skills.[abbreviation].bonuses.check
                                   passive
```

:::info
<details>
<summary>Skill Abbreviations</summary>

| Skill           | Abbreviation |
| --------------- | ------------ |
| Acrobatics      | `acr`        |
| Animal Handling | `ani`        |
| Arcana          | `arc`        |
| Athletics       | `ath`        |
| Deception       | `dec`        |
| History         | `his`        |
| Insight         | `ins`        |
| Investigation   | `inv`        |
| Intimidation    | `itm`        |
| Medicine        | `med`        |
| Nature          | `nat`        |
| Persuasion      | `per`        |
| Perception      | `prc`        |
| Performance     | `prf`        |
| Religion        | `rel`        |
| Sleight of Hand | `slt`        |
| Stealth         | `ste`        |
| Survival        | `sur`        |

Source: `CONFIG.DND5E.skills`
</details>
:::

#### Bonus to a Specific Skill Check

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.skills.[abbreviation].bonuses.check`     | Add     | `+[number/formula]`     |

#### Bonus to a Specific Skill Passive

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.skills.[abbreviation].bonuses.passive`     | Add     | `+[number/formula]`     |

#### Bonus to All Skill Checks

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.abilities.skill`     | Add     | `+[number/formula]`     |

#### Bonus to Initiative

Initiative is not quite a skill but behaves similarly.

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.attributes.init.bonus`     | Add     | `+[number]`     |

---

### Movement

```
data.attributes.movement.[movementType]
```

:::info
<details>
<summary>Movement Types</summary>

| Movement Type | Value    |
| ------------- | -------- |
| Burrow        | `burrow` |
| Climb         | `climb`  |
| Fly           | `fly`    |
| Swim          | `swim`   |
| Walk          | `walk`   |

Source: `CONFIG.DND5E.movementTypes`
</details>
:::

#### Multiply Speed by modifier
E.g. An Item or Spell which doubles/halves/etc. an Actor's speed.

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.attributes.movement.[movementType]`     | Multiply     | `[number]`     |


#### Add a different Speed
E.g. An Item or Spell which grants an Actor a flying or swimming speed.

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.attributes.movement.[movementType]`     | Override     | `[number]`     |

---

### Armor Class

```
data.attributes.ac.bonus
                   formula
                   calc
                   cover
                   flat
```

#### Add a Bonus to AC

E.g. An Item or Spell which adds to the Actor's current AC to something for the duration.

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.attributes.ac.bonus`     | Add     | `+[number]`     |



#### Override the AC Calculation to a custom formula

E.g. An Item or Spell which sets the Actor's AC to something like `12 + Int` for the duration.

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.attributes.ac.calc`     | Override     | `custom`     |
| `data.attributes.ac.formula`     | Custom     | `10 + @abilities.str.mod`     |

---

### Attack Roll Bonuses

```
data.bonuses.msak.attack
             mwak
             rsak
             rwak
```

:::info
<details>
<summary>Attack Roll Types</summary>

| Movement Type        | Value  |
| -------------------- | ------ |
| Melee Spell attack   | `msak` |
| Melee Weapon attack  | `mwak` |
| Ranged Spell attack  | `rsak` |
| Ranged Weapon attack | `rwak` |

Source: `CONFIG.DND5E.itemActionTypes`
</details>
:::


#### Bonus to All Melee Attack Rolls (both spell and weapon)

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.mwak.attack`     | Add     | `+[number/formula]`     |
| `data.bonuses.msak.attack`     | Add     | `+[number/formula]`     |


#### Bonus to All Ranged Attack Rolls (both spell and weapon)

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.rwak.attack`     | Add     | `+[number/formula]`     |
| `data.bonuses.rsak.attack`     | Add     | `+[number/formula]`     |

---

### Damage Roll Bonuses

```
data.bonuses.msak.damage
             mwak
             rsak
             rwak
```

:::info
<details>
<summary>Attack Roll Types</summary>

| Movement Type        | Value  |
| -------------------- | ------ |
| Melee Spell attack   | `msak` |
| Melee Weapon attack  | `mwak` |
| Ranged Spell attack  | `rsak` |
| Ranged Weapon attack | `rwak` |

Source: `CONFIG.DND5E.itemActionTypes`
</details>
:::


#### Bonus to All Melee Attack Damage Rolls (both spell and weapon)

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.mwak.damage`     | Add     | `+[number/formula]`     |
| `data.bonuses.msak.damage`     | Add     | `+[number/formula]`     |


#### Bonus to All Ranged Attack Damage Rolls (both spell and weapon)

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.bonuses.rwak.damage`     | Add     | `+[number/formula]`     |
| `data.bonuses.rsak.damage`     | Add     | `+[number/formula]`     |

---

### Immunities/Resistances/Vulnerabilities

```
data.traits.ci.value
            di
            dr
            dv
```

:::warning
These only serve as a marker on the actor sheet, the core system has no automations around immunities, resistances, or vulnerabilities.
:::

#### Add a Condition Immunity
:::info
<details>
<summary>Condition Types</summary>

| Condition     | Value           |
| ------------- | --------------- |
| Blinded       | `blinded`       |
| Charmed       | `charmed`       |
| Deafened      | `deafened`      |
| Diseased      | `diseased`      |
| Exhaustion    | `exhaustion`    |
| Frightened    | `frightened`    |
| Grappled      | `grappled`      |
| Incapacitated | `incapacitated` |
| Invisible     | `invisible`     |
| Paralyzed     | `paralyzed`     |
| Petrified     | `petrified`     |
| Poisoned      | `poisoned`      |
| Prone         | `prone`         |
| Restrained    | `restrained`    |
| Stunned       | `stunned`       |
| Unconscious   | `unconscious`   |

Source: `CONFIG.DND5E.conditionTypes`
</details>
:::

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.traits.ci.value`     | Add     | `[conditionType]`     |

#### Add a Damage Type Immunity
:::info
<details>
<summary>Damage Types</summary>

| Damage Type | Value         |
| ----------- | ------------- |
| Acid        | `acid`        |
| Bludgeoning | `bludgeoning` |
| Cold        | `cold`        |
| Fire        | `fire`        |
| Force       | `force`       |
| Lightning   | `lightning`   |
| Necrotic    | `necrotic`    |
| Piercing    | `piercing`    |
| Poison      | `poison`      |
| Psychic     | `psychic`     |
| Radiant     | `radiant`     |
| Slashing    | `slashing`    |
| Thunder     | `thunder`     |
  
Source: `CONFIG.DND5E.damageTypes`
</details>
:::

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.traits.di.value`     | Add     | `[damageType]`     |

#### Add a Damage Type Resistance

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.traits.dr.value`     | Add     | `[damageType]`     |

#### Add a Damage Type Vulnerability

| Attribute Key | Change Mode | Effect Value |
| -------- | -------- | -------- |
| `data.traits.dv.value`     | Add     | `[damageType]`     |
