Update scripts
This commit is contained in:
@ -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})
|
Reference in New Issue
Block a user