Merge pull request #332 from deltagreen-foundryvtt/reyzor/exclude-unnatural-from-failureMark
Fix #328 - Exclude Unnatural from Marked Failed Checks
This commit is contained in:
@@ -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:**
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user