Fix: Affichage ajustement encaissement

Pour les encaissements hors combat, rappel de l'ajustement
d'encaissement choisi
This commit is contained in:
Vincent Vandemeulebrouck 2022-10-14 00:45:53 +02:00
parent d1be242791
commit 00b3b7f9b3
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ export class RdDEncaisser extends Dialog {
this.actor.encaisserDommages({
dmg: {
total: Number(this.modifier),
ajustement: Number(this.modifier),
encaisserSpecial: this.encaisserSpecial,
loc: { result: 0, label: "" },
mortalite: mortalite

View File

@ -19,6 +19,9 @@
<div>Pénétration: -{{rollData.dmg.penetration}}</div>
{{/if}}
<hr>
{{#if encaissement.dmg.total}}
<div>+dom encaissement: {{numberFormat rollData.dmg.total decimals=0 sign=true}}</div>
{{/if}}
{{#if rollData.dmg.dmgArme}}
<div>+dom arme: {{numberFormat rollData.dmg.dmgArme decimals=0 sign=true}}</div>
{{/if}}