Neuanfang mit französischem Modul

This commit is contained in:
2025-05-05 23:25:00 +02:00
parent cf24ef97df
commit 3f74b8dfdd
3135 changed files with 38383 additions and 93206 deletions
-21
View File
@@ -1,21 +0,0 @@
let amberTalons = foundry.utils.deepClone(game.wfrp4e.config.systemItems.unarmed);
amberTalons.name = "Amber Talons";
amberTalons.img = this.effect.img;
amberTalons.system.damage.value = "SB + WPB"
amberTalons.system.equipped = true;
amberTalons.system.qualities.value.push({name : "magical"})
amberTalons.effects.push({
name : "Amber Talons",
transfer: false,
img : "modules/wfrp4e-core/icons/spells/amber-talons.png" ,
system: {
transferData : {
documentType : "Item"
},
scriptData : [{
trigger : "applyDamage",
script : "if (args.totalWoundLoss >= 1)\n{ \n args.actor.addCondition(\"bleeding\")\n}"
}]
}
})
this.actor.createEmbeddedDocuments("Item", [amberTalons], {fromEffect: this.effect.id})