This commit is contained in:
Chris Ryan 2026-01-10 10:28:46 +10:00 committed by GitHub
commit 54b0cda45a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 647 additions and 155 deletions

View file

@ -87,6 +87,15 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
break;
}
}
if (this.type === 'fateRoll') {
html.classList.add('fate');
if (this.system.roll?.fate.fateDie == 'Hope') {
html.classList.add('hope');
}
if (this.system.roll?.fate.fateDie == 'Fear') {
html.classList.add('fear');
}
}
const autoExpandRoll = game.settings.get(
CONFIG.DH.id,