foundryvtt-wh4-lang-fr-fr/reference_scripts/Q4EQgP4gZR8TTm7S.js

9 lines
177 B
JavaScript
Raw Permalink Normal View History

let penalty = 0
if (args.item?.system.attackType)
{
penalty -= 30
}
if (args.actor.has("Second Sight", "talent"))
penalty += 10
args.prefillModifiers.modifier += penalty