let penalty = 0 if (args.item?.system.attackType) { penalty -= 30 } if (args.actor.has(game.i18n.localize("NAME.SecondSight"), "talent")) penalty += 10 args.fields.modifier += penalty