foundryvtt-wh4-lang-fr-fr/scripts/6uldpFvKOCoW92cC.js

8 lines
278 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let item = await fromUuid("Compendium.wfrp4e-core.items.uqGxFOEqeurwkAO3")
item = item.toObject()
item.system.specification.value = 10;
item.name += " (Feu)"
2024-05-16 17:57:51 +02:00
setProperty(item, "flags.wfrp4e.breath", "fire")
Item.create(item, {parent : this.actor, fromEffect: this.effect.id})