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

5 lines
275 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
if (args.test.result.critical && ['rLeg', 'lLeg'].includes(args.test.result.hitloc.result))
{
args.test.result.critModifier = args.test.result.critModifier ? args.test.result.critModifier + 20 : 20
args.test.result.critical += ` (+${args.test.result.critModifier})`
}