From d3ffc93738fb83aab6ac21d08ec13285145a631a Mon Sep 17 00:00:00 2001 From: Archonoir-dev Date: Mon, 21 Feb 2022 21:57:10 +0000 Subject: [PATCH] Update modules/yggdrasill-actor-sheet.js --- modules/yggdrasill-actor-sheet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/yggdrasill-actor-sheet.js b/modules/yggdrasill-actor-sheet.js index d51e311..8c77380 100644 --- a/modules/yggdrasill-actor-sheet.js +++ b/modules/yggdrasill-actor-sheet.js @@ -83,10 +83,10 @@ export class YggdrasillActorSheet extends ActorSheet { dm.total = dm.max + Number(dm.bonusmalus); } /* -------------------------------------------- */ - updateDP( data ) { +updateDP( data ) { let dp = data.caracsecondaire.defensephy; dp.total = dp.max + Number(dp.bonusmalus); - dp.total += (dp.bouclierequipe) ? 3 : 0; + dp.total += this.actor.getDpBouclier(); } /* -------------------------------------------- */