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

9 lines
176 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let penalty = 0
if (args.item?.system.attackType)
{
penalty -= 30
}
if (args.actor.has("Seconde Vue", "talent"))
2024-05-16 17:57:51 +02:00
penalty += 10
args.prefillModifiers.modifier += penalty