This commit is contained in:
WBHarry 2026-03-30 22:25:10 +02:00
parent bf5a6d2a4d
commit fe0cb4468c
3 changed files with 25 additions and 9 deletions

View file

@ -84,10 +84,10 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
}
if (this.type === 'fateRoll') {
html.classList.add('fate');
if (this.system.roll?.fate.fateDie == 'Hope') {
if (this.system.roll?.fateDie == 'Hope') {
html.classList.add('hope');
}
if (this.system.roll?.fate.fateDie == 'Fear') {
if (this.system.roll?.fateDie == 'Fear') {
html.classList.add('fear');
}
}