4 lines
143 B
JavaScript

if (this.actor.status.advantage.value > 0 && args.item.system.attackType)
{
args.item.system.qualities.value.push({name : "penetrating"})
}