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

5 lines
257 B
JavaScript
Raw Normal View History

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);
}