foundryvtt-wh4-lang-fr-fr/reference_scripts/j1AmrY1SxFJQyapo.js

4 lines
143 B
JavaScript

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