foundryvtt-wh4-lang-fr-fr/scripts/NkqtQaLEGYst0PUO.js

5 lines
224 B
JavaScript

if (this.actor.has("Magic Resistance", "talent"))
return
let item = await fromUuid("Compendium.wfrp4e-core.items.Item.eowbsW6oHGSNJmxV")
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})