mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
* Added prettier with automatic useage on pre-commit to avoid style breakage * Ran Prettier on the project
9 lines
352 B
JavaScript
9 lines
352 B
JavaScript
export default class DhpChatMesssage extends ChatMessage {
|
|
async renderHTML() {
|
|
if (this.type === 'dualityRoll' || this.type === 'adversaryRoll' || this.type === 'abilityUse') {
|
|
this.content = await foundry.applications.handlebars.renderTemplate(this.content, this.system);
|
|
}
|
|
|
|
return super.renderHTML();
|
|
}
|
|
}
|