forked from public/fvtt-yggdrasill
		
	Update modules/yggdrasill-actor-sheet.js
This commit is contained in:
		| @@ -83,10 +83,10 @@ export class YggdrasillActorSheet extends ActorSheet { | |||||||
|     dm.total = dm.max + Number(dm.bonusmalus); |     dm.total = dm.max + Number(dm.bonusmalus); | ||||||
|   } |   } | ||||||
|   /* -------------------------------------------- */ |   /* -------------------------------------------- */ | ||||||
|   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(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   /* -------------------------------------------- */ |   /* -------------------------------------------- */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user