Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 01:07:37 +02:00
parent 0b286ac994
commit 7b97578bd7
191 changed files with 379 additions and 381 deletions

View File

@ -1,8 +1,8 @@
let roll = Math.ceil(CONFIG.Dice.randomUniform() * 10)
if (args.test.isFumble && roll == 1 && !args.test.result.misfire)
{
args.test.result.misfire = game.i18n.localize("Misfire") + " (Rolled 1)"
args.test.result.misfire = game.i18n.localize("Misfire") + " (Résultat 1)"
args.test.result.misfireDamage = eval(parseInt(args.test.result.roll.toString().split('').pop()) + args.test.item.Damage)
}
else if (args.test.isFumble && roll != 1)
args.test.result.other.push("Misfire Roll: " + roll)
args.test.result.other.push("Raté résultat: " + roll)