mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
11 lines
387 B
JavaScript
11 lines
387 B
JavaScript
export default class BaseRoll extends Roll {
|
|
/** @inheritdoc */
|
|
static CHAT_TEMPLATE = 'systems/daggerheart/templates/ui/chat/foundryRoll.hbs';
|
|
|
|
/** @inheritdoc */
|
|
static TOOLTIP_TEMPLATE = 'systems/daggerheart/templates/ui/chat/foundryRollTooltip.hbs';
|
|
|
|
get modifierTotal() {
|
|
return this.total - this.dice.reduce((acc, dice) => acc + dice.total, 0);
|
|
}
|
|
}
|