You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The createConcentrationEffectData calls getEfffectDurationFromItem, which tries to fetch from system.duration. This triggers a deprecation warning for all items but spells. These methods should be reworked to use activity data rather than item data.
The text was updated successfully, but these errors were encountered:
Changes a number of concentration implementation details to fully
work with activities and fix issues with concentration on
non-spell items or activities that offer concentration even if the
base item does not.
Modified `beginConcentrating` and `createConcentrationEffectData`
to accept an activity rather than an item, with a fallback that
selects the first activity and shows a deprecation warning.
Deprecated `ActiveEffect5e#getEffectDurationFromItem` and replaced
it with a `getEffectData` method on `DurationField` which serves
the same purpose.
Modified concentration checks in the activity usage process to use
`requiresConcentration` on the activity rather than the item so
that activites that require concentration on items that do not
still properly trigger.
Closes#4278Closes#4279Closes#4297
The
createConcentrationEffectData
callsgetEfffectDurationFromItem
, which tries to fetch fromsystem.duration
. This triggers a deprecation warning for all items but spells. These methods should be reworked to use activity data rather than item data.The text was updated successfully, but these errors were encountered: