Update modules/yggdrasill-actor-sheet.js

This commit is contained in:
Archonoir-dev 2022-02-21 21:57:10 +00:00
parent d4a005fafb
commit d3ffc93738

View File

@ -86,7 +86,7 @@ export class YggdrasillActorSheet extends ActorSheet {
updateDP( data ) { updateDP( data ) {
let dp = data.caracsecondaire.defensephy; let dp = data.caracsecondaire.defensephy;
dp.total = dp.max + Number(dp.bonusmalus); dp.total = dp.max + Number(dp.bonusmalus);
dp.total += (dp.bouclierequipe) ? 3 : 0; dp.total += this.actor.getDpBouclier();
} }
/* -------------------------------------------- */ /* -------------------------------------------- */