Enhancement/merge duality chat tpl (#134)

* h

* j

* Before PR

* Remove discarded class from duality roll
This commit is contained in:
Dapoulp 2025-06-14 21:44:32 +02:00 committed by GitHub
parent b7ea925276
commit 6adbb4e49b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 548 additions and 889 deletions

View file

@ -11,9 +11,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
const html = await super.renderHTML();
if (
this.type === 'dualityRoll' &&
game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance).dualityColorScheme ===
DualityRollColor.colorful.value
this.type === 'dualityRoll'
) {
html.classList.add('duality');
const dualityResult = this.system.dualityResult;