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

11 lines
345 B
JavaScript
Raw Normal View History

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})