Combat tab

This commit is contained in:
2023-03-22 22:43:30 +01:00
parent e0adf04753
commit 4ca23257cb
6 changed files with 26 additions and 19 deletions

View File

@@ -66,6 +66,10 @@ export class Hero6Actor extends Actor {
if (this.type == "character") {
}
}
computeDicesValue() {
this.system.biodata.presenceattack = Hero6Utility.getDerivatedDiceValue(this.system.characteristics.pre.value )
this.system.characteristics.str.strdice = Hero6Utility.getDerivatedDiceValue(this.system.characteristics.str.value )
}
/* -------------------------------------------- */
prepareDerivedData() {
@@ -73,6 +77,7 @@ export class Hero6Actor extends Actor {
this.system.encCapacity = this.getEncumbranceCapacity()
this.buildContainerTree()
this.computeHitPoints()
this.computeDicesValue()
}
super.prepareDerivedData();