9 lines
176 B
JavaScript
9 lines
176 B
JavaScript
let penalty = 0
|
|
if (args.item?.system.attackType)
|
|
{
|
|
penalty -= 30
|
|
}
|
|
if (args.actor.has("Seconde Vue", "talent"))
|
|
penalty += 10
|
|
|
|
args.prefillModifiers.modifier += penalty |