Merge branch 'v1.5-entier' into 'v1.5'

Conversion ajustements en entiers

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!292
This commit is contained in:
Leratier Bretonnien 2021-10-29 21:21:47 +00:00
commit 8d569c2b56

View File

@ -165,7 +165,7 @@ export class RollDataAjustements {
let sum = 0;
for (var key in ajustements) {
if (ajustements[key].used && !ajustements[key].descr) {
sum += ajustements[key].value;
sum += parseInt(ajustements[key].value);
}
}
return sum;