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
-9
View File
@@ -1,9 +0,0 @@
let broken = this.actor.hasCondition("broken");
let item = await fromUuid("Compendium.wfrp4e-core.items.Item.IAWyzDfC286a9MPz");
if (broken && !broken.getFlag("wfrp4e", "blasted-mind") && !this.actor.has(item.name))
{
await broken.delete();
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect: this.effect.id})
this.script.scriptNotification(`Removed ${broken.name}, added ${item.name} (${Math.ceil(CONFIG.Dice.randomUniform() * 10)} Rounds)`)
}