Update scripts

This commit is contained in:
2024-10-08 20:52:09 +02:00
parent 1f1d871e53
commit fc4fa1deb5
178 changed files with 12247 additions and 10701 deletions

View File

@ -5,12 +5,11 @@
amberTalons.system.equipped = true;
amberTalons.system.qualities.value.push({name : "magical"})
amberTalons.effects.push({
label : "Amber Talons",
name : "Amber Talons",
transfer: false,
icon : "modules/wfrp4e-core/icons/spells/amber-talons.png" ,
flags : {
wfrp4e : {
applicationData : {
img : "modules/wfrp4e-core/icons/spells/amber-talons.png" ,
system: {
transferData : {
documentType : "Item"
},
scriptData : [{
@ -18,6 +17,5 @@
script : "if (args.totalWoundLoss >= 1)\n{ \n args.actor.addCondition(\"bleeding\")\n}"
}]
}
}
})
this.actor.createEmbeddedDocuments("Item", [amberTalons], {fromEffect: this.effect.id})