foundryvtt-wh4-lang-fr-fr/scripts/8RNziYGGb4sp3BGQ.js

5 lines
257 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (!args.test.weapon?.name.includes("Drakefire"))
{
args.test.result.misfire = game.i18n.localize("Misfire");
args.test.result.misfireDamage = (0, eval)(parseInt(args.test.result.roll.toString().split('').pop()) + args.test.weapon.system.Damage);
}