Fix sconst/sust
This commit is contained in:
parent
e7ad1f2a32
commit
9d676a74d8
@ -463,9 +463,8 @@ export class RdDUtility {
|
||||
let tailleData = tableCaracDerivee[bonusDomKey];
|
||||
data.attributs.plusdom.value = tailleData.plusdom;
|
||||
|
||||
tailleData = tableCaracDerivee[Number(data.carac.taille.value)];
|
||||
data.attributs.sconst.value = tailleData.sconst;
|
||||
data.attributs.sust.value = tailleData.sust;
|
||||
data.attributs.sconst.value = tableCaracDerivee[Number(data.carac.constitution.value)].sconst;
|
||||
data.attributs.sust.value = tableCaracDerivee[Number(data.carac.taille.value)].sust;
|
||||
|
||||
data.attributs.encombrement.value = (parseInt(data.carac.force.value) + parseInt(data.carac.taille.value)) / 2;
|
||||
data.carac.melee.value = Math.floor((parseInt(data.carac.force.value) + parseInt(data.carac.agilite.value)) / 2);
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "foundryvtt-reve-de-dragon",
|
||||
"title": "Rêve de Dragon",
|
||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||
"version": "1.2.27",
|
||||
"version": "1.2.28",
|
||||
"manifestPlusVersion": "1.0.0",
|
||||
"minimumCoreVersion": "0.7.5",
|
||||
"compatibleCoreVersion": "0.7.8",
|
||||
|
Loading…
Reference in New Issue
Block a user