forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
8
reference_scripts/ZGlJnrIemqul24j7.js
Normal file
8
reference_scripts/ZGlJnrIemqul24j7.js
Normal file
@ -0,0 +1,8 @@
|
||||
let infected = await fromUuid("Compendium.wfrp4e-core.items.V0c3qBU1CMm8bmsW")
|
||||
let bite = await fromUuid("Compendium.wfrp4e-core.items.pLW9SVX0TVTYPiPv")
|
||||
let biteData = bite.toObject();
|
||||
let infectedData = infected.toObject();
|
||||
|
||||
biteData.system.specification.value = 4 - this.actor.characteristics.s.bonus
|
||||
|
||||
this.actor.createEmbeddedDocuments("Item", [biteData, infectedData], {fromEffect : this.effect.id})
|
Reference in New Issue
Block a user