Skip to content

Commit

Permalink
Update autoColorRing.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ authored Sep 1, 2024
1 parent 169956a commit fa43156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/autoColorRing.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function autoColorRing() {
const party = game.actors?.party;
const partyMembers = party?.members || [];
const partyLevel =
partyMembers.reduce((tot, char) => tot + (char.level || 0), 0) /
partyMembers?.reduce((tot, char) => tot + (char.level || 0), 0) /
(partyMembers.length || 1) || 1;
const levelDiff = (token?.actor?.level || 0) - partyLevel;
const levelKey =
Expand Down

0 comments on commit fa43156

Please sign in to comment.