Skip to content

Commit

Permalink
Add party as a valid roller in StatisticCheck.roll() (#14167)
Browse files Browse the repository at this point in the history
This fixes a regression that prevented Kingdom sheet rolls
  • Loading branch information
j-bs committed Mar 11, 2024
1 parent ab7c783 commit 7805152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/system/statistic/statistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class StatisticCheck<TParent extends Statistic = Statistic> {

const isValidRoller = targetToken?.actor?.isOfType("army")
? self.isOfType("army")
: self.isOfType("creature", "hazard");
: self.isOfType("creature", "hazard", "party");
if (!isValidRoller) return null;

// This is required to determine the AC for attack dialogs
Expand Down

0 comments on commit 7805152

Please sign in to comment.