daggerheart/module/data/action
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
..
subDatas Refactor/actions v2 (#402) 2025-07-25 01:10:49 +02:00
_module.mjs [Feature] Phase Transform (#1710) 2026-03-08 14:34:22 +01:00
attackAction.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
baseAction.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
beastformAction.mjs Initial v14 fixes 2026-01-29 18:46:39 +01:00
countdownAction.mjs Fixed Countdown.migrationData assuming an array when it's actually an object (#1962) 2026-06-01 15:53:28 -04:00
damageAction.mjs [Rework] ChatMessage Damage (#2079) 2026-07-19 03:02:57 +02:00
effectAction.mjs Current Target Save & Action without roll chat message (#528) 2025-08-02 21:29:11 +02:00
healingAction.mjs Feature/chat message styles (#514) 2025-08-02 09:24:51 +02:00
macroAction.mjs Task/415 action refactor part 2 (#1094) 2025-08-27 09:00:18 +02:00
summonAction.mjs [Feature] Summon Action Implementation (#1514) 2026-01-13 10:36:29 +01:00
transformAction.mjs [Feature] Phase Transform (#1710) 2026-03-08 14:34:22 +01:00