foundryvtt-wh4-lang-fr-fr/scripts/NnDq4miIPNEtZUWb.js

7 lines
244 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
args.test.result.critModifier = args.test.result.critModifier || 0;
args.test.result.critModifier += 20;
if (args.test.result.critical)
{
args.test.result.critical = `${game.i18n.localize("Critical")} (+${args.test.result.critModifier})`
}