Add all systems effects scripts + translations
This commit is contained in:
@ -4,7 +4,8 @@ if (args.test.options.useOnesAttractive && (args.test.result.roll <= game.settin
|
||||
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.data.result.SL = "+" + (ones + args.test.successBonus + args.test.slBonus)
|
||||
args.test.result.other.push(`<b>${this.effect.name}</b>: Used unit dice as SL`)
|
||||
if (ones > SL) {
|
||||
args.test.data.result.SL = "+" + (ones + args.test.successBonus + args.test.slBonus)
|
||||
args.test.result.other.push(`<b>${this.effect.name}</b>: Utilise le dé d'unité comme DR`)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user