Correction malus armure/enc.flag

This commit is contained in:
Vincent Vandemeulebrouck 2020-12-06 21:57:41 +01:00
parent ce3c2f21cd
commit fc38cc2543

View File

@ -33,8 +33,8 @@ export class RdDRoll extends Dialog {
finalLevel: 0,
diffConditions: 0,
diffLibre: 0,
malusArmureValue: 0,
surencMalusFlag: actor.data.data.attributs ? actor.data.data.attributs.malusarmure.value : 0,
malusArmureValue: actor.data.data.attributs ? actor.data.data.attributs.malusarmure.value : 0,
surencMalusFlag: (actor.data.data.compteurs.surenc.value < 0),
surencMalusValue: actor.data.data.compteurs.surenc.value,
surencMalusApply: false,
isNatation: false,