if (args.actor.system.details.species?.value?.toLowerCase() == "dwarf") { args.weaponProperties.flaws.undamaging = true; }