Fix targeting

This commit is contained in:
Dapoolp 2025-08-13 15:50:03 +02:00
parent b5642db2cd
commit 70feaf72aa
4 changed files with 6 additions and 4 deletions

View file

@ -110,6 +110,8 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
if (this.hasTarget) {
this.hasHitTarget = this.targets.filter(t => t.hit === true).length > 0;
this.currentTargets = this.getTargetList();
console.log(this.targetMode, this.parent.targetHook)
this.registerTargetHook();
if (this.targetMode === true && this.hasRoll) {
this.targetShort = this.targets.reduce(