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

10 lines
279 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
args.flags.earCount = Number.isNumeric(args.flags.earCount) ? args.flags.earCount+1 : 1;
if (args.characteristic == "fel")
{
args.fields.modifier -= 5;
}
if (args.flags.earCount == 2 && args.skill?.name == game.i18n.localize("NAME.Perception"))
{
args.fields.modifier -= 20;
}