daggerheart/module/documents
WBHarry effab8db0c
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
[Rework] ChatMessage Damage (#2079)
* Initial rework

* Removed unneeded method

* Removed outcommented code

* Added migration

* Fixed DamageActions

* Semi-corrected reroll of one of multiple results on a die

* Code improvement

* Added aseDie.rerollResult method to specifically reroll a specific result die in a grouping

* TagTeamDialog somewhat working

* Added migration for TagTeamData

* Fix for mean tagTeamDialog.finish

* .

* Improved migration

* Internalised ChatDamageData.prepareRolls to its own constructor

* Moved DamageTypes to roll.options

* TagTeamDialog fixes to accomodate new flat damage.types structure

* Changed so all default rolls become BaseRolls to access convenience functions and getters

* .

* Fixed so that party.tagTeam now uses a declared damageRollData(ChatDamageData) field. rollData.options.damage is retired.

* Critical damage fixes

* Corrected TagTeamDialog rerender logic when selecting a roll

* Fixed so that DamageTypes are retained and joined together throughout TagTeamDialog

* Removed some remaining types.<>.roll references

* [Rework] Damage and Damage Resource split (#2094)

* Changed the label of ActionSheet damage.resources to Mark Resources

* Fix assigning includeBase

* Localize add resource

* Maybe simplify API

* Fix onRollSimple

* Handle erroring action update differently

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-07-19 03:02:57 +02:00
..
collections Add eslint and run linter in workflow (#1819) 2026-04-21 10:15:39 +10:00
_module.mjs [V14] 1605 - Template Migration (#1621) 2026-02-01 17:21:56 +01:00
_types.d.ts [Feature] Transform Linked Actors (#2046) 2026-07-03 11:14:25 +02:00
activeEffect.mjs [Fix] quirks involving expanding items and hovering over them (#2033) 2026-06-24 17:37:00 -04:00
actor.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
chatMessage.mjs Preserve description expand state on re-render (#2089) 2026-07-14 14:35:02 +02:00
combat.mjs . (#2041) 2026-06-23 23:28:04 +02:00
combatant.mjs [Feature] Encounter Battlepoints (#1346) 2025-12-06 21:11:34 +01:00
item.mjs Fix chat messages with list items or weapon/armor features (#2081) 2026-07-13 02:43:56 +02:00
rollTable.mjs Fixed a bunch of deprecations 2026-03-22 16:59:23 +01:00
scene.mjs [Feature] V14 Cleanup (#1918) 2026-05-23 12:16:25 +02:00
token.mjs [Feature] Transform Linked Actors (#2046) 2026-07-03 11:14:25 +02:00
tokenManager.mjs Add guard for null placedData (#2087) 2026-07-14 00:31:42 +02:00
tooltipManager.mjs Swap item macro tooltip with system item tooltips (#2092) 2026-07-18 18:28:42 +02:00