daggerheart/module/data/actor
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
..
_module.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
_types.d.ts Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
adversary.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
base.mjs Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
character.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
companion.mjs [Fix] V13 Migration Fixes (#2044) 2026-06-29 14:22:12 +02:00
creature.mjs [Fix] companion hope levelup feature and default stress (#1839) 2026-04-26 11:20:06 +02:00
environment.mjs Show notification when invalid item types are added to actors (#1807) 2026-04-16 08:23:25 +02:00
npc.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
party.mjs Prevent class sheet and character errors when features/domains no longer exist (#1833) 2026-04-24 20:49:42 +02:00
tierAdjustment.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00