328 - Exclude Unnatural from Marked Failed Checks

This commit is contained in:
Mykhailo Budiakov
2026-02-04 15:10:30 +02:00
parent df669e1ae4
commit 533ff1e358
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
### **Features:**
- [#312](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/312) - Add tooltip to Breaking point.
- [#328](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/328) - Exclude Unnatural from Marked Failed Checks
### **Bug Fixes:**
+1
View File
@@ -285,6 +285,7 @@ export class DGPercentileRoll extends DGRoll {
this.actor?.type === "agent" &&
!this.isSuccess &&
this.skillPath &&
this.key !== "unnatural" &&
!foundry.utils.getProperty(this.actor, `${this.skillPath}.failure`) &&
game.settings.get(DG.ID, "skillFailure");