Fix: afficher "0" au lieu de "+0"

This commit is contained in:
2023-11-11 00:03:14 +01:00
parent 9056514951
commit c938778267
36 changed files with 56 additions and 57 deletions

View File

@ -63,11 +63,9 @@
{{/unless}}
<a class='chat-card-button' id='encaisser-button' data-attackerId='{{attackerId}}'
data-defenderTokenId='{{defenderTokenId}}'>
Encaisser à {{#if (eq dmg.mortalite 'non-mortel')~}}
({{numberFormat dmg.total decimals=0 sign=true}})
{{~else~}}
{{numberFormat dmg.total decimals=0 sign=true}}
{{~/if}} !
Encaisser à {{plusMoins dmg.total}}
{{#if (eq dmg.mortalite 'non-mortel')~}}
(non-mortel) !
</a>
</span>
</div>