Skip to content

Commit

Permalink
Merge pull request #4304 from foundryvtt/wiki/concentration
Browse files Browse the repository at this point in the history
Update concentration hooks to include activity
  • Loading branch information
arbron committed Sep 17, 2024
2 parents d02ade3 + ffc3aa6 commit 3c466c6
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions wiki/Hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,23 @@ Fires after an ability save has been rolled.

Fires before a concentration effect is created. Returning `false` will prevent concentration effect from being created.

| Name | Type | Description |
| ---------- | ------- | -------------------------------------- |
| actor | Actor5e | The actor initiating concentration. |
| item | Item5e | The item that will be concentrated on. |
| effectData | object | Data used to create the ActiveEffect. |
| Name | Type | Description |
| ---------- | -------- | ---------------------------------------------- |
| actor | Actor5e | The actor initiating concentration. |
| item | Item5e | The item that will be concentrated on. |
| effectData | object | Data used to create the ActiveEffect. |
| activity | Activity | The activity that triggered the concentration. |

### `dnd5e.beginConcentrating`

Fires after a concentration effect is created.

| Name | Type | Description |
| ------ | -------------- | --------------------------------------- |
| actor | Actor5e | The actor initiating concentration. |
| item | Item5e | The item that is being concentrated on. |
| effect | ActiveEffect5e | The created ActiveEffect instance. |
| Name | Type | Description |
| -------- | -------------- | ---------------------------------------------- |
| actor | Actor5e | The actor initiating concentration. |
| item | Item5e | The item that is being concentrated on. |
| effect | ActiveEffect5e | The created ActiveEffect instance. |
| activity | Activity | The activity that triggered the concentration. |

### `dnd5e.preEndConcentration`

Expand Down

0 comments on commit 3c466c6

Please sign in to comment.