diff --git a/src/module/rolls/check-factory.ts b/src/module/rolls/check-factory.ts index 1ee67244..5498acab 100644 --- a/src/module/rolls/check-factory.ts +++ b/src/module/rolls/check-factory.ts @@ -33,7 +33,9 @@ class CheckFactory { private options: DS4CheckFactoryOptions; async execute(): Promise { - const innerFormula = ["ds", this.createTargetNumberModifier(), this.createCoupFumbleModifier()].filterJoin(""); + const innerFormula = ["ds", this.createCheckTargetNumberModifier(), this.createCoupFumbleModifier()].filterJoin( + "", + ); const formula = this.options.useSlayingDice ? `{${innerFormula}}x` : innerFormula; const roll = Roll.create(formula); @@ -43,7 +45,7 @@ class CheckFactory { ); } - createTargetNumberModifier(): string | null { + createCheckTargetNumberModifier(): string | null { return "v" + (this.checkTargetNumber + this.gmModifier); }