This commit is contained in:
2025-05-02 12:24:44 +02:00
commit 39e925cc1b
3238 changed files with 110472 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
if (args.test.options.cardsharp && args.test.succeeded)
{
let SL = Math.floor(args.test.target / 10) - Math.floor(args.test.result.roll / 10)
let ones = Number(args.test.result.roll.toString().split("").pop())
if (ones > SL)
args.test.result.other.push(`<span class="hide-option"><b>${this.effect.name}</b>: ${ones + args.test.successBonus + args.test.slBonus} SL</span>`)
}