First row of tests and fixes
This commit is contained in:
@@ -63,12 +63,5 @@ export default class AwECharacter extends foundry.abstract.TypeDataModel {
|
||||
attr.mod = level + attr.boostLevel + attr.bonus
|
||||
attr.dc = 10 + attr.mod
|
||||
}
|
||||
|
||||
// Compute max HP if not overridden
|
||||
// Base HP = 10 + (level * 2) + fitness modifier
|
||||
const fitnessMod = this.attributes.fitness.mod ?? 0
|
||||
if (this.hp.max === 10) {
|
||||
this.hp.max = 10 + (level * 2) + fitnessMod
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user