4 lines
126 B
JavaScript

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