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

11 lines
345 B
JavaScript

this.actor.createEmbeddedDocuments("Item", [expandObject({
name : "Ghostly Flame",
type : "weapon",
img : this.effect.img,
system : {
"weaponGroup.value" : "throwing",
"damage.value" : "SB + WPB",
"qualities.value" : [{name : "magical"}],
"equipped" : true
}
})], {fromEffect: this.effect.id})