2024-05-16 17:57:51 +02:00
|
|
|
let bite = await fromUuid("Compendium.wfrp4e-core.items.pLW9SVX0TVTYPiPv")
|
|
|
|
let sense = await fromUuid("Compendium.wfrp4e-core.items.9h82z72XGo9tfgQS")
|
|
|
|
let biteData = bite.toObject();
|
|
|
|
let senseData = sense.toObject();
|
|
|
|
|
|
|
|
biteData.system.specification.value = 6 - this.actor.characteristics.s.bonus;
|
2024-05-17 01:07:37 +02:00
|
|
|
senseData.name = senseData.name += " (Odorat)"
|
2024-05-16 17:57:51 +02:00
|
|
|
this.actor.createEmbeddedDocuments("Item", [biteData, senseData], {fromEffect : this.effect.id})
|