Skip to content

Commit

Permalink
SonarLitn fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunomiac committed Nov 27, 2023
1 parent e74492e commit e993b23
Show file tree
Hide file tree
Showing 23 changed files with 1,366 additions and 1,471 deletions.
1,697 changes: 809 additions & 888 deletions css/style.min.css

Large diffs are not rendered by default.

266 changes: 124 additions & 142 deletions css/tinymce/content.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions module/core/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ export var PrereqType;
PrereqType["Not_HasAllTags"] = "Not_HasAllTags";
PrereqType["Not_HasAnyTag"] = "Not_HasAnyTag";
})(PrereqType || (PrereqType = {}));
export var ClockColor;
(function (ClockColor) {
ClockColor["yellow"] = "yellow";
ClockColor["red"] = "red";
ClockColor["white"] = "white";
ClockColor["cyan"] = "cyan";
})(ClockColor || (ClockColor = {}));
export var District;
(function (District) {
District["Barrowcleft"] = "Barrowcleft";
Expand Down
6 changes: 4 additions & 2 deletions module/documents/items/BladesClock.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import { BladesActorType, Factor } from "../../core/constants.js";
import U from "../../core/utilities.js";
import BladesActor from "../../BladesActor.js";
class BladesClock extends BladesItem {
get value() { return this.system.value; }
get max() { return this.system.max; }
get color() { return this.system.color; }
get rollFactors() {
const factorData = {};
[
Factor.tier,
Factor.quality,
Factor.scale
Factor.quality
].forEach((factor, i) => {
const factorTotal = this.getFactorTotal(factor);
factorData[factor] = {
Expand Down
Loading

0 comments on commit e993b23

Please sign in to comment.