Skip to content

[Rework] ChatMessage Damage#2079

Merged
WBHarry merged 32 commits into
mainfrom
rework/chat-message-damage
Jul 19, 2026
Merged

[Rework] ChatMessage Damage#2079
WBHarry merged 32 commits into
mainfrom
rework/chat-message-damage

Conversation

@WBHarry

@WBHarry WBHarry commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Changed so that ActorRoll.Damage is hard defined in ActorRoll.mjs instead of just being a nebulous ObjectField.
It's intended to hold keys for the various damage types IE hitPoints, stress etc.
The keyed objects hold the unaugmented JSON for the damage roll, aswell as auxiliary data like damageTypes used for hitPoint damage. Previously we were saving a -lot- of information that could easily go out of data and was very hard to keep track of. Now we can reroll the unagumented roll straight up and not have issues.

@WBHarry
WBHarry marked this pull request as ready for review July 15, 2026 00:02
Comment thread module/applications/ui/chatLog.mjs Outdated
Comment thread module/applications/ui/chatLog.mjs Outdated
Comment thread module/data/chat-message/actorRoll.mjs Outdated
@WBHarry

WBHarry commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

I realised now that there are needed changes to TagTeamDialog aswell since it handles and saves damage data.
Going to have to go over that and migrate that data aswell

Comment thread module/data/chat-message/chatDamageData.mjs Outdated
Comment thread module/systemRegistration/migration-handlers/2_6_0.mjs Outdated
@WBHarry
WBHarry merged commit effab8d into main Jul 19, 2026
1 check passed
@WBHarry
WBHarry deleted the rework/chat-message-damage branch July 19, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants