This commit is contained in:
WBHarry 2025-07-01 11:43:00 +02:00
parent 9850d5f6e8
commit 094acbc65f
7 changed files with 26 additions and 31 deletions

View file

@ -215,6 +215,12 @@ export default class DhCharacter extends BaseDataActor {
: null;
}
get deathMoveViable() {
return (
this.resources.hitPoints.maxTotal > 0 && this.resources.hitPoints.value >= this.resources.hitPoints.maxTotal
);
}
static async unequipBeforeEquip(itemToEquip) {
const primary = this.primaryWeapon,
secondary = this.secondaryWeapon;