failure mark only for agent

This commit is contained in:
Mykhailo Budiakov
2025-08-20 23:47:50 +03:00
parent 9828d55dbc
commit 322961623a
+1
View File
@@ -278,6 +278,7 @@ export class DGPercentileRoll extends DGRoll {
}
const failureMark =
this.actor?.type === "agent" &&
!this.isSuccess &&
this.skillPath &&
!foundry.utils.getProperty(this.actor, `${this.skillPath}.failure`) &&