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

11 lines
345 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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})