There seems to be a bug in sacred weapon if the weapon has not default bonus, I think it can be fixed via (at least worked in my test) in the function sacredWeapon_item:
let attackBonus = Math.max(1, workflow.actor.system.abilities.cha.mod);
if (![undefined, null, ""].includes(selection.system.attackBonus)) {
attackBonus = selection.system.attackBonus + ' + ' + attackBonus;
}
Since the bonus can be undefined rather than just "" - not sure if that's a dnd5e 3.x thing or not.
There seems to be a bug in sacred weapon if the weapon has not default bonus, I think it can be fixed via (at least worked in my test) in the function sacredWeapon_item:
Since the bonus can be undefined rather than just "" - not sure if that's a dnd5e 3.x thing or not.