Files
foundryvtt-wh4-lang-fr-fr/scripts/16c0m6PsDXWh86uN.js
T
2026-05-18 07:23:40 +02:00

5 lines
197 B
JavaScript

let property = this.effect.getFlag("wfrp4e", "property");
if (property && !this.item.system.flaws.value.find(i => i.name == property));
{
this.item.system.flaws.value.push({name : property});
}