From 9814c44045c89f5dc2d3db02f4843afa2a3800d6 Mon Sep 17 00:00:00 2001 From: LeFrique <122933593+LeFrique@users.noreply.github.com> Date: Wed, 6 Dec 2023 16:30:13 +0100 Subject: [PATCH 1/7] Added Injuries & in Macros, Fixes (#25) Added: + Injuries as Effects + Added Injury Effects to Macro Schwere Verletzungen Fixed: + Pagedescription in Spell Effects + Images (again) in Combat Conditions --- packs/items/verletzungen/arm.json | 22 +++++++++++++++ packs/items/verletzungen/auge.json | 22 +++++++++++++++ packs/items/verletzungen/bein.json | 22 +++++++++++++++ packs/items/verletzungen/bein1aid.json | 22 +++++++++++++++ packs/items/verletzungen/beinstock.json | 22 +++++++++++++++ packs/items/verletzungen/hals.json | 22 +++++++++++++++ .../verletzungen/innereverletzungen.json | 22 +++++++++++++++ packs/items/verletzungen/ohr.json | 22 +++++++++++++++ packs/items/verletzungen/rippen.json | 22 +++++++++++++++ packs/items/zauberwirkungen/Anziehen.json | 4 +-- .../items/zauberwirkungen/Beschleunigen.json | 4 +-- packs/items/zauberwirkungen/Blenden.json | 12 ++++---- packs/items/zauberwirkungen/Blendsalz.json | 12 ++++---- packs/items/zauberwirkungen/Bärenwut.json | 2 +- .../DerReimderEntkräftung.json | 6 ++-- .../DerReimdesFlinkfusses.json | 2 +- .../DerVersderGeistesgegenwart.json | 2 +- .../zauberwirkungen/DerVersdesMutmachens.json | 2 +- .../zauberwirkungen/DerVersdesTrotzes.json | 4 +-- .../DerVersdesstählernenLeibes.json | 4 +-- .../DerVersdesstählernenWillens.json | 4 +-- .../DerverunsicherndeGesang.json | 4 +-- .../zauberwirkungen/DieStählendeBallade.json | 2 +- .../zauberwirkungen/DieanfeuerndeBallade.json | 2 +- packs/items/zauberwirkungen/Eisenhaut.json | 2 +- packs/items/zauberwirkungen/Elfenklinge.json | 2 +- packs/items/zauberwirkungen/Erdfessel.json | 4 +-- packs/items/zauberwirkungen/Erstarren.json | 10 +++---- .../items/zauberwirkungen/Flammenklinge.json | 2 +- packs/items/zauberwirkungen/Funkenregen.json | 4 +-- packs/items/zauberwirkungen/GoldeneWehr.json | 2 +- .../items/zauberwirkungen/GoldenerPanzer.json | 2 +- packs/items/zauberwirkungen/Gottesgabe.json | 2 +- packs/items/zauberwirkungen/Götterarme.json | 2 +- .../GöttlicherSchutzvorMagie.json | 2 +- packs/items/zauberwirkungen/HeiligerZorn.json | 2 +- .../items/zauberwirkungen/HörenvonFernem.json | 4 +-- packs/items/zauberwirkungen/Katzenwut.json | 2 +- packs/items/zauberwirkungen/Lachsalz.json | 16 +++++------ packs/items/zauberwirkungen/Lebenskeule.json | 2 +- .../zauberwirkungen/LiedderTapferkeit.json | 2 +- .../zauberwirkungen/LieddesWagemuts.json | 4 +-- packs/items/zauberwirkungen/Marmorhaut.json | 2 +- packs/items/zauberwirkungen/Niessalz.json | 16 +++++------ .../zauberwirkungen/Reaktionsschnelle.json | 2 +- packs/items/zauberwirkungen/Rindenhaut.json | 2 +- .../RüstungdesRechtschaffenen.json | 2 +- packs/items/zauberwirkungen/Scharfblick.json | 4 +-- .../zauberwirkungen/Schattenverstärken.json | 4 +-- .../zauberwirkungen/Schlachtenwahnsinn.json | 2 +- .../SchlachtenwahnsinnGegner.json | 22 +++++++++++++++ packs/items/zauberwirkungen/Schleichsalz.json | 4 +-- packs/items/zauberwirkungen/Schmerzen.json | 16 +++++------ packs/items/zauberwirkungen/Schwäche.json | 4 +-- packs/items/zauberwirkungen/Segnen.json | 28 +++++++++---------- packs/items/zauberwirkungen/Stinksalz.json | 16 +++++------ packs/items/zauberwirkungen/Stottersalz.json | 4 +-- packs/items/zauberwirkungen/Stärke.json | 2 +- packs/items/zauberwirkungen/Verfluchen.json | 4 +-- packs/items/zauberwirkungen/Verlangsamen.json | 4 +-- packs/items/zauberwirkungen/Verwünschen.json | 4 +-- packs/items/zauberwirkungen/Waffensegen.json | 7 ++--- packs/items/zauberwirkungen/Wagemut.json | 4 +-- .../zauberwirkungen/WandelnwiederWind.json | 4 +-- packs/items/zauberwirkungen/Wasseratmen.json | 4 +-- .../zauberwirkungen/WundersameTarnung.json | 4 +-- packs/items/zauberwirkungen/Zaubermacht.json | 2 +- .../items/zauberwirkungen/Zauberschmiede.json | 7 ++--- packs/items/zauberwirkungen/Zaubersprung.json | 4 +-- packs/items/zauberwirkungen/Zielsuche.json | 2 +- .../kritische_fehler_beim_zaubern.json | 2 +- .../kritischer_schaden.json | 20 ++++++------- source/system.json | 6 ++++ 73 files changed, 379 insertions(+), 159 deletions(-) create mode 100644 packs/items/verletzungen/arm.json create mode 100644 packs/items/verletzungen/auge.json create mode 100644 packs/items/verletzungen/bein.json create mode 100644 packs/items/verletzungen/bein1aid.json create mode 100644 packs/items/verletzungen/beinstock.json create mode 100644 packs/items/verletzungen/hals.json create mode 100644 packs/items/verletzungen/innereverletzungen.json create mode 100644 packs/items/verletzungen/ohr.json create mode 100644 packs/items/verletzungen/rippen.json create mode 100644 packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json diff --git a/packs/items/verletzungen/arm.json b/packs/items/verletzungen/arm.json new file mode 100644 index 0000000..d7f0a01 --- /dev/null +++ b/packs/items/verletzungen/arm.json @@ -0,0 +1,22 @@ +{ + "name": "Arm", + "type": "effect", + "img": "icons/skills/wounds/injury-pain-impaled-hand-blood.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "attackBonus", "operation": "substract", "value": 4 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcYz8", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/auge.json b/packs/items/verletzungen/auge.json new file mode 100644 index 0000000..699e29e --- /dev/null +++ b/packs/items/verletzungen/auge.json @@ -0,0 +1,22 @@ +{ + "name": "Auge", + "type": "effect", + "img": "icons/skills/wounds/injury-eyes-blood-red.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "skill", "id": "Sehen", "operation": "subtract", "value": 2 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY14", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/bein.json b/packs/items/verletzungen/bein.json new file mode 100644 index 0000000..5f0ecfb --- /dev/null +++ b/packs/items/verletzungen/bein.json @@ -0,0 +1,22 @@ +{ + "name": "Bein", + "type": "effect", + "img": "icons/skills/wounds/bone-broken-knee-beam.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "fixed", "value": 4 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcYz9", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/bein1aid.json b/packs/items/verletzungen/bein1aid.json new file mode 100644 index 0000000..d8d5f91 --- /dev/null +++ b/packs/items/verletzungen/bein1aid.json @@ -0,0 +1,22 @@ +{ + "name": "Bein mit Erster Hilfe", + "type": "effect", + "img": "icons/skills/wounds/anatomy-bone-joint.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "fixed", "value": 6 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY11", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/beinstock.json b/packs/items/verletzungen/beinstock.json new file mode 100644 index 0000000..4bd2287 --- /dev/null +++ b/packs/items/verletzungen/beinstock.json @@ -0,0 +1,22 @@ +{ + "name": "Bein mit Stock", + "type": "effect", + "img": "icons/skills/wounds/injury-stapled-flesh-tan.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "division", "value": 2 }, "1": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY10", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/hals.json b/packs/items/verletzungen/hals.json new file mode 100644 index 0000000..4df71a1 --- /dev/null +++ b/packs/items/verletzungen/hals.json @@ -0,0 +1,22 @@ +{ + "name": "Hals", + "type": "effect", + "img": "icons/skills/wounds/blood-spurt-spray-red.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "lp", "operation": "subtract", "value": 1 }, "1": { "type": "stat", "id": "ap", "operation": "subtract", "value": 1 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY12", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/innereverletzungen.json b/packs/items/verletzungen/innereverletzungen.json new file mode 100644 index 0000000..19ec008 --- /dev/null +++ b/packs/items/verletzungen/innereverletzungen.json @@ -0,0 +1,22 @@ +{ + "name": "Innere Verletzungen", + "type": "effect", + "img": "icons/skills/wounds/injury-triple-slash-bleed.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "fixed", "value": 4 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY13", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/ohr.json b/packs/items/verletzungen/ohr.json new file mode 100644 index 0000000..efc37a2 --- /dev/null +++ b/packs/items/verletzungen/ohr.json @@ -0,0 +1,22 @@ +{ + "name": "Ohr", + "type": "effect", + "img": "icons/skills/wounds/injury-eyes-blood-red-pink.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "skill", "id": "Hören", "operation": "subtract", "value": 2 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY15", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/verletzungen/rippen.json b/packs/items/verletzungen/rippen.json new file mode 100644 index 0000000..f84699f --- /dev/null +++ b/packs/items/verletzungen/rippen.json @@ -0,0 +1,22 @@ +{ + "name": "Rippen", + "type": "effect", + "img": "icons/skills/wounds/bone-broken-marrow-yellow.webp", + "system": { + "description": "", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 }, "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 4 }, "2": { "type": "skill", "id": "Klettern", "operation": "subtract", "value": 4 }, "3": { "type": "skill", "id": "Akrobatik", "operation": "subtract", "value": 4 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349805056, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "PJ0tqjZXQ5opcY16", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/zauberwirkungen/Anziehen.json b/packs/items/zauberwirkungen/Anziehen.json index c2c4741..684127f 100644 --- a/packs/items/zauberwirkungen/Anziehen.json +++ b/packs/items/zauberwirkungen/Anziehen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/control/voodoo-doll-pain-damage-tan.webp", "system": { - "description": "

Fertigkeit Verführen hier einstellen!

", + "description": "

ARK S. 64

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 6 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.verfuehren", "operation": "add", "value": 6 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Beschleunigen.json b/packs/items/zauberwirkungen/Beschleunigen.json index 17dd65a..49c430e 100644 --- a/packs/items/zauberwirkungen/Beschleunigen.json +++ b/packs/items/zauberwirkungen/Beschleunigen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/skills/movement/feet-winged-boots-glowing-yellow.webp", "system": { - "description": "

Hier eigene B bei Bonus eintragen!

\n

Arkanum Seite 67

", + "description": "

ARK S. 67

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "movement", "operation": "add", "value": 24 } }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "multiply", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Blenden.json b/packs/items/zauberwirkungen/Blenden.json index bc44ae9..0051ef6 100644 --- a/packs/items/zauberwirkungen/Blenden.json +++ b/packs/items/zauberwirkungen/Blenden.json @@ -3,18 +3,18 @@ "type": "effect", "img": "icons/creatures/eyes/humanoid-single-blind.webp", "system": { - "description": "

Gilt für alle EW & WW beim Einsatz aller Fertigkeiten!

", + "description": "

ARK S. 69

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -6 }, - "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -6 }, - "2": { "type": "stat", "id": "brawl", "operation": "add", "value": -6 }, - "3": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -6 }, - "4": { "type": "skill", "id": "", "operation": "add", "value": -6 } + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 6 }, + "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 6 }, + "2": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 6 }, + "3": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 6 }, + "4": { "type": "skill", "id": "", "operation": "subtract", "value": 6 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Blendsalz.json b/packs/items/zauberwirkungen/Blendsalz.json index fe2b3c1..2046a79 100644 --- a/packs/items/zauberwirkungen/Blendsalz.json +++ b/packs/items/zauberwirkungen/Blendsalz.json @@ -3,18 +3,18 @@ "type": "effect", "img": "icons/creatures/eyes/humanoid-single-blind.webp", "system": { - "description": "

Gilt für alle EW & WW beim Einsatz aller Fertigkeiten!

", + "description": "

MYS S. 44

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -6 }, - "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -6 }, - "2": { "type": "stat", "id": "brawl", "operation": "add", "value": -6 }, - "3": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -6 }, - "4": { "type": "skill", "id": "", "operation": "add", "value": -6 } + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 6 }, + "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 6 }, + "2": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 6 }, + "3": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 6 }, + "4": { "type": "skill", "id": "", "operation": "subtract", "value": 6 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Bärenwut.json b/packs/items/zauberwirkungen/Bärenwut.json index 8048d70..d842ebb 100644 --- a/packs/items/zauberwirkungen/Bärenwut.json +++ b/packs/items/zauberwirkungen/Bärenwut.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/lightning/fist-unarmed-strike-blue-green.webp", "system": { - "description": "

Arkanum Seite 144

", + "description": "

ARK S. 144

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerReimderEntkräftung.json b/packs/items/zauberwirkungen/DerReimderEntkräftung.json index 87eb645..fd52218 100644 --- a/packs/items/zauberwirkungen/DerReimderEntkräftung.json +++ b/packs/items/zauberwirkungen/DerReimderEntkräftung.json @@ -1,15 +1,15 @@ { - "name": "Der Reim der Entkr\u00e4ftung", + "name": "Der Reim der Entkräftung", "type": "effect", "img": "icons/magic/unholy/hand-marked-pink.webp", "system": { - "description": "", + "description": "

ARS S. 133

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": -2 } }, + "mods": { "0": { "type": "stat", "id": "resistanceBody", "operation": "subtract", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json b/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json index 2b3c9ea..1d431b5 100644 --- a/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json +++ b/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/skills/movement/feet-winged-boots-brown.webp", "system": { - "description": "", + "description": "

ARS S. 133

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json b/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json index a9635ec..84580f4 100644 --- a/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json +++ b/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/perception/hand-eye-fire-blue.webp", "system": { - "description": "", + "description": "

ARS S. 135

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerVersdesMutmachens.json b/packs/items/zauberwirkungen/DerVersdesMutmachens.json index dfd6c02..61a672b 100644 --- a/packs/items/zauberwirkungen/DerVersdesMutmachens.json +++ b/packs/items/zauberwirkungen/DerVersdesMutmachens.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/defensive/illusion-evasion-echo-purple.webp", "system": { - "description": "", + "description": "

ARS S. 136

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerVersdesTrotzes.json b/packs/items/zauberwirkungen/DerVersdesTrotzes.json index c0b5e30..1a01a50 100644 --- a/packs/items/zauberwirkungen/DerVersdesTrotzes.json +++ b/packs/items/zauberwirkungen/DerVersdesTrotzes.json @@ -3,14 +3,14 @@ "type": "effect", "img": "icons/magic/unholy/hand-weapon-glow-black-green.webp", "system": { - "description": "

Arkanum Seite 148

", + "description": "

ARS S. 137

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 2 }, "2": { "type": "stat", "id": "damageBonus", "operation": "add", "value": 1 } }, diff --git a/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json b/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json index 786d22f..3566fa1 100644 --- a/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json +++ b/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json @@ -1,9 +1,9 @@ { - "name": "Der Vers des st\u00e4hlernen Leibes", + "name": "Der Vers des stählernen Leibes", "type": "effect", "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", "system": { - "description": "", + "description": "

ARS S. 137

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json b/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json index 897a0bc..fe5188e 100644 --- a/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json +++ b/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json @@ -1,9 +1,9 @@ { - "name": "Der Vers des st\u00e4hlernen Willens", + "name": "Der Vers des stählernen Willens", "type": "effect", "img": "icons/magic/perception/eye-ringed-glow-angry-red.webp", "system": { - "description": "", + "description": "

ARS S. 137

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DerverunsicherndeGesang.json b/packs/items/zauberwirkungen/DerverunsicherndeGesang.json index e463997..2f9d6eb 100644 --- a/packs/items/zauberwirkungen/DerverunsicherndeGesang.json +++ b/packs/items/zauberwirkungen/DerverunsicherndeGesang.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/sonic/scream-wail-shout-teal.webp", "system": { - "description": "

Arkanum Seite 147

", + "description": "

ARK S. 170

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "attribute", "id": "", "operation": "add", "value": -5 }, "1": { "type": "skill", "id": "", "operation": "add", "value": -1 } }, + "mods": { "0": { "type": "attribute", "id": "", "operation": "subtract", "value": 5 }, "1": { "type": "skill", "id": "", "operation": "subtract", "value": 1 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/DieStählendeBallade.json b/packs/items/zauberwirkungen/DieStählendeBallade.json index 53fb6a4..7620e90 100644 --- a/packs/items/zauberwirkungen/DieStählendeBallade.json +++ b/packs/items/zauberwirkungen/DieStählendeBallade.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/tools/instruments/drum-standing-glowing-green.webp", "system": { - "description": "", + "description": "

ARK S. 171

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/DieanfeuerndeBallade.json b/packs/items/zauberwirkungen/DieanfeuerndeBallade.json index e9c5ebb..a0e7686 100644 --- a/packs/items/zauberwirkungen/DieanfeuerndeBallade.json +++ b/packs/items/zauberwirkungen/DieanfeuerndeBallade.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/tools/instruments/horn-red-brown.webp", "system": { - "description": "

Auf alle Bewegungsfertigkeiten anwendbar!

", + "description": "

ARK S. 171 Auf alle Bewegungsfertigkeiten anwendbar!

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Eisenhaut.json b/packs/items/zauberwirkungen/Eisenhaut.json index 83ffd1d..5dad32f 100644 --- a/packs/items/zauberwirkungen/Eisenhaut.json +++ b/packs/items/zauberwirkungen/Eisenhaut.json @@ -1 +1 @@ -{"name": "Eisenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-helmet-metal.webp", "system": {"description": "", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700346498452, "modifiedTime": 1700353901245, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "RiUYfceWEkRkKm0h", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Eisenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-helmet-metal.webp", "system": {"description": "

ARK S. 74

", "stats": { "damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700346498452, "modifiedTime": 1700353901245, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "RiUYfceWEkRkKm0h", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Elfenklinge.json b/packs/items/zauberwirkungen/Elfenklinge.json index cf8332d..732cdce 100644 --- a/packs/items/zauberwirkungen/Elfenklinge.json +++ b/packs/items/zauberwirkungen/Elfenklinge.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/weapons/swords/sword-hilt-steel-green.webp", "system": { - "description": "", + "description": "

ARK S. 150

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Erdfessel.json b/packs/items/zauberwirkungen/Erdfessel.json index 50a6780..fd3ed7c 100644 --- a/packs/items/zauberwirkungen/Erdfessel.json +++ b/packs/items/zauberwirkungen/Erdfessel.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/commodities/materials/slime-white.webp", "system": { - "description": "", + "description": "

ARK S. 76

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 } }, + "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Erstarren.json b/packs/items/zauberwirkungen/Erstarren.json index 63de7db..14d1204 100644 --- a/packs/items/zauberwirkungen/Erstarren.json +++ b/packs/items/zauberwirkungen/Erstarren.json @@ -3,17 +3,17 @@ "type": "effect", "img": "icons/magic/unholy/strike-body-life-soul-purple.webp", "system": { - "description": "

Ab zeiter Runde: B3 und -8 für alle Bewegungsfertigkeiten!

", + "description": "

DUM S. 83

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "movement", "operation": "add", "value": -4 }, - "1": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -4 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -4 }, - "3": { "type": "skill", "id": "", "operation": "add", "value": -4 } + "0": { "type": "stat", "id": "movement", "operation": "subtract", "value": 4 }, + "1": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 }, + "2": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 4 }, + "3": { "type": "skill", "id": "", "operation": "subtract", "value": 4 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Flammenklinge.json b/packs/items/zauberwirkungen/Flammenklinge.json index 1dfc55f..186ef1d 100644 --- a/packs/items/zauberwirkungen/Flammenklinge.json +++ b/packs/items/zauberwirkungen/Flammenklinge.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/weapons/swords/greatsword-evil-green.webp", "system": { - "description": "", + "description": "

ARK S. 85

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Funkenregen.json b/packs/items/zauberwirkungen/Funkenregen.json index 5b7942a..e001d44 100644 --- a/packs/items/zauberwirkungen/Funkenregen.json +++ b/packs/items/zauberwirkungen/Funkenregen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/fire/projectile-meteor-salvo-light-red.webp", "system": { - "description": "", + "description": "

ARK S. 87

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -4 }, "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -4 } }, + "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 }, "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": -4 }, "2": { "type": "stat", "id": "movement", "operation": "fxed", "value": 6 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/GoldeneWehr.json b/packs/items/zauberwirkungen/GoldeneWehr.json index 5a6053e..ebece4c 100644 --- a/packs/items/zauberwirkungen/GoldeneWehr.json +++ b/packs/items/zauberwirkungen/GoldeneWehr.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/weapons/hammers/hammer-double-glowing-yellow.webp", "system": { - "description": "", + "description": "

ARK S. 141

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/GoldenerPanzer.json b/packs/items/zauberwirkungen/GoldenerPanzer.json index e4fb5f4..1f0458f 100644 --- a/packs/items/zauberwirkungen/GoldenerPanzer.json +++ b/packs/items/zauberwirkungen/GoldenerPanzer.json @@ -1 +1 @@ -{"name": "Goldener Panzer", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-gilded-orange.webp", "system": {"description": "", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 2, "apProtection": 0, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347046024, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "xql3yvtFlgU0TE8n", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Goldener Panzer", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-gilded-orange.webp", "system": {"description": "

ARK S. 88

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 2, "apProtection": 0, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347046024, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "xql3yvtFlgU0TE8n", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Gottesgabe.json b/packs/items/zauberwirkungen/Gottesgabe.json index caaec4e..564e067 100644 --- a/packs/items/zauberwirkungen/Gottesgabe.json +++ b/packs/items/zauberwirkungen/Gottesgabe.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/holy/angel-winged-humanoid-blue.webp", "system": { - "description": "", + "description": "

ARK S. 143

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Götterarme.json b/packs/items/zauberwirkungen/Götterarme.json index 1d15f1a..de2c092 100644 --- a/packs/items/zauberwirkungen/Götterarme.json +++ b/packs/items/zauberwirkungen/Götterarme.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/unholy/hands-circle-light-green.webp", "system": { - "description": "", + "description": "

RAW S. 105

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json b/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json index 375fdfb..ed2dd47 100644 --- a/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json +++ b/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/holy/barrier-shield-winged-cross.webp", "system": { - "description": "", + "description": "

ARK S. 142

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/HeiligerZorn.json b/packs/items/zauberwirkungen/HeiligerZorn.json index 63a222c..f910d8e 100644 --- a/packs/items/zauberwirkungen/HeiligerZorn.json +++ b/packs/items/zauberwirkungen/HeiligerZorn.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/lightning/fist-unarmed-strike-blue-green.webp", "system": { - "description": "

Arkanum Seite 144

", + "description": "

ARK S. 144

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/HörenvonFernem.json b/packs/items/zauberwirkungen/HörenvonFernem.json index 618ffeb..c8c6b04 100644 --- a/packs/items/zauberwirkungen/HörenvonFernem.json +++ b/packs/items/zauberwirkungen/HörenvonFernem.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/air/wind-vortex-swirl-purple.webp", "system": { - "description": "

Hier Fertigkeit Wahrnehmung einsetzen!

", + "description": "

ARK S. 93

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 2 } }, + "mods": { "0": { "type": "skill", "id": "Hören", "operation": "add", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Katzenwut.json b/packs/items/zauberwirkungen/Katzenwut.json index 2fca31c..d21764c 100644 --- a/packs/items/zauberwirkungen/Katzenwut.json +++ b/packs/items/zauberwirkungen/Katzenwut.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/creatures/mammals/cat-hunched-glowing-red.webp", "system": { - "description": "

Arkanum Seite 144

", + "description": "

ARK S. 149

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Lachsalz.json b/packs/items/zauberwirkungen/Lachsalz.json index 7fde782..ad664b0 100644 --- a/packs/items/zauberwirkungen/Lachsalz.json +++ b/packs/items/zauberwirkungen/Lachsalz.json @@ -3,20 +3,20 @@ "type": "effect", "img": "icons/creatures/magical/construct-iron-stomping-yellow.webp", "system": { - "description": "

Malus gilt für alle EW!

", + "description": "

MYS S. 48

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "skill", "id": "", "operation": "add", "value": -2 }, - "1": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -2 }, - "3": { "type": "stat", "id": "resistanceMind", "operation": "add", "value": -2 }, - "4": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": -2 }, - "5": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -2 }, - "6": { "type": "stat", "id": "brawl", "operation": "add", "value": -2 } + "0": { "type": "skill", "id": "", "operation": "subtract", "value": 2 }, + "1": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, + "2": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 2 }, + "3": { "type": "stat", "id": "resistanceMind", "operation": "subtract", "value": 2 }, + "4": { "type": "stat", "id": "resistanceBody", "operation": "subtract", "value": 2 }, + "5": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 2 }, + "6": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 2 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Lebenskeule.json b/packs/items/zauberwirkungen/Lebenskeule.json index f060cd2..cf10b00 100644 --- a/packs/items/zauberwirkungen/Lebenskeule.json +++ b/packs/items/zauberwirkungen/Lebenskeule.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/weapons/clubs/club-bone-blue.webp", "system": { - "description": "", + "description": "

ARK S. 154

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/LiedderTapferkeit.json b/packs/items/zauberwirkungen/LiedderTapferkeit.json index cc18006..8413914 100644 --- a/packs/items/zauberwirkungen/LiedderTapferkeit.json +++ b/packs/items/zauberwirkungen/LiedderTapferkeit.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/tools/instruments/rattle-gourd-glowing-teal.webp", "system": { - "description": "", + "description": "

ARK S. 166

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/LieddesWagemuts.json b/packs/items/zauberwirkungen/LieddesWagemuts.json index 8f08a9f..71da20e 100644 --- a/packs/items/zauberwirkungen/LieddesWagemuts.json +++ b/packs/items/zauberwirkungen/LieddesWagemuts.json @@ -3,14 +3,14 @@ "type": "effect", "img": "icons/magic/unholy/hand-weapon-glow-black-green.webp", "system": { - "description": "

Arkanum Seite 148

", + "description": "

ARK S. 168

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 2 }, "2": { "type": "stat", "id": "damageBonus", "operation": "add", "value": 1 } }, diff --git a/packs/items/zauberwirkungen/Marmorhaut.json b/packs/items/zauberwirkungen/Marmorhaut.json index 6ff2f45..28459d6 100644 --- a/packs/items/zauberwirkungen/Marmorhaut.json +++ b/packs/items/zauberwirkungen/Marmorhaut.json @@ -1 +1 @@ -{"name": "Marmorhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-gorget-steel-white.webp", "system": {"description": "", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 4, "apProtection": 4, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347338839, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "wqS82FP9pAxLb5bn", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Marmorhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-gorget-steel-white.webp", "system": {"description": "

ARK S. 102

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 4, "apProtection": 4, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347338839, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "wqS82FP9pAxLb5bn", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Niessalz.json b/packs/items/zauberwirkungen/Niessalz.json index 73834a1..03d61ca 100644 --- a/packs/items/zauberwirkungen/Niessalz.json +++ b/packs/items/zauberwirkungen/Niessalz.json @@ -3,20 +3,20 @@ "type": "effect", "img": "icons/creatures/magical/spirit-fear-energy-pink.webp", "system": { - "description": "

Malus gilt für alle EW!

", + "description": "

MYS S. 48

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "skill", "id": "", "operation": "add", "value": -4 }, - "1": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -4 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -4 }, - "3": { "type": "stat", "id": "resistanceMind", "operation": "add", "value": -4 }, - "4": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": -4 }, - "5": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -4 }, - "6": { "type": "stat", "id": "brawl", "operation": "add", "value": -4 } + "0": { "type": "skill", "id": "", "operation": "subtract", "value": 4 }, + "1": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 }, + "2": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 4 }, + "3": { "type": "stat", "id": "resistanceMind", "operation": "subtract", "value": 4 }, + "4": { "type": "stat", "id": "resistanceBody", "operation": "subtract", "value": 4 }, + "5": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 4 }, + "6": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 4 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Reaktionsschnelle.json b/packs/items/zauberwirkungen/Reaktionsschnelle.json index 5f98302..ec76ee9 100644 --- a/packs/items/zauberwirkungen/Reaktionsschnelle.json +++ b/packs/items/zauberwirkungen/Reaktionsschnelle.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/movement/trail-streak-zigzag-teal.webp", "system": { - "description": "

Arkanum Seite 105

", + "description": "

ARK S. 105

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Rindenhaut.json b/packs/items/zauberwirkungen/Rindenhaut.json index bfd7d2a..806c8dc 100644 --- a/packs/items/zauberwirkungen/Rindenhaut.json +++ b/packs/items/zauberwirkungen/Rindenhaut.json @@ -1 +1 @@ -{"name": "Rindenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-leather-brown-belted.webp", "system": {"description": "", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 3, "apProtection": 3, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349427856, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "fiyvORwl1F1PLZOD", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Rindenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-leather-brown-belted.webp", "system": {"description": "

ARK S. 157

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 3, "apProtection": 3, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349427856, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "fiyvORwl1F1PLZOD", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json b/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json index b3ebd40..47d63a8 100644 --- a/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json +++ b/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json @@ -1 +1 @@ -{"name": "R\u00fcstung des Rechtschaffenen", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-leather-green.webp", "system": {"description": "", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349062247, "modifiedTime": 1700353901247, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "a49UmucuWJL3tXbM", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "R\u00fcstung des Rechtschaffenen", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-leather-green.webp", "system": {"description": "

ARK S. 145

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349062247, "modifiedTime": 1700353901247, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "a49UmucuWJL3tXbM", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Scharfblick.json b/packs/items/zauberwirkungen/Scharfblick.json index 91f3706..b65cd5a 100644 --- a/packs/items/zauberwirkungen/Scharfblick.json +++ b/packs/items/zauberwirkungen/Scharfblick.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/perception/eye-slit-orange.webp", "system": { - "description": "

Fertigkeit Wahrnehmung nach Anlage hier noch auswählen!

\n

Arkanum Seite 108

", + "description": "

ARK S. 108

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 2 } }, + "mods": { "0": { "type": "skill", "id": "Sehen", "operation": "add", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Schattenverstärken.json b/packs/items/zauberwirkungen/Schattenverstärken.json index 841409f..405c76a 100644 --- a/packs/items/zauberwirkungen/Schattenverstärken.json +++ b/packs/items/zauberwirkungen/Schattenverstärken.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/unholy/silhouette-light-fire-blue.webp", "system": { - "description": "

Hier Fertigkeit Tarnen einsetzen!

", + "description": "

ARK S. 108

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 4 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.tarnen", "operation": "add", "value": 4 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Schlachtenwahnsinn.json b/packs/items/zauberwirkungen/Schlachtenwahnsinn.json index 8a70646..4a0f430 100644 --- a/packs/items/zauberwirkungen/Schlachtenwahnsinn.json +++ b/packs/items/zauberwirkungen/Schlachtenwahnsinn.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/unholy/strike-body-explode-disintegrate.webp", "system": { - "description": "

-2 auf gegn. EW: Angriff!

", + "description": "

ARK S. 157

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json b/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json new file mode 100644 index 0000000..353b4dc --- /dev/null +++ b/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json @@ -0,0 +1,22 @@ +{ + "name": "Schlachtenwahnsinn für Gegner", + "type": "effect", + "img": "icons/magic/unholy/strike-body-explode-disintegrate.webp", + "system": { + "description": "

ARK S. 157

", + "equippable": false, + "equipped": true, + "value": 0, + "magic": false, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 2 } }, + "calc": {} + }, + "effects": [], + "flags": {}, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349501457, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "UrP6Z1lLr0YAkriD", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/zauberwirkungen/Schleichsalz.json b/packs/items/zauberwirkungen/Schleichsalz.json index d3da345..94d649f 100644 --- a/packs/items/zauberwirkungen/Schleichsalz.json +++ b/packs/items/zauberwirkungen/Schleichsalz.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/equipment/feet/boots-pointed-cloth-green.webp", "system": { - "description": "

Hier Fertigkeit Schleichen auswählen!

", + "description": "

MYS S. 49

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 6 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.schleichen", "operation": "add", "value": 6 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Schmerzen.json b/packs/items/zauberwirkungen/Schmerzen.json index 4549870..ebd99f9 100644 --- a/packs/items/zauberwirkungen/Schmerzen.json +++ b/packs/items/zauberwirkungen/Schmerzen.json @@ -3,20 +3,20 @@ "type": "effect", "img": "icons/magic/unholy/strike-body-life-soul-purple.webp", "system": { - "description": "

Arkanum Seite 109, 110

", + "description": "

ARK S. 109

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -4 }, - "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -4 }, - "2": { "type": "stat", "id": "resistanceMind", "operation": "add", "value": -4 }, - "3": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": -4 }, - "4": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -4 }, - "5": { "type": "stat", "id": "brawl", "operation": "add", "value": -4 }, - "6": { "type": "stat", "id": "", "operation": "add", "value": -4 } + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 4 }, + "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 4 }, + "2": { "type": "stat", "id": "resistanceMind", "operation": "subtract", "value": 4 }, + "3": { "type": "stat", "id": "resistanceBody", "operation": "subtract", "value": 4 }, + "4": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 4 }, + "5": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 4 }, + "6": { "type": "stat", "id": "", "operation": "subtract", "value": 4 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Schwäche.json b/packs/items/zauberwirkungen/Schwäche.json index 4f4ef87..2f56794 100644 --- a/packs/items/zauberwirkungen/Schwäche.json +++ b/packs/items/zauberwirkungen/Schwäche.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/creatures/magical/humanoid-silhouette-glowing-pink.webp", "system": { - "description": "", + "description": "

ARK S. 110

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "attribute", "id": "st", "operation": "add", "value": -20 } }, + "mods": { "0": { "type": "attribute", "id": "st", "operation": "subtract", "value": 20 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Segnen.json b/packs/items/zauberwirkungen/Segnen.json index 5d5b1bb..f4bec1e 100644 --- a/packs/items/zauberwirkungen/Segnen.json +++ b/packs/items/zauberwirkungen/Segnen.json @@ -10,23 +10,23 @@ "magic": true, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "attribute", "id": "st", "operation": "add", "value": -5 }, + "0": { "type": "attribute", "id": "st", "operation": "subtract", "value": 5 }, "1": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": 1 }, "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 1 }, "3": { "type": "stat", "id": "resistanceMind", "operation": "add", "value": 1 }, - "4": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": 0 }, - "5": { "type": "stat", "id": "spellCasting", "operation": "add", "value": 0 }, - "6": { "type": "stat", "id": "brawl", "operation": "add", "value": 0 }, - "7": { "type": "stat", "id": "poisonResistance", "operation": "add", "value": -5 }, - "8": { "type": "attribute", "id": "gw", "operation": "add", "value": -5 }, - "9": { "type": "attribute", "id": "gw", "operation": "add", "value": -5 }, - "10": { "type": "attribute", "id": "gs", "operation": "add", "value": -5 }, - "11": { "type": "attribute", "id": "ko", "operation": "add", "value": -5 }, - "12": { "type": "attribute", "id": "in", "operation": "add", "value": -5 }, - "13": { "type": "attribute", "id": "zt", "operation": "add", "value": -5 }, - "14": { "type": "attribute", "id": "au", "operation": "add", "value": -5 }, - "15": { "type": "attribute", "id": "pa", "operation": "add", "value": -5 }, - "16": { "type": "attribute", "id": "wk", "operation": "add", "value": -5 } + "4": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": 1 }, + "5": { "type": "stat", "id": "spellCasting", "operation": "add", "value": 1 }, + "6": { "type": "stat", "id": "brawl", "operation": "add", "value": 1 }, + "7": { "type": "stat", "id": "poisonResistance", "operation": "subtract", "value": 5 }, + "8": { "type": "attribute", "id": "gw", "operation": "subtract", "value": 5 }, + "9": { "type": "attribute", "id": "gw", "operation": "subtract", "value": 5 }, + "10": { "type": "attribute", "id": "gs", "operation": "subtract", "value": 5 }, + "11": { "type": "attribute", "id": "ko", "operation": "subtract", "value": 5 }, + "12": { "type": "attribute", "id": "in", "operation": "subtract", "value": 5 }, + "13": { "type": "attribute", "id": "zt", "operation": "subtract", "value": 5 }, + "14": { "type": "attribute", "id": "au", "operation": "subtract", "value": 5 }, + "15": { "type": "attribute", "id": "pa", "operation": "subtract", "value": 5 }, + "16": { "type": "attribute", "id": "wk", "operation": "subtract", "value": 5 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Stinksalz.json b/packs/items/zauberwirkungen/Stinksalz.json index 1a838cb..e266a29 100644 --- a/packs/items/zauberwirkungen/Stinksalz.json +++ b/packs/items/zauberwirkungen/Stinksalz.json @@ -3,20 +3,20 @@ "type": "effect", "img": "icons/creatures/magical/construct-face-stone-pink.webp", "system": { - "description": "

Malus gilt für alle EW!

", + "description": "

ARK S. 49

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "skill", "id": "", "operation": "add", "value": -2 }, - "1": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -2 }, - "3": { "type": "stat", "id": "resistanceMind", "operation": "add", "value": -2 }, - "4": { "type": "stat", "id": "resistanceBody", "operation": "add", "value": -2 }, - "5": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -2 }, - "6": { "type": "stat", "id": "brawl", "operation": "add", "value": -2 } + "0": { "type": "skill", "id": "", "operation": "subtract", "value": 2 }, + "1": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, + "2": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 2 }, + "3": { "type": "stat", "id": "resistanceMind", "operation": "subtract", "value": 2 }, + "4": { "type": "stat", "id": "resistanceBody", "operation": "subtract", "value": 2 }, + "5": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 2 }, + "6": { "type": "stat", "id": "brawl", "operation": "subtract", "value": 2 } }, "calc": {} }, diff --git a/packs/items/zauberwirkungen/Stottersalz.json b/packs/items/zauberwirkungen/Stottersalz.json index dfda063..bdfe22f 100644 --- a/packs/items/zauberwirkungen/Stottersalz.json +++ b/packs/items/zauberwirkungen/Stottersalz.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/creatures/abilities/mouth-teeth-human.webp", "system": { - "description": "

Gilt für Gesten- und Wortzauber!

", + "description": "

ARK S. 49

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "spellCasting", "operation": "add", "value": -4 } }, + "mods": { "0": { "type": "stat", "id": "spellCasting", "operation": "subtract", "value": 4 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Stärke.json b/packs/items/zauberwirkungen/Stärke.json index c4c8703..90b23e4 100644 --- a/packs/items/zauberwirkungen/Stärke.json +++ b/packs/items/zauberwirkungen/Stärke.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", "system": { - "description": "

Arkanum Seite 115

", + "description": "

ARK S. 115

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Verfluchen.json b/packs/items/zauberwirkungen/Verfluchen.json index c25ce54..ccca73c 100644 --- a/packs/items/zauberwirkungen/Verfluchen.json +++ b/packs/items/zauberwirkungen/Verfluchen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/unholy/hands-praying-fire-green.webp", "system": { - "description": "

Arkanum Seite 147

", + "description": "

ARK S. 147

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "attribute", "id": "", "operation": "add", "value": -5 }, "1": { "type": "skill", "id": "", "operation": "add", "value": -1 } }, + "mods": { "0": { "type": "attribute", "id": "", "operation": "subtract", "value": 5 }, "1": { "type": "skill", "id": "", "operation": "subtract", "value": 1 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Verlangsamen.json b/packs/items/zauberwirkungen/Verlangsamen.json index 26ae8da..ec0e581 100644 --- a/packs/items/zauberwirkungen/Verlangsamen.json +++ b/packs/items/zauberwirkungen/Verlangsamen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/commodities/leather/boot-torn-tan.webp", "system": { - "description": "", + "description": "

ARK S. 122

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "movement", "operation": "add", "value": null }, "1": { "type": "stat", "id": "movement", "operation": "fixed", "value": null } }, + "mods": { "0": { "type": "stat", "id": "movement", "operation": "division", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Verwünschen.json b/packs/items/zauberwirkungen/Verwünschen.json index e95b037..f58307f 100644 --- a/packs/items/zauberwirkungen/Verwünschen.json +++ b/packs/items/zauberwirkungen/Verwünschen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/magic/unholy/hands-praying-fire-green.webp", "system": { - "description": "

Arkanum Seite 147

", + "description": "

ARK S. 147

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "attribute", "id": "", "operation": "add", "value": -5 }, "1": { "type": "skill", "id": "", "operation": "add", "value": -1 } }, + "mods": { "0": { "type": "attribute", "id": "", "operation": "subtract", "value": 5 }, "1": { "type": "skill", "id": "", "operation": "subtract", "value": 1 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Waffensegen.json b/packs/items/zauberwirkungen/Waffensegen.json index 3fb8834..73fc33c 100644 --- a/packs/items/zauberwirkungen/Waffensegen.json +++ b/packs/items/zauberwirkungen/Waffensegen.json @@ -3,17 +3,14 @@ "type": "effect", "img": "icons/weapons/swords/sword-runed-glowing.webp", "system": { - "description": "

je nach eingesetzten AP Bonus erhöhen

", + "description": "

ARK S. 148

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 1 }, - "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 0 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 0 } - }, + "0": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 1 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Wagemut.json b/packs/items/zauberwirkungen/Wagemut.json index e668266..d57bfd9 100644 --- a/packs/items/zauberwirkungen/Wagemut.json +++ b/packs/items/zauberwirkungen/Wagemut.json @@ -3,14 +3,14 @@ "type": "effect", "img": "icons/magic/unholy/hand-weapon-glow-black-green.webp", "system": { - "description": "

Arkanum Seite 148

", + "description": "

ARK S. 148

", "equippable": false, "equipped": true, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, + "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 2 }, "2": { "type": "stat", "id": "damageBonus", "operation": "add", "value": 1 } }, diff --git a/packs/items/zauberwirkungen/WandelnwiederWind.json b/packs/items/zauberwirkungen/WandelnwiederWind.json index ff7479c..0a8c487 100644 --- a/packs/items/zauberwirkungen/WandelnwiederWind.json +++ b/packs/items/zauberwirkungen/WandelnwiederWind.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/equipment/feet/shoes-simple-leaf-green.webp", "system": { - "description": "

Hier Fertigkeit Schleichen einsetzen!

", + "description": "

ARK S. 160

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 8 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.schleichen", "operation": "add", "value": 8 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Wasseratmen.json b/packs/items/zauberwirkungen/Wasseratmen.json index b39ce64..79f63ef 100644 --- a/packs/items/zauberwirkungen/Wasseratmen.json +++ b/packs/items/zauberwirkungen/Wasseratmen.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/environment/wilderness/cave-entrance-island.webp", "system": { - "description": "", + "description": "

ARK S. 127

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "add", "value": -2 }, "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": -2 } }, + "mods": { "0": { "type": "stat", "id": "defenseBonus", "operation": "subtract", "value": 2 }, "1": { "type": "stat", "id": "attackBonus", "operation": "subtract", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/WundersameTarnung.json b/packs/items/zauberwirkungen/WundersameTarnung.json index 77a959f..00ee261 100644 --- a/packs/items/zauberwirkungen/WundersameTarnung.json +++ b/packs/items/zauberwirkungen/WundersameTarnung.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/environment/wilderness/tree-spruce.webp", "system": { - "description": "

Hier Fertigkeit Tarnen einsetzen!

", + "description": "

ARK S. 161

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 12 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.tarnen", "operation": "add", "value": 12 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Zaubermacht.json b/packs/items/zauberwirkungen/Zaubermacht.json index 81e729a..37bd0ed 100644 --- a/packs/items/zauberwirkungen/Zaubermacht.json +++ b/packs/items/zauberwirkungen/Zaubermacht.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/magic/control/debuff-energy-hold-levitate-teal-blue.webp", "system": { - "description": "

Arkanum Seite 72

", + "description": "

ARK S. 72

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/items/zauberwirkungen/Zauberschmiede.json b/packs/items/zauberwirkungen/Zauberschmiede.json index 7cd08a1..f8a0bb0 100644 --- a/packs/items/zauberwirkungen/Zauberschmiede.json +++ b/packs/items/zauberwirkungen/Zauberschmiede.json @@ -3,17 +3,14 @@ "type": "effect", "img": "icons/weapons/swords/sword-runed-glowing.webp", "system": { - "description": "

je nach eingesetzten AP Bonus erhöhen

", + "description": "

ARK S. 132

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, "mods": { - "0": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 1 }, - "1": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 0 }, - "2": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 0 } - }, + "0": { "type": "stat", "id": "attackBonus", "operation": "add", "value": 1 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Zaubersprung.json b/packs/items/zauberwirkungen/Zaubersprung.json index 7c64886..c629047 100644 --- a/packs/items/zauberwirkungen/Zaubersprung.json +++ b/packs/items/zauberwirkungen/Zaubersprung.json @@ -3,13 +3,13 @@ "type": "effect", "img": "icons/skills/movement/figure-running-gray.webp", "system": { - "description": "

Hier Fertigkeit Geländelauf auswählen!

", + "description": "

ARK S. 161

", "equippable": false, "equipped": true, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "", "operation": "add", "value": 8 } }, + "mods": { "0": { "type": "skill", "id": "midgard5.gelaendelauf", "operation": "add", "value": 8 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Zielsuche.json b/packs/items/zauberwirkungen/Zielsuche.json index e402705..3282357 100644 --- a/packs/items/zauberwirkungen/Zielsuche.json +++ b/packs/items/zauberwirkungen/Zielsuche.json @@ -3,7 +3,7 @@ "type": "effect", "img": "icons/skills/targeting/crosshair-pointed-orange.webp", "system": { - "description": "", + "description": "

ARK S. 133

", "equippable": false, "equipped": true, "value": 0, diff --git a/packs/rolltables/tabellen-kritische-ereignisse/kritische_fehler_beim_zaubern.json b/packs/rolltables/tabellen-kritische-ereignisse/kritische_fehler_beim_zaubern.json index 0ecff5d..f28e71e 100644 --- a/packs/rolltables/tabellen-kritische-ereignisse/kritische_fehler_beim_zaubern.json +++ b/packs/rolltables/tabellen-kritische-ereignisse/kritische_fehler_beim_zaubern.json @@ -131,7 +131,7 @@ "_id": "QICP7DgbyTmp1Nns", "flags": {}, "type": 0, - "text": "

*Der Zauberer verzaubert sich selbst.

Bei einem Geistes- oder Körperzauber trifft die volle Wirkung der Magie den Zauberer selbst, wenn ihm ein WW:Resistenz misslingt. Schützende Zauber funktionieren also gegebenenfalls ganz normal (Glück im Unglück). Kontrollzauber wie Macht über Menschen führen zur vorübergehenden Handlungsunfähigkeit des Zauberers; sein Geist versucht, die Kontrolle über sich selbst zu übernehmen, so dass er völlig mit sich selbst beschäftigt ist, bis ihm ein alle 2 min erlaubter EW:Resistenz gelingt. Sprü- che, die wie Macht über die belebte Natur nur auf Tiere wirken, haben keinen Effekt. Bei Umgebungszaubern tritt stattdessen der unter 91-95 beschriebene Effekt ein.", + "text": "

*Der Zauberer verzaubert sich selbst.

Bei einem Geistes- oder Körperzauber trifft die volle Wirkung der Magie den Zauberer selbst, wenn ihm ein WW:Resistenz misslingt. Schützende Zauber funktionieren also gegebenenfalls ganz normal (Glück im Unglück). Kontrollzauber wie Macht über Menschen führen zur vorübergehenden Handlungsunfähigkeit des Zauberers; sein Geist versucht, die Kontrolle über sich selbst zu übernehmen, so dass er völlig mit sich selbst beschäftigt ist, bis ihm ein alle 2 min erlaubter EW:Resistenz gelingt. Sprüche, die wie Macht über die belebte Natur nur auf Tiere wirken, haben keinen Effekt. Bei Umgebungszaubern tritt stattdessen der unter 91-95 beschriebene Effekt ein.", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 4, diff --git a/packs/rolltables/tabellen-kritische-ereignisse/kritischer_schaden.json b/packs/rolltables/tabellen-kritische-ereignisse/kritischer_schaden.json index dcdb42f..d35c8d9 100644 --- a/packs/rolltables/tabellen-kritische-ereignisse/kritischer_schaden.json +++ b/packs/rolltables/tabellen-kritische-ereignisse/kritischer_schaden.json @@ -47,7 +47,7 @@ "_id": "g1zQk3AHDdlq3sqH", "flags": {}, "type": 0, - "text": "

Rumpftreffer mit Rippenbrüchen

[[1d3]] Rippen des Opfers brechen.", + "text": "

Rumpftreffer mit Rippenbrüchen

[[1d3]] Rippen des Opfers brechen.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcY16]{Rippen}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 10, @@ -61,7 +61,7 @@ "_id": "XdF7xn83ChS4Qrzf", "flags": {}, "type": 0, - "text": "

Rumpftreffer mit Gefahr innerer Verletzungen

Das Opfer verliert zusätzlich zum normalen Schaden [[1d6]] LP und AP.
*: Schwere innere Verletzungen", + "text": "

Rumpftreffer mit Gefahr innerer Verletzungen

Das Opfer verliert zusätzlich zum normalen Schaden [[1d6]] LP und AP.
*: Schwere innere Verletzungen@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcY13]{Innere Verletzungen}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 5, @@ -89,7 +89,7 @@ "_id": "W7yzr5lC0z5NDt77", "flags": {}, "type": 0, - "text": "

schwere Verletzung am rechten Arm +

*: Mit 20% wird der Arm abgetrennt (bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Mit Armschutz führt auch der Treffer mit einer scharfen Waffe nicht zum Abtrennen, sondern nur zur Verkrüppelung des Armes. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.", + "text": "

schwere Verletzung am rechten Arm +

*: Mit 20% wird der Arm abgetrennt (bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Mit Armschutz führt auch der Treffer mit einer scharfen Waffe nicht zum Abtrennen, sondern nur zur Verkrüppelung des Armes. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcYz8]{Arm}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 7, @@ -103,7 +103,7 @@ "_id": "1dFkXxy7VhtSbahw", "flags": {}, "type": 0, - "text": "

schwere Verletzung am linken Arm +

*: Mit 20% wird der Arm abgetrennt (bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Mit Armschutz führt auch der Treffer mit einer scharfen Waffe nicht zum Abtrennen, sondern nur zur Verkrüppelung des Armes. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.", + "text": "

schwere Verletzung am linken Arm +

*: Mit 20% wird der Arm abgetrennt (bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Mit Armschutz führt auch der Treffer mit einer scharfen Waffe nicht zum Abtrennen, sondern nur zur Verkrüppelung des Armes. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcYz8]{Arm}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 8, @@ -117,7 +117,7 @@ "_id": "CiAwKT1ZhOGKplBr", "flags": {}, "type": 0, - "text": "

schwere Verletzung am rechten Bein +

*: Mit 20% wird das Bein abgetrennt (ohne Beinschutz bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.", + "text": "

schwere Verletzung am rechten Bein +

*: Mit 20% wird das Bein abgetrennt (ohne Beinschutz bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcYz9]{Bein}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 9, @@ -131,7 +131,7 @@ "_id": "PZa6plWsSiQFmu5c", "flags": {}, "type": 0, - "text": "

schwere Verletzung am linken Bein +

*: Mit 20% wird das Bein abgetrennt (ohne Beinschutz bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.", + "text": "

schwere Verletzung am linken Bein +

*: Mit 20% wird das Bein abgetrennt (ohne Beinschutz bei einer Waffe mit Schneide) oder dauerhaft verkrüppelt. Treffer mit Stich-, Wurf- oder Schusswaffen haben keine derart schwerwiegenden Auswirkungen.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcYz9]{Bein}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 9, @@ -173,7 +173,7 @@ "_id": "GaZZENfKk81MI1IK", "flags": {}, "type": 0, - "text": "

Kopftreffer mit Hörschaden <++>

Helmlose Opfer verlieren zusätzlich zum normalen Schaden [[1d3]] LP und AP. Zusätzlich schwere Verletzung am Ohr. Helmträger sind vor dieser Art von Schaden sicher.", + "text": "

Kopftreffer mit Hörschaden <++>

Helmlose Opfer verlieren zusätzlich zum normalen Schaden [[1d3]] LP und AP. Zusätzlich schwere Verletzung am Ohr. Helmträger sind vor dieser Art von Schaden sicher.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcY15]{Ohr}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 4, @@ -187,7 +187,7 @@ "_id": "OsfxiUi4dg0RM9XV", "flags": {}, "type": 0, - "text": "

Augenverletzung

Der Träger eines Helms mit Visier ist vor dieser Art von Schaden sicher.", + "text": "

Augenverletzung

Der Träger eines Helms mit Visier ist vor dieser Art von Schaden sicher.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcY14]{Auge}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 4, @@ -201,7 +201,7 @@ "_id": "TGtUlGPANVjZLgZH", "flags": {}, "type": 0, - "text": "

Halstreffer

*: Eine spitze oder scharfe Waffe verletzt die Halsschlagader. Eine stumpfe Waffe verursacht eine schwere Halswirbelverletzung.", + "text": "

Halstreffer

*: Eine spitze oder scharfe Waffe verletzt die Halsschlagader. Eine stumpfe Waffe verursacht eine schwere Halswirbelverletzung.@UUID[Compendium.midgard5.kampfzustaende.Item.PJ0tqjZXQ5opcYz5]{Blutend}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 3, @@ -229,7 +229,7 @@ "_id": "8g1FJIsxKFVWvyxe", "flags": {}, "type": 0, - "text": "

Augenverlust

Bei einem Treffer mit einer scharfen oder spitzen Waffe oder einer Schusswaffe verliert das Opfer ein Auge. Der Träger eines Helms mit Visier ist vor dieser Art von Schaden sicher.", + "text": "

Augenverlust

Bei einem Treffer mit einer scharfen oder spitzen Waffe oder einer Schusswaffe verliert das Opfer ein Auge. Der Träger eines Helms mit Visier ist vor dieser Art von Schaden sicher.@UUID[Compendium.midgard5.verletzungen.Item.PJ0tqjZXQ5opcY14]{Auge}", "img": "icons/svg/d20-black.svg", "resultId": "", "weight": 2, diff --git a/source/system.json b/source/system.json index 6c4afa9..776127e 100644 --- a/source/system.json +++ b/source/system.json @@ -70,6 +70,12 @@ "type": "Item" }, { + "name": "verletzungen", + "label": "Verletzungen", + "system": "midgard5", + "path": "./packs/items/verletzungen.db", + "type": "Item" + }, "name": "ruestkammer", "label": "Rüstkammer", "system": "midgard5", From 2dccbf3de3eed0f53bcde7ab0c923d813f45c196 Mon Sep 17 00:00:00 2001 From: LeFrique <122933593+LeFrique@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:43:23 +0100 Subject: [PATCH 2/7] Fix packfolders (#47) + Added missing curly brace + Added Injuries in packFolders --- source/system.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/system.json b/source/system.json index 776127e..82d0cf5 100644 --- a/source/system.json +++ b/source/system.json @@ -74,8 +74,9 @@ "label": "Verletzungen", "system": "midgard5", "path": "./packs/items/verletzungen.db", - "type": "Item" + "type": "Item" }, + { "name": "ruestkammer", "label": "Rüstkammer", "system": "midgard5", @@ -125,6 +126,7 @@ "color": "#800080", "packs": [ "kampfzustaende", + "verletzungen", "zauberwirkungen" ] }, From 30e94741bfa2b55716e4404fe268ac63b3bed0bc Mon Sep 17 00:00:00 2001 From: LeFrique <122933593+LeFrique@users.noreply.github.com> Date: Sat, 9 Dec 2023 18:24:09 +0100 Subject: [PATCH 3/7] Update main.hbs (#55) + Switched Ko and Gw to match dice description above dice symbols in header. --- templates/sheets/character/main.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sheets/character/main.hbs b/templates/sheets/character/main.hbs index 3ef4ec3..1a46ce5 100644 --- a/templates/sheets/character/main.hbs +++ b/templates/sheets/character/main.hbs @@ -73,8 +73,8 @@ {{localize "midgard5.actor-st"}} {{localize "midgard5.actor-gs"}} - {{localize "midgard5.actor-ko"}} {{localize "midgard5.actor-gw"}} + {{localize "midgard5.actor-ko"}} {{localize "midgard5.actor-in"}} {{localize "midgard5.actor-zt"}} {{localize "midgard5.actor-au"}} From 1e27e135cf9b383c570089cb6c791161748c1b7d Mon Sep 17 00:00:00 2001 From: Byroks Date: Mon, 11 Dec 2023 17:36:12 +0100 Subject: [PATCH 4/7] 15 add duration to active effects (#50) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add Effect Duration & Rework Combat tracker Changes: + rework combat tracker to display every uneven round as Movementphase + rework combat tracker to display every even round as actionphase + add possibility for effects durations + effects duration decreases with every actionphase + add enum for time Units + update localization + add display of remaining time on effects + add duration for spelleffect "Bärenwut" * add LP AP Manipulation through effects Changes: + add LimitHeal function + adjust LP AP Values if Mod exists in an effect * Fix linked actor not being updated --- lang/de.json | 15 +++- packs/items/zauberwirkungen/Bärenwut.json | 1 + source/index.ts | 79 ++++++++++++++++++--- source/module/M5Base.ts | 7 ++ source/module/actors/M5Character.ts | 3 +- source/template.json | 10 ++- templates/sheets/character/effects.hbs | 3 + templates/sheets/character/gear.hbs | 4 +- templates/sheets/character/kampfkuenste.hbs | 2 +- templates/sheets/item/effect.hbs | 13 +++- 10 files changed, 120 insertions(+), 17 deletions(-) diff --git a/lang/de.json b/lang/de.json index 0a69c85..25cb5e3 100644 --- a/lang/de.json +++ b/lang/de.json @@ -5,11 +5,22 @@ "TYPES.Item.item": "Gegenstand", "TYPES.Item.weapon": "Waffe", - "ITEM.TypeDefensiveWeapon": "Verteidigungswaffe", + "TYPES.Item.defensiveWeapon": "Verteidigungswaffe", "TYPES.Item.armor": "Rüstung", "TYPES.Item.spell": "Zauber", "TYPES.Item.effect": "Aktive Effekte", - "ITEM.type.kampfkunst": "Kampfkünste", + "TYPES.Item.kampfkunst": "Kampfkünste", + + "midgard5.phase-action": "Handlungsphase", + "midgard5.phase-movement": "Bewegungsphase", + "midgard5.no-encounter": "Kein Kampf", + "midgard5.encounter-not-started": "Kein aktiver Kampf", + + "midgard5.time-duration": "Dauer", + "midgard5.time-round": "Runde(n)", + "midgard5.time-minute": "Minute(n)", + "midgard5.time-hour": "Stunde(n)", + "midgard5.time-limitless": "Unbegrenzt", "midgard5.doRoll": "Würfeln", "midgard5.learn": "Lernen", diff --git a/packs/items/zauberwirkungen/Bärenwut.json b/packs/items/zauberwirkungen/Bärenwut.json index d842ebb..087b440 100644 --- a/packs/items/zauberwirkungen/Bärenwut.json +++ b/packs/items/zauberwirkungen/Bärenwut.json @@ -6,6 +6,7 @@ "description": "

ARK S. 144

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/source/index.ts b/source/index.ts index cd856ed..42b83d9 100644 --- a/source/index.ts +++ b/source/index.ts @@ -2,7 +2,7 @@ import Logger from "./utils/Logger"; import M5CharacterSheet from "./module/sheets/M5CharacterSheet"; import preloadTemplates from "./PreloadTemplates"; import { M5Character } from "./module/actors/M5Character"; -import { M5Skill } from "./module/M5Base"; +import { M5ItemMod, M5ModOperation, M5Skill, M5TimeUnit } from "./module/M5Base"; import { M5ItemSheet } from "./module/sheets/M5ItemSheet"; import { M5Item } from "./module/items/M5Item"; @@ -58,10 +58,10 @@ Hooks.once("init", async () => { return `${obj}`; }); - Handlebars.registerHelper("actorItemValue", (actorId: any, itemId: string, path: string) => { + Handlebars.registerHelper("actorItemValue", (actorId: any, itemId: string, path: string, token?: boolean) => { //console.log("actorItemValue", actorId, itemId, path) const actor = (game as Game).actors.get(actorId); - let obj = actor.items.get(itemId).system; + let obj = actor.items.get(itemId)?.system; path.split(".").forEach((p) => { if (obj) obj = obj[p]; }); @@ -116,7 +116,6 @@ Hooks.on("getChatLogEntryContext", function (html, options) { condition: (li) => { // Only show this context menu if there are re-rollable dice in the message const damageRolls = li.find(".apply-damage").length; - console.log(game["user"].isGm); // All must be true to show the reroll dialogue // The button doesn't work for the GM right now, so we don't need to show it @@ -166,6 +165,70 @@ Hooks.on("getChatLogEntryContext", function (html, options) { ); }); +Hooks.on("updateCombat", function (combat: Combat, updateData: { round: number; turn: number }, updateOptions: { advanceTime: number; direction: number }) { + if (combat.round % 2 === 0 && combat.turn !== null) { + const tokenId = combat.current.tokenId; + const actorId = combat.combatant["actorId"]; + let currentToken = game["actors"].tokens[tokenId]; + if (!currentToken) { + currentToken = game["actors"].get(actorId); + } + let activeEffects = currentToken.items.filter((x) => x.type === "effect" && x.system.equipped) || []; + activeEffects.forEach((effect) => { + if (effect.system?.duration?.time > 0) { + if (effect.system.duration.unit === M5TimeUnit.ROUND) { + effect.system.duration.time -= 1; + } + } + if (effect.system?.duration.time === 0 && effect.system.duration.unit !== M5TimeUnit.LIMITLESS) { + effect.system.equipped = false; + } + for (const key in effect.system.mods) { + if (effect.system.mods[key].operation === M5ModOperation.SUBTRACT) { + switch (effect.system.mods[key].id) { + case "lp": + currentToken["system"].lp.value -= effect.system.mods[key].value; + break; + case "ap": + currentToken["system"].ap.value -= effect.system.mods[key].value; + break; + } + } else if (effect.system.mods[key].operation === M5ModOperation.ADD) { + switch (effect.system.mods[key].id) { + case "lp": + currentToken["system"].lp.value += limitHeal(effect.system.mods[key].value, currentToken["system"].lp.value, currentToken["system"].lp.max); + break; + case "ap": + currentToken["system"].ap.value += limitHeal(effect.system.mods[key].value, currentToken["system"].ap.value, currentToken["system"].ap.max); + break; + } + } + } + }); + currentToken.render(); + } +}); + +function limitHeal(heal: number, current: number, max: number): number { + if (current === max) { + return 0; + } else if (heal + current > max) { + return max - current; + } + return heal; +} + +Hooks.on("renderCombatTracker", (combatTracker, html, context) => { + if (context.combat === null) { + html.find("h3.encounter-title")[0].innerHTML = game["i18n"].localize("midgard5.no-encounter"); + } else if (Math.ceil(context.round / 2) === 0) { + html.find("h3.encounter-title")[0].innerHTML = game["i18n"].localize("midgard5.encounter-not-started"); + } else { + html.find("h3.encounter-title")[0].innerHTML = + (context.round % 2 == 1 ? game["i18n"].localize("midgard5.phase-movement") : game["i18n"].localize("midgard5.phase-action")) + " " + Math.ceil(context.round / 2); + } +}); + Hooks.once("ready", () => { Logger.ok("Template module is now ready."); }); @@ -187,9 +250,9 @@ async function applyDamage(roll, direction) { token["system"].ap.value -= Math.max(0, damageValue - token["system"].calc.stats.apProtection.value); break; case -1: - token["system"].lp.value += Math.min(damageValue, token["system"].lp.max - damageValue); + token["system"].lp.value += limitHeal(damageValue, token["system"].lp.value, token["system"].lp.max); case -2: - token["system"].ap.value += Math.min(damageValue, token["system"].ap.max - damageValue); + token["system"].ap.value += limitHeal(damageValue, token["system"].ap.value, token["system"].ap.max); } token.render(); } else { @@ -200,9 +263,9 @@ async function applyDamage(roll, direction) { actor["system"].ap.value -= Math.max(0, damageValue - actor["system"].calc.stats.apProtection.value); break; case -1: - actor["system"].lp.value += Math.min(damageValue, actor["system"].lp.max - damageValue); + actor["system"].lp.value += limitHeal(damageValue, token["system"].lp.value, token["system"].lp.max); case -2: - actor["system"].ap.value += Math.min(damageValue, actor["system"].ap.max - damageValue); + actor["system"].ap.value += limitHeal(damageValue, token["system"].ap.value, token["system"].ap.max); } actor.render(); } diff --git a/source/module/M5Base.ts b/source/module/M5Base.ts index 3090e92..60c64fa 100644 --- a/source/module/M5Base.ts +++ b/source/module/M5Base.ts @@ -102,6 +102,13 @@ export enum M5ModOperation { DIVISION = "division", } +export enum M5TimeUnit { + ROUND = "round", + MINUTE = "minute", + HOUR = "hour", + LIMITLESS = "limitless", +} + export interface M5ItemMod { type: M5ModType; id: string; diff --git a/source/module/actors/M5Character.ts b/source/module/actors/M5Character.ts index 6ed0c31..91e2543 100644 --- a/source/module/actors/M5Character.ts +++ b/source/module/actors/M5Character.ts @@ -188,7 +188,8 @@ export class M5Character extends Actor { label: label, magic: item.system.magic, calc: item.system.calc, - equipped: item.system?.equipped, + equipped: item.system?.equipped || false, + duration: item.system?.duration || { time: 0, unit: "" }, }; }); } diff --git a/source/template.json b/source/template.json index 6741d15..180f4ba 100644 --- a/source/template.json +++ b/source/template.json @@ -201,6 +201,14 @@ "value": 0, "magic": false }, + "durationSelection": { + "durationSelection": { + "round": "midgard5.time-round", + "minute": "midgard5.time-minute", + "hour": "midgard5.time-hour", + "limitless": "midgard5.time-limitless" + } + }, "spellSelection": { "spellProcessSelection": { "none": "midgard5.spell-process-none", @@ -295,7 +303,7 @@ "calc": {} }, "effect": { - "templates": ["itemDescription", "equippable", "physical"], + "templates": ["itemDescription", "equippable", "physical", "durationSelection"], "rolls": { "formulas": {}, "output": "" diff --git a/templates/sheets/character/effects.hbs b/templates/sheets/character/effects.hbs index 3666f93..986629d 100644 --- a/templates/sheets/character/effects.hbs +++ b/templates/sheets/character/effects.hbs @@ -12,6 +12,9 @@ {{item.label}} {{#if item.equipped}} {{localize "midgard5.active"}} + {{#unless (or (eq item.duration.unit "") (eq item.duration.unit "limitless"))}} + {{item.duration.time}} {{localize (concat "midgard5.time-" item.duration.unit)}} + {{/unless}} {{/if}} diff --git a/templates/sheets/character/gear.hbs b/templates/sheets/character/gear.hbs index efc5363..c00afbe 100644 --- a/templates/sheets/character/gear.hbs +++ b/templates/sheets/character/gear.hbs @@ -29,7 +29,7 @@ - + @@ -90,7 +90,7 @@ {{localize "midgard5.equipped"}} {{/if}} - + diff --git a/templates/sheets/character/kampfkuenste.hbs b/templates/sheets/character/kampfkuenste.hbs index e2b9ce0..4662b34 100644 --- a/templates/sheets/character/kampfkuenste.hbs +++ b/templates/sheets/character/kampfkuenste.hbs @@ -1,7 +1,7 @@
{{localize "ITEM.TypeDefensiveWeapon"}}{{localize "TYPES.Item.defensiveWeapon"}} {{localize "midgard5.ew"}} {{actorItemValue ../actor._id itemId "lpProtection"}}{{actorItemValue ../actor._id itemId "lpProtection" ../actor.isToken}} {{actorItemValue ../actor._id itemId "apProtection"}} {{actorItemValue ../actor._id itemId "stats.attackBonus"}} {{actorItemValue ../actor._id itemId "stats.defenseBonus"}}
- + diff --git a/templates/sheets/item/effect.hbs b/templates/sheets/item/effect.hbs index 7a5cc1b..6c3dd17 100644 --- a/templates/sheets/item/effect.hbs +++ b/templates/sheets/item/effect.hbs @@ -22,8 +22,17 @@ From fed11759870bb00723202db8e3f5a64d8f6d68e6 Mon Sep 17 00:00:00 2001 From: LeFrique <122933593+LeFrique@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:45:35 +0100 Subject: [PATCH 5/7] 26 perception drinking all abilities (#56) * Innate abilities + Added Perception as fixed innate ability + Added Drinking as fixed innate ability + Set Luckpoints to 0 * Duration Update + Added Duration to Effects + Added Perception to Eye & Ear Injury * Fixed like recommended + Fixed M5Base +Fixed M5Character + Fixed M5Rolls + Fixed Skills HBS + Fixed BrawlFw + Fixed Effect (not saved already) * fix minor issues --------- Co-authored-by: Byroks --- lang/de.json | 4 ++ packs/items/kampfzustaende/angeschlagen.json | 1 + packs/items/kampfzustaende/benommen.json | 1 + packs/items/kampfzustaende/berserkergang.json | 1 + .../kampfzustaende/eingeschuechtert.json | 1 + packs/items/kampfzustaende/ermutigt.json | 1 + packs/items/kampfzustaende/taumelnd.json | 1 + packs/items/kampfzustaende/ueberrascht.json | 1 + packs/items/kampfzustaende/verwirrt.json | 1 + packs/items/verletzungen/auge.json | 2 +- packs/items/verletzungen/ohr.json | 2 +- packs/items/zauberwirkungen/Anziehen.json | 1 + .../items/zauberwirkungen/Beschleunigen.json | 1 + packs/items/zauberwirkungen/Blenden.json | 1 + packs/items/zauberwirkungen/Blendsalz.json | 1 + packs/items/zauberwirkungen/Bärenwut.json | 2 +- .../DerReimderEntkräftung.json | 1 + .../DerReimdesFlinkfusses.json | 1 + .../DerVersderGeistesgegenwart.json | 1 + .../zauberwirkungen/DerVersdesMutmachens.json | 1 + .../zauberwirkungen/DerVersdesTrotzes.json | 1 + .../DerVersdesstählernenLeibes.json | 1 + .../DerVersdesstählernenWillens.json | 1 + .../DerverunsicherndeGesang.json | 1 + .../DerverunsicherndeVers.json | 23 +++++++++++ .../zauberwirkungen/DieStählendeBallade.json | 3 +- .../zauberwirkungen/DieanfeuerndeBallade.json | 1 + packs/items/zauberwirkungen/Eisenhaut.json | 2 +- packs/items/zauberwirkungen/Elfenklinge.json | 1 + packs/items/zauberwirkungen/Erdfessel.json | 1 + packs/items/zauberwirkungen/Erstarren.json | 1 + .../items/zauberwirkungen/Flammenklinge.json | 1 + packs/items/zauberwirkungen/Flohpulver.json | 1 + packs/items/zauberwirkungen/Funkenregen.json | 1 + packs/items/zauberwirkungen/GoldeneWehr.json | 1 + .../items/zauberwirkungen/GoldenerPanzer.json | 2 +- packs/items/zauberwirkungen/Gottesgabe.json | 1 + packs/items/zauberwirkungen/Götterarme.json | 3 +- .../GöttlicherSchutzvorMagie.json | 3 +- packs/items/zauberwirkungen/HeiligerZorn.json | 1 + .../items/zauberwirkungen/HörenvonFernem.json | 1 + packs/items/zauberwirkungen/Katzenwut.json | 1 + packs/items/zauberwirkungen/Krakenhände.json | 1 + packs/items/zauberwirkungen/Lachsalz.json | 1 + packs/items/zauberwirkungen/Lebenskeule.json | 1 + .../zauberwirkungen/LiedderTapferkeit.json | 1 + .../zauberwirkungen/LieddesWagemuts.json | 1 + packs/items/zauberwirkungen/Marmorhaut.json | 2 +- packs/items/zauberwirkungen/Niessalz.json | 1 + .../zauberwirkungen/Reaktionsschnelle.json | 1 + packs/items/zauberwirkungen/Rindenhaut.json | 2 +- .../RüstungdesRechtschaffenen.json | 2 +- packs/items/zauberwirkungen/Scharfblick.json | 1 + .../zauberwirkungen/Schattenverstärken.json | 1 + .../zauberwirkungen/Schlachtenwahnsinn.json | 1 + .../SchlachtenwahnsinnGegner.json | 1 + packs/items/zauberwirkungen/Schleichsalz.json | 1 + packs/items/zauberwirkungen/Schmerzen.json | 1 + packs/items/zauberwirkungen/Schwäche.json | 1 + packs/items/zauberwirkungen/Segnen.json | 1 + packs/items/zauberwirkungen/Stinksalz.json | 1 + packs/items/zauberwirkungen/Stottersalz.json | 1 + packs/items/zauberwirkungen/Stärke.json | 1 + packs/items/zauberwirkungen/Verfluchen.json | 1 + packs/items/zauberwirkungen/Verlangsamen.json | 1 + packs/items/zauberwirkungen/Verwünschen.json | 1 + packs/items/zauberwirkungen/Waffensegen.json | 1 + packs/items/zauberwirkungen/Wagemut.json | 1 + .../zauberwirkungen/WandelnwiederWind.json | 1 + packs/items/zauberwirkungen/Wasseratmen.json | 1 + .../zauberwirkungen/WundersameTarnung.json | 1 + packs/items/zauberwirkungen/Zaubermacht.json | 1 + .../items/zauberwirkungen/Zauberschmiede.json | 1 + packs/items/zauberwirkungen/Zaubersprung.json | 1 + packs/items/zauberwirkungen/Zielsuche.json | 1 + source/module/M5Base.ts | 8 +++- source/module/actors/M5Character.ts | 12 +++++- source/module/actors/M5ModAggregate.ts | 2 + source/module/rolls/M5Roll.ts | 39 ++++++++++++++++++- source/module/sheets/M5CharacterSheet.ts | 10 +++++ source/template.json | 2 +- templates/sheets/character/gear.hbs | 2 +- templates/sheets/character/skills.hbs | 17 ++++++++ 83 files changed, 188 insertions(+), 18 deletions(-) create mode 100644 packs/items/zauberwirkungen/DerverunsicherndeVers.json diff --git a/lang/de.json b/lang/de.json index 25cb5e3..43bcc2b 100644 --- a/lang/de.json +++ b/lang/de.json @@ -197,6 +197,8 @@ "midgard5.enduranceBonus": "Ausdauerbonus", "midgard5.lpProtection": "Rüstungsschutz (LP)", "midgard5.apProtection": "Rüstungsschutz (AP)", + "midgard5.perception" : "Wahrnehmung", + "midgard5.drinking" : "Trinken", "midgard5.new-skill": "Neue Fertigkeit", "midgard5.special": "Spezial", @@ -305,6 +307,8 @@ "midgard5.mod-stat-ap": "Ausdauerpunkte", "midgard5.mod-stat-lpProtection": "Rüstungsschutz (LP)", "midgard5.mod-stat-apProtection": "Rüstungsschutz (AP)", + "midgard5.mod-stat-perception": "Wahrnehmung", + "midgard5.mod-stat-drinking": "Trinken", "midgard5.mod-type": "Typ der Modifikation", "midgard5.mod-id": "Was soll modifiziert werden", diff --git a/packs/items/kampfzustaende/angeschlagen.json b/packs/items/kampfzustaende/angeschlagen.json index 28c986b..3639dd8 100644 --- a/packs/items/kampfzustaende/angeschlagen.json +++ b/packs/items/kampfzustaende/angeschlagen.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 2, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/benommen.json b/packs/items/kampfzustaende/benommen.json index d0a661d..bbf8fd4 100644 --- a/packs/items/kampfzustaende/benommen.json +++ b/packs/items/kampfzustaende/benommen.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 2, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/berserkergang.json b/packs/items/kampfzustaende/berserkergang.json index d055a2b..0f1a7e8 100644 --- a/packs/items/kampfzustaende/berserkergang.json +++ b/packs/items/kampfzustaende/berserkergang.json @@ -6,6 +6,7 @@ "description": "KOD. S96", "equippable": false, "equipped": true, + "duration": { "time": 360, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/eingeschuechtert.json b/packs/items/kampfzustaende/eingeschuechtert.json index 7cbc784..22b0eae 100644 --- a/packs/items/kampfzustaende/eingeschuechtert.json +++ b/packs/items/kampfzustaende/eingeschuechtert.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 2, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/ermutigt.json b/packs/items/kampfzustaende/ermutigt.json index 681f7c2..f8c57f2 100644 --- a/packs/items/kampfzustaende/ermutigt.json +++ b/packs/items/kampfzustaende/ermutigt.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/taumelnd.json b/packs/items/kampfzustaende/taumelnd.json index 051cdd7..91b1fb3 100644 --- a/packs/items/kampfzustaende/taumelnd.json +++ b/packs/items/kampfzustaende/taumelnd.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 2, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/ueberrascht.json b/packs/items/kampfzustaende/ueberrascht.json index 25d4e3c..7bccd21 100644 --- a/packs/items/kampfzustaende/ueberrascht.json +++ b/packs/items/kampfzustaende/ueberrascht.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/kampfzustaende/verwirrt.json b/packs/items/kampfzustaende/verwirrt.json index 204284a..cbff06f 100644 --- a/packs/items/kampfzustaende/verwirrt.json +++ b/packs/items/kampfzustaende/verwirrt.json @@ -6,6 +6,7 @@ "description": "", "equippable": false, "equipped": true, + "duration": { "time": 2, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/verletzungen/auge.json b/packs/items/verletzungen/auge.json index 699e29e..d4ba32b 100644 --- a/packs/items/verletzungen/auge.json +++ b/packs/items/verletzungen/auge.json @@ -9,7 +9,7 @@ "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "Sehen", "operation": "subtract", "value": 2 } }, + "mods": { "0": { "type": "stat", "id": "perception", "operation": "subtract", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/verletzungen/ohr.json b/packs/items/verletzungen/ohr.json index efc37a2..4c9f5bd 100644 --- a/packs/items/verletzungen/ohr.json +++ b/packs/items/verletzungen/ohr.json @@ -9,7 +9,7 @@ "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, - "mods": { "0": { "type": "skill", "id": "Hören", "operation": "subtract", "value": 2 } }, + "mods": { "0": { "type": "stat", "id": "perception", "operation": "subtract", "value": 2 } }, "calc": {} }, "effects": [], diff --git a/packs/items/zauberwirkungen/Anziehen.json b/packs/items/zauberwirkungen/Anziehen.json index 684127f..badfbb5 100644 --- a/packs/items/zauberwirkungen/Anziehen.json +++ b/packs/items/zauberwirkungen/Anziehen.json @@ -5,6 +5,7 @@ "system": { "description": "

ARK S. 64

", "equippable": false, + "duration": { "time": 6, "unit": "hour" }, "equipped": true, "value": 0, "magic": false, diff --git a/packs/items/zauberwirkungen/Beschleunigen.json b/packs/items/zauberwirkungen/Beschleunigen.json index 49c430e..3940fff 100644 --- a/packs/items/zauberwirkungen/Beschleunigen.json +++ b/packs/items/zauberwirkungen/Beschleunigen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 67

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Blenden.json b/packs/items/zauberwirkungen/Blenden.json index 0051ef6..4fb302a 100644 --- a/packs/items/zauberwirkungen/Blenden.json +++ b/packs/items/zauberwirkungen/Blenden.json @@ -6,6 +6,7 @@ "description": "

ARK S. 69

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Blendsalz.json b/packs/items/zauberwirkungen/Blendsalz.json index 2046a79..3b96dbc 100644 --- a/packs/items/zauberwirkungen/Blendsalz.json +++ b/packs/items/zauberwirkungen/Blendsalz.json @@ -6,6 +6,7 @@ "description": "

MYS S. 44

", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Bärenwut.json b/packs/items/zauberwirkungen/Bärenwut.json index 087b440..d022547 100644 --- a/packs/items/zauberwirkungen/Bärenwut.json +++ b/packs/items/zauberwirkungen/Bärenwut.json @@ -1,5 +1,5 @@ { - "name": "B\u00e4renwut", + "name": "Bärenwut", "type": "effect", "img": "icons/magic/lightning/fist-unarmed-strike-blue-green.webp", "system": { diff --git a/packs/items/zauberwirkungen/DerReimderEntkräftung.json b/packs/items/zauberwirkungen/DerReimderEntkräftung.json index fd52218..a205e06 100644 --- a/packs/items/zauberwirkungen/DerReimderEntkräftung.json +++ b/packs/items/zauberwirkungen/DerReimderEntkräftung.json @@ -6,6 +6,7 @@ "description": "

ARS S. 133

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json b/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json index 1d431b5..cdabcbf 100644 --- a/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json +++ b/packs/items/zauberwirkungen/DerReimdesFlinkfusses.json @@ -6,6 +6,7 @@ "description": "

ARS S. 133

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json b/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json index 84580f4..a3270ea 100644 --- a/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json +++ b/packs/items/zauberwirkungen/DerVersderGeistesgegenwart.json @@ -6,6 +6,7 @@ "description": "

ARS S. 135

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerVersdesMutmachens.json b/packs/items/zauberwirkungen/DerVersdesMutmachens.json index 61a672b..a8d93fe 100644 --- a/packs/items/zauberwirkungen/DerVersdesMutmachens.json +++ b/packs/items/zauberwirkungen/DerVersdesMutmachens.json @@ -6,6 +6,7 @@ "description": "

ARS S. 136

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerVersdesTrotzes.json b/packs/items/zauberwirkungen/DerVersdesTrotzes.json index 1a01a50..cf97cc3 100644 --- a/packs/items/zauberwirkungen/DerVersdesTrotzes.json +++ b/packs/items/zauberwirkungen/DerVersdesTrotzes.json @@ -6,6 +6,7 @@ "description": "

ARS S. 137

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json b/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json index 3566fa1..98391f1 100644 --- a/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json +++ b/packs/items/zauberwirkungen/DerVersdesstählernenLeibes.json @@ -6,6 +6,7 @@ "description": "

ARS S. 137

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json b/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json index fe5188e..1245bcd 100644 --- a/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json +++ b/packs/items/zauberwirkungen/DerVersdesstählernenWillens.json @@ -6,6 +6,7 @@ "description": "

ARS S. 137

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerverunsicherndeGesang.json b/packs/items/zauberwirkungen/DerverunsicherndeGesang.json index 2f9d6eb..fa967e5 100644 --- a/packs/items/zauberwirkungen/DerverunsicherndeGesang.json +++ b/packs/items/zauberwirkungen/DerverunsicherndeGesang.json @@ -6,6 +6,7 @@ "description": "

ARK S. 170

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DerverunsicherndeVers.json b/packs/items/zauberwirkungen/DerverunsicherndeVers.json new file mode 100644 index 0000000..7b66866 --- /dev/null +++ b/packs/items/zauberwirkungen/DerverunsicherndeVers.json @@ -0,0 +1,23 @@ +{ + "name": "Der verunsichernde Gesang", + "type": "effect", + "img": "icons/magic/sonic/scream-wail-shout-teal.webp", + "system": { + "description": "

ARK S. 170

", + "equippable": false, + "equipped": true, + "duration": { "time": 60, "unit": "round" }, + "value": 0, + "magic": true, + "rolls": { "formulas": {}, "output": "" }, + "mods": { "0": { "type": "attribute", "id": "", "operation": "subtract", "value": 5 }, "1": { "type": "skill", "id": "", "operation": "subtract", "value": 1 } }, + "calc": {} + }, + "effects": [], + "flags": { "core": { "sourceId": "Compendium.midgard5.zauberwirkungen.lEqFJcDY9QCh4Gmd" } }, + "_stats": { "systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1677860239164, "modifiedTime": 1700353901250, "lastModifiedBy": "cb3PEvEU0kHkMdjb" }, + "_id": "KneY9z7Jdjh1xWZc", + "folder": null, + "sort": 0, + "ownership": { "default": 0, "cb3PEvEU0kHkMdjb": 3 } +} diff --git a/packs/items/zauberwirkungen/DieStählendeBallade.json b/packs/items/zauberwirkungen/DieStählendeBallade.json index 7620e90..a6c4035 100644 --- a/packs/items/zauberwirkungen/DieStählendeBallade.json +++ b/packs/items/zauberwirkungen/DieStählendeBallade.json @@ -1,11 +1,12 @@ { - "name": "Die St\u00e4hlende Ballade", + "name": "Die Stählende Ballade", "type": "effect", "img": "icons/tools/instruments/drum-standing-glowing-green.webp", "system": { "description": "

ARK S. 171

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/DieanfeuerndeBallade.json b/packs/items/zauberwirkungen/DieanfeuerndeBallade.json index a0e7686..6d25695 100644 --- a/packs/items/zauberwirkungen/DieanfeuerndeBallade.json +++ b/packs/items/zauberwirkungen/DieanfeuerndeBallade.json @@ -6,6 +6,7 @@ "description": "

ARK S. 171 Auf alle Bewegungsfertigkeiten anwendbar!

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Eisenhaut.json b/packs/items/zauberwirkungen/Eisenhaut.json index 5dad32f..d54d353 100644 --- a/packs/items/zauberwirkungen/Eisenhaut.json +++ b/packs/items/zauberwirkungen/Eisenhaut.json @@ -1 +1 @@ -{"name": "Eisenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-helmet-metal.webp", "system": {"description": "

ARK S. 74

", "stats": { "damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700346498452, "modifiedTime": 1700353901245, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "RiUYfceWEkRkKm0h", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Eisenhaut", "effect": "armor", "img": "icons/equipment/chest/breastplate-helmet-metal.webp", "system": {"description": "

ARK S. 74

", "stats": { "damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "duration": { "time": 12, "unit": "round" }, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700346498452, "modifiedTime": 1700353901245, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "RiUYfceWEkRkKm0h", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Elfenklinge.json b/packs/items/zauberwirkungen/Elfenklinge.json index 732cdce..efb9dd9 100644 --- a/packs/items/zauberwirkungen/Elfenklinge.json +++ b/packs/items/zauberwirkungen/Elfenklinge.json @@ -6,6 +6,7 @@ "description": "

ARK S. 150

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Erdfessel.json b/packs/items/zauberwirkungen/Erdfessel.json index fd3ed7c..ff505ea 100644 --- a/packs/items/zauberwirkungen/Erdfessel.json +++ b/packs/items/zauberwirkungen/Erdfessel.json @@ -6,6 +6,7 @@ "description": "

ARK S. 76

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Erstarren.json b/packs/items/zauberwirkungen/Erstarren.json index 14d1204..3b797eb 100644 --- a/packs/items/zauberwirkungen/Erstarren.json +++ b/packs/items/zauberwirkungen/Erstarren.json @@ -6,6 +6,7 @@ "description": "

DUM S. 83

", "equippable": false, "equipped": true, + "duration": { "time": 999, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Flammenklinge.json b/packs/items/zauberwirkungen/Flammenklinge.json index 186ef1d..0aed4a1 100644 --- a/packs/items/zauberwirkungen/Flammenklinge.json +++ b/packs/items/zauberwirkungen/Flammenklinge.json @@ -6,6 +6,7 @@ "description": "

ARK S. 85

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Flohpulver.json b/packs/items/zauberwirkungen/Flohpulver.json index 14a3279..a8e1f8a 100644 --- a/packs/items/zauberwirkungen/Flohpulver.json +++ b/packs/items/zauberwirkungen/Flohpulver.json @@ -6,6 +6,7 @@ "description": "

ARK S. 175

", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "hour" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Funkenregen.json b/packs/items/zauberwirkungen/Funkenregen.json index e001d44..95edf92 100644 --- a/packs/items/zauberwirkungen/Funkenregen.json +++ b/packs/items/zauberwirkungen/Funkenregen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 87

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/GoldeneWehr.json b/packs/items/zauberwirkungen/GoldeneWehr.json index ebece4c..bdf7d46 100644 --- a/packs/items/zauberwirkungen/GoldeneWehr.json +++ b/packs/items/zauberwirkungen/GoldeneWehr.json @@ -6,6 +6,7 @@ "description": "

ARK S. 141

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/GoldenerPanzer.json b/packs/items/zauberwirkungen/GoldenerPanzer.json index 1f0458f..bd2adf1 100644 --- a/packs/items/zauberwirkungen/GoldenerPanzer.json +++ b/packs/items/zauberwirkungen/GoldenerPanzer.json @@ -1 +1 @@ -{"name": "Goldener Panzer", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-gilded-orange.webp", "system": {"description": "

ARK S. 88

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 2, "apProtection": 0, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347046024, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "xql3yvtFlgU0TE8n", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Goldener/Strahlender Panzer", "type": "effect", "img": "icons/equipment/chest/breastplate-layered-gilded-orange.webp", "system": {"description": "

ARK S. 88

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "duration": { "time": 12, "unit": "round" },"attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 2, "apProtection": 0, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347046024, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "xql3yvtFlgU0TE8n", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Gottesgabe.json b/packs/items/zauberwirkungen/Gottesgabe.json index 564e067..bf4b916 100644 --- a/packs/items/zauberwirkungen/Gottesgabe.json +++ b/packs/items/zauberwirkungen/Gottesgabe.json @@ -6,6 +6,7 @@ "description": "

ARK S. 143

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Götterarme.json b/packs/items/zauberwirkungen/Götterarme.json index de2c092..fd06c71 100644 --- a/packs/items/zauberwirkungen/Götterarme.json +++ b/packs/items/zauberwirkungen/Götterarme.json @@ -1,11 +1,12 @@ { - "name": "G\u00f6tterarme", + "name": "Götterarme", "type": "effect", "img": "icons/magic/unholy/hands-circle-light-green.webp", "system": { "description": "

RAW S. 105

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json b/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json index ed2dd47..0393066 100644 --- a/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json +++ b/packs/items/zauberwirkungen/GöttlicherSchutzvorMagie.json @@ -1,11 +1,12 @@ { - "name": "G\u00f6ttlicher Schutz vor Magie", + "name": "Göttlicher Schutz vor Magie", "type": "effect", "img": "icons/magic/holy/barrier-shield-winged-cross.webp", "system": { "description": "

ARK S. 142

", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "hour" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/HeiligerZorn.json b/packs/items/zauberwirkungen/HeiligerZorn.json index f910d8e..d0a80e9 100644 --- a/packs/items/zauberwirkungen/HeiligerZorn.json +++ b/packs/items/zauberwirkungen/HeiligerZorn.json @@ -6,6 +6,7 @@ "description": "

ARK S. 144

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/HörenvonFernem.json b/packs/items/zauberwirkungen/HörenvonFernem.json index c8c6b04..090fba7 100644 --- a/packs/items/zauberwirkungen/HörenvonFernem.json +++ b/packs/items/zauberwirkungen/HörenvonFernem.json @@ -6,6 +6,7 @@ "description": "

ARK S. 93

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Katzenwut.json b/packs/items/zauberwirkungen/Katzenwut.json index d21764c..7e85d64 100644 --- a/packs/items/zauberwirkungen/Katzenwut.json +++ b/packs/items/zauberwirkungen/Katzenwut.json @@ -6,6 +6,7 @@ "description": "

ARK S. 149

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Krakenhände.json b/packs/items/zauberwirkungen/Krakenhände.json index 4e2de88..bf3b069 100644 --- a/packs/items/zauberwirkungen/Krakenhände.json +++ b/packs/items/zauberwirkungen/Krakenhände.json @@ -6,6 +6,7 @@ "description": "

ARK S. 176

", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "hour" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Lachsalz.json b/packs/items/zauberwirkungen/Lachsalz.json index ad664b0..512773d 100644 --- a/packs/items/zauberwirkungen/Lachsalz.json +++ b/packs/items/zauberwirkungen/Lachsalz.json @@ -6,6 +6,7 @@ "description": "

MYS S. 48

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Lebenskeule.json b/packs/items/zauberwirkungen/Lebenskeule.json index cf10b00..e405e99 100644 --- a/packs/items/zauberwirkungen/Lebenskeule.json +++ b/packs/items/zauberwirkungen/Lebenskeule.json @@ -6,6 +6,7 @@ "description": "

ARK S. 154

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/LiedderTapferkeit.json b/packs/items/zauberwirkungen/LiedderTapferkeit.json index 8413914..4bedda3 100644 --- a/packs/items/zauberwirkungen/LiedderTapferkeit.json +++ b/packs/items/zauberwirkungen/LiedderTapferkeit.json @@ -6,6 +6,7 @@ "description": "

ARK S. 166

", "equippable": false, "equipped": true, + "duration": { "time": 180, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/LieddesWagemuts.json b/packs/items/zauberwirkungen/LieddesWagemuts.json index 71da20e..646a95e 100644 --- a/packs/items/zauberwirkungen/LieddesWagemuts.json +++ b/packs/items/zauberwirkungen/LieddesWagemuts.json @@ -6,6 +6,7 @@ "description": "

ARK S. 168

", "equippable": false, "equipped": true, + "duration": { "time": 180, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Marmorhaut.json b/packs/items/zauberwirkungen/Marmorhaut.json index 28459d6..a079909 100644 --- a/packs/items/zauberwirkungen/Marmorhaut.json +++ b/packs/items/zauberwirkungen/Marmorhaut.json @@ -1 +1 @@ -{"name": "Marmorhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-gorget-steel-white.webp", "system": {"description": "

ARK S. 102

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 4, "apProtection": 4, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347338839, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "wqS82FP9pAxLb5bn", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Marmorhaut", "type": "effect", "img": "icons/equipment/chest/breastplate-gorget-steel-white.webp", "system": {"description": "

ARK S. 102

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "duration": { "time": 60, "unit": "round" },"attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 4, "apProtection": 4, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700347338839, "modifiedTime": 1700353901246, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "wqS82FP9pAxLb5bn", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Niessalz.json b/packs/items/zauberwirkungen/Niessalz.json index 03d61ca..9829fe5 100644 --- a/packs/items/zauberwirkungen/Niessalz.json +++ b/packs/items/zauberwirkungen/Niessalz.json @@ -6,6 +6,7 @@ "description": "

MYS S. 48

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Reaktionsschnelle.json b/packs/items/zauberwirkungen/Reaktionsschnelle.json index ec76ee9..4382a2f 100644 --- a/packs/items/zauberwirkungen/Reaktionsschnelle.json +++ b/packs/items/zauberwirkungen/Reaktionsschnelle.json @@ -6,6 +6,7 @@ "description": "

ARK S. 105

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Rindenhaut.json b/packs/items/zauberwirkungen/Rindenhaut.json index 806c8dc..98c1461 100644 --- a/packs/items/zauberwirkungen/Rindenhaut.json +++ b/packs/items/zauberwirkungen/Rindenhaut.json @@ -1 +1 @@ -{"name": "Rindenhaut", "type": "armor", "img": "icons/equipment/chest/breastplate-leather-brown-belted.webp", "system": {"description": "

ARK S. 157

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 3, "apProtection": 3, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349427856, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "fiyvORwl1F1PLZOD", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "Rindenhaut", "type": "effect", "img": "icons/equipment/chest/breastplate-leather-brown-belted.webp", "system": {"description": "

ARK S. 157

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "duration": { "time": 60, "unit": "round" },"attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 3, "apProtection": 3, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349427856, "modifiedTime": 1700353901248, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "fiyvORwl1F1PLZOD", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json b/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json index 47d63a8..64b0590 100644 --- a/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json +++ b/packs/items/zauberwirkungen/RüstungdesRechtschaffenen.json @@ -1 +1 @@ -{"name": "R\u00fcstung des Rechtschaffenen", "type": "armor", "img": "icons/equipment/chest/breastplate-layered-leather-green.webp", "system": {"description": "

ARK S. 145

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349062247, "modifiedTime": 1700353901247, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "a49UmucuWJL3tXbM", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file +{"name": "R\u00fcstung des Rechtschaffenen", "type": "effect", "img": "icons/equipment/chest/breastplate-layered-leather-green.webp", "system": {"description": "

ARK S. 145

", "stats": {"damageBonus": 0, "attackBonus": 0, "defenseBonus": 0, "movementBonus": 0, "resistanceMind": 0, "resistanceBody": 0, "spellBonus": 0}, "equippable": false, "equipped": true, "duration": { "time": 12, "unit": "round" },"attributeMod": {"st": 0, "gs": 0, "gw": 0, "ko": 0, "in": 0, "zt": 0, "au": 0, "pa": 0, "wk": 0}, "value": 0, "magic": false, "lpProtection": 5, "apProtection": 5, "rolls": {"formulas": {}, "output": ""}, "calc": {}}, "effects": [], "flags": {}, "_stats": {"systemId": "midgard5", "systemVersion": "1.2.1", "coreVersion": "10.312", "createdTime": 1700349062247, "modifiedTime": 1700353901247, "lastModifiedBy": "cb3PEvEU0kHkMdjb"}, "_id": "a49UmucuWJL3tXbM", "folder": null, "sort": 0, "ownership": {"default": 0, "cb3PEvEU0kHkMdjb": 3}} \ No newline at end of file diff --git a/packs/items/zauberwirkungen/Scharfblick.json b/packs/items/zauberwirkungen/Scharfblick.json index b65cd5a..38f6d6d 100644 --- a/packs/items/zauberwirkungen/Scharfblick.json +++ b/packs/items/zauberwirkungen/Scharfblick.json @@ -6,6 +6,7 @@ "description": "

ARK S. 108

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Schattenverstärken.json b/packs/items/zauberwirkungen/Schattenverstärken.json index 405c76a..7b4f069 100644 --- a/packs/items/zauberwirkungen/Schattenverstärken.json +++ b/packs/items/zauberwirkungen/Schattenverstärken.json @@ -6,6 +6,7 @@ "description": "

ARK S. 108

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Schlachtenwahnsinn.json b/packs/items/zauberwirkungen/Schlachtenwahnsinn.json index 4a0f430..75b4ff0 100644 --- a/packs/items/zauberwirkungen/Schlachtenwahnsinn.json +++ b/packs/items/zauberwirkungen/Schlachtenwahnsinn.json @@ -6,6 +6,7 @@ "description": "

ARK S. 157

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json b/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json index 353b4dc..c0cd144 100644 --- a/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json +++ b/packs/items/zauberwirkungen/SchlachtenwahnsinnGegner.json @@ -6,6 +6,7 @@ "description": "

ARK S. 157

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Schleichsalz.json b/packs/items/zauberwirkungen/Schleichsalz.json index 94d649f..ede6aa9 100644 --- a/packs/items/zauberwirkungen/Schleichsalz.json +++ b/packs/items/zauberwirkungen/Schleichsalz.json @@ -6,6 +6,7 @@ "description": "

MYS S. 49

", "equippable": false, "equipped": true, + "duration": { "time": 8, "unit": "hour" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Schmerzen.json b/packs/items/zauberwirkungen/Schmerzen.json index ebd99f9..7fc5958 100644 --- a/packs/items/zauberwirkungen/Schmerzen.json +++ b/packs/items/zauberwirkungen/Schmerzen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 109

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Schwäche.json b/packs/items/zauberwirkungen/Schwäche.json index 2f56794..1395dca 100644 --- a/packs/items/zauberwirkungen/Schwäche.json +++ b/packs/items/zauberwirkungen/Schwäche.json @@ -6,6 +6,7 @@ "description": "

ARK S. 110

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Segnen.json b/packs/items/zauberwirkungen/Segnen.json index f4bec1e..6ba59f7 100644 --- a/packs/items/zauberwirkungen/Segnen.json +++ b/packs/items/zauberwirkungen/Segnen.json @@ -6,6 +6,7 @@ "description": "

Arkanum Seite 146, 147

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Stinksalz.json b/packs/items/zauberwirkungen/Stinksalz.json index e266a29..12703b6 100644 --- a/packs/items/zauberwirkungen/Stinksalz.json +++ b/packs/items/zauberwirkungen/Stinksalz.json @@ -6,6 +6,7 @@ "description": "

ARK S. 49

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Stottersalz.json b/packs/items/zauberwirkungen/Stottersalz.json index bdfe22f..c1c1048 100644 --- a/packs/items/zauberwirkungen/Stottersalz.json +++ b/packs/items/zauberwirkungen/Stottersalz.json @@ -6,6 +6,7 @@ "description": "

ARK S. 49

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Stärke.json b/packs/items/zauberwirkungen/Stärke.json index 90b23e4..e37e375 100644 --- a/packs/items/zauberwirkungen/Stärke.json +++ b/packs/items/zauberwirkungen/Stärke.json @@ -6,6 +6,7 @@ "description": "

ARK S. 115

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Verfluchen.json b/packs/items/zauberwirkungen/Verfluchen.json index ccca73c..a4fb2b0 100644 --- a/packs/items/zauberwirkungen/Verfluchen.json +++ b/packs/items/zauberwirkungen/Verfluchen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 147

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Verlangsamen.json b/packs/items/zauberwirkungen/Verlangsamen.json index ec0e581..1e57d28 100644 --- a/packs/items/zauberwirkungen/Verlangsamen.json +++ b/packs/items/zauberwirkungen/Verlangsamen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 122

", "equippable": false, "equipped": true, + "duration": { "time": 6, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Verwünschen.json b/packs/items/zauberwirkungen/Verwünschen.json index f58307f..971333f 100644 --- a/packs/items/zauberwirkungen/Verwünschen.json +++ b/packs/items/zauberwirkungen/Verwünschen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 147

", "equippable": false, "equipped": true, + "duration": { "time": 180, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Waffensegen.json b/packs/items/zauberwirkungen/Waffensegen.json index 73fc33c..ff865cd 100644 --- a/packs/items/zauberwirkungen/Waffensegen.json +++ b/packs/items/zauberwirkungen/Waffensegen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 148

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Wagemut.json b/packs/items/zauberwirkungen/Wagemut.json index d57bfd9..48a0f73 100644 --- a/packs/items/zauberwirkungen/Wagemut.json +++ b/packs/items/zauberwirkungen/Wagemut.json @@ -6,6 +6,7 @@ "description": "

ARK S. 148

", "equippable": false, "equipped": true, + "duration": { "time": 12, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/WandelnwiederWind.json b/packs/items/zauberwirkungen/WandelnwiederWind.json index 0a8c487..62266c5 100644 --- a/packs/items/zauberwirkungen/WandelnwiederWind.json +++ b/packs/items/zauberwirkungen/WandelnwiederWind.json @@ -6,6 +6,7 @@ "description": "

ARK S. 160

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Wasseratmen.json b/packs/items/zauberwirkungen/Wasseratmen.json index 79f63ef..dfbdd39 100644 --- a/packs/items/zauberwirkungen/Wasseratmen.json +++ b/packs/items/zauberwirkungen/Wasseratmen.json @@ -6,6 +6,7 @@ "description": "

ARK S. 127

", "equippable": false, "equipped": true, + "duration": { "time": 8, "unit": "hour" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/WundersameTarnung.json b/packs/items/zauberwirkungen/WundersameTarnung.json index 00ee261..fcb4a5d 100644 --- a/packs/items/zauberwirkungen/WundersameTarnung.json +++ b/packs/items/zauberwirkungen/WundersameTarnung.json @@ -6,6 +6,7 @@ "description": "

ARK S. 161

", "equippable": false, "equipped": true, + "duration": { "time": 180, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Zaubermacht.json b/packs/items/zauberwirkungen/Zaubermacht.json index 37bd0ed..48317af 100644 --- a/packs/items/zauberwirkungen/Zaubermacht.json +++ b/packs/items/zauberwirkungen/Zaubermacht.json @@ -6,6 +6,7 @@ "description": "

ARK S. 72

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": true, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Zauberschmiede.json b/packs/items/zauberwirkungen/Zauberschmiede.json index f8a0bb0..2388e40 100644 --- a/packs/items/zauberwirkungen/Zauberschmiede.json +++ b/packs/items/zauberwirkungen/Zauberschmiede.json @@ -6,6 +6,7 @@ "description": "

ARK S. 132

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Zaubersprung.json b/packs/items/zauberwirkungen/Zaubersprung.json index c629047..4573bbe 100644 --- a/packs/items/zauberwirkungen/Zaubersprung.json +++ b/packs/items/zauberwirkungen/Zaubersprung.json @@ -6,6 +6,7 @@ "description": "

ARK S. 161

", "equippable": false, "equipped": true, + "duration": { "time": 1, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/packs/items/zauberwirkungen/Zielsuche.json b/packs/items/zauberwirkungen/Zielsuche.json index 3282357..f67cdad 100644 --- a/packs/items/zauberwirkungen/Zielsuche.json +++ b/packs/items/zauberwirkungen/Zielsuche.json @@ -6,6 +6,7 @@ "description": "

ARK S. 133

", "equippable": false, "equipped": true, + "duration": { "time": 60, "unit": "round" }, "value": 0, "magic": false, "rolls": { "formulas": {}, "output": "" }, diff --git a/source/module/M5Base.ts b/source/module/M5Base.ts index 60c64fa..6a1a022 100644 --- a/source/module/M5Base.ts +++ b/source/module/M5Base.ts @@ -84,6 +84,8 @@ export enum M5Stats { AP = "ap", PROTECTION_LP = "lpProtection", PROTECTION_AP = "apProtection", + PERCEPTION = "perception", + DRINKING = "drinking" } export enum M5ModType { @@ -163,9 +165,13 @@ export interface M5CharacterCalculatedData { resistanceBody: M5ModResult; spellCasting: M5ModResult; brawl: M5ModResult; - brawlEw: number; + brawlFw: number; poisonResistance: M5ModResult; enduranceBonus: number; + perception: M5ModResult; + perceptionFW: number; + drinking: M5ModResult; + drinkingFW: number; }; skillMods: {}; skills: { diff --git a/source/module/actors/M5Character.ts b/source/module/actors/M5Character.ts index 91e2543..2e4f2f4 100644 --- a/source/module/actors/M5Character.ts +++ b/source/module/actors/M5Character.ts @@ -64,9 +64,13 @@ export class M5Character extends Actor { resistanceBody: { value: 0, mods: [] }, spellCasting: { value: 0, mods: [] }, brawl: { value: 0, mods: [] }, - brawlEw: 0, + brawlFw: 0, poisonResistance: { value: 0, mods: [] }, enduranceBonus: 0, + perception: {value: 0, mods: []}, + perceptionFW: 0, + drinking: {value: 0, mods: []}, + drinkingFW: 0, }, skillMods: {}, skills: { @@ -132,9 +136,13 @@ export class M5Character extends Actor { ); ret.stats.spellCasting = this.modResult((data.info.magicUsing ? M5Character.spellCastingFromLevel(ret.level) : 3) + ret.attributes.zt.bonus); ret.stats.brawl = this.modResult(Math.floor((ret.attributes.st.value + ret.attributes.gw.value) / 20)); - ret.stats.brawlEw = ret.stats.brawl.value + ret.stats.attackBonus.value + (data.info.race === "Zwerg" ? 1 : 0); + ret.stats.brawlFw = ret.stats.brawl.value + ret.stats.attackBonus.value + (data.info.race === "Zwerg" ? 1 : 0); ret.stats.poisonResistance = this.modResult(30 + Math.floor(ret.attributes.ko.value / 2)); ret.stats.enduranceBonus = Math.floor(ret.attributes.ko.value / 10) + Math.floor(ret.attributes.st.value / 20); + ret.stats.perception = this.modResult(0); + ret.stats.perceptionFW = 6; + ret.stats.drinking = this.modResult(0); + ret.stats.drinkingFW = Math.floor(ret.attributes.ko.value / 10); if (!skip?.mods) { const aggregate = new M5ModAggregate(data, ret); diff --git a/source/module/actors/M5ModAggregate.ts b/source/module/actors/M5ModAggregate.ts index 702d52b..63350eb 100644 --- a/source/module/actors/M5ModAggregate.ts +++ b/source/module/actors/M5ModAggregate.ts @@ -41,6 +41,8 @@ export default class M5ModAggregate { this.push({ type: M5ModType.STAT, id: M5Stats.AP, operation: M5ModOperation.SET, value: calc.stats.ap.value }, characterString); this.push({ type: M5ModType.STAT, id: M5Stats.PROTECTION_LP, operation: M5ModOperation.SET, value: calc.stats.lpProtection.value }, characterString); this.push({ type: M5ModType.STAT, id: M5Stats.PROTECTION_AP, operation: M5ModOperation.SET, value: calc.stats.apProtection.value }, characterString); + this.push({ type: M5ModType.STAT, id: M5Stats.PERCEPTION, operation: M5ModOperation.SET, value: calc.stats.perception.value }, characterString); + this.push({ type: M5ModType.STAT, id: M5Stats.DRINKING, operation: M5ModOperation.SET, value: calc.stats.drinking.value }, characterString); } push(mod: M5ItemMod, source: string) { diff --git a/source/module/rolls/M5Roll.ts b/source/module/rolls/M5Roll.ts index 141fb7e..01163e1 100644 --- a/source/module/rolls/M5Roll.ts +++ b/source/module/rolls/M5Roll.ts @@ -1,6 +1,7 @@ import { Evaluated } from "@league-of-foundry-developers/foundry-vtt-types/src/foundry/client/dice/roll"; import { M5Character } from "../actors/M5Character"; -import { M5EwResult, M5RollData, M5RollResult, M5SkillUnlearned } from "../M5Base"; +import { M5EwResult, M5RollData, M5RollResult, M5SkillUnlearned, M5Stats } from "../M5Base"; +import { stat } from "fs"; export class M5Roll { // extends Roll @@ -181,7 +182,7 @@ export class M5Roll { }; rollData.rolls["0"] = { - formula: "1d20 + @c.calc.stats.brawlEw", + formula: "1d20 + @c.calc.stats.brawlFw", enabled: true, label: (game as Game).i18n.localize("midgard5.attack"), result: "", @@ -205,6 +206,40 @@ export class M5Roll { return new M5Roll(rollData, actor, (game as Game).i18n.localize("midgard5.brawl")); } + static perception(actor: any) { + const rollData = actor.getRollData() as M5RollData; + + rollData.rolls["0"] = { + formula: "1d20 + @c.calc.stats.perception.value + @c.calc.stats.perceptionFW", + enabled: true, + label: (game as Game).i18n.localize("midgard5.perception"), + result: "", + total: 0, + totalStr: "", + dice: {}, + css: "", + } as M5RollResult; + + return new M5Roll(rollData, actor, (game as Game).i18n.localize("midgard5.perception")); + } + + static drinking(actor: any) { + const rollData = actor.getRollData() as M5RollData; + + rollData.rolls["0"] = { + formula: "1d20 + @c.calc.stats.drinking.value + @c.calc.stats.drinkingFW", + enabled: true, + label: (game as Game).i18n.localize("midgard5.drinking"), + result: "", + total: 0, + totalStr: "", + dice: {}, + css: "", + } as M5RollResult; + + return new M5Roll(rollData, actor, (game as Game).i18n.localize("midgard5.drinking")); + } + static defense(actor: any) { const rollData = actor.getRollData() as M5RollData; rollData.i = { diff --git a/source/module/sheets/M5CharacterSheet.ts b/source/module/sheets/M5CharacterSheet.ts index 338faed..d847e42 100644 --- a/source/module/sheets/M5CharacterSheet.ts +++ b/source/module/sheets/M5CharacterSheet.ts @@ -168,6 +168,16 @@ export default class M5CharacterSheet extends ActorSheet { await roll.toMessage(); }); + html.find(".roll-perception-button").on("click", async (event) => { + const roll = M5Roll.perception(this.actor); + await roll.toMessage(); + }); + + html.find(".roll-drinking-button").on("click", async (event) => { + const roll = M5Roll.drinking(this.actor); + await roll.toMessage(); + }); + html.find(".roll-defense-button").on("click", async (event) => { const roll = M5Roll.defense(this.actor); await roll.toMessage(); diff --git a/source/template.json b/source/template.json index 180f4ba..c48ea3d 100644 --- a/source/template.json +++ b/source/template.json @@ -36,7 +36,7 @@ "ep": 0, "gg": 0, "sg": 0, - "gp": 2 + "gp": 0 }, "attributes": { "attributes": { diff --git a/templates/sheets/character/gear.hbs b/templates/sheets/character/gear.hbs index c00afbe..c84b37c 100644 --- a/templates/sheets/character/gear.hbs +++ b/templates/sheets/character/gear.hbs @@ -19,7 +19,7 @@
- + diff --git a/templates/sheets/character/skills.hbs b/templates/sheets/character/skills.hbs index e740565..9ca501e 100644 --- a/templates/sheets/character/skills.hbs +++ b/templates/sheets/character/skills.hbs @@ -74,6 +74,23 @@ {{/each}} + + + + + + + + + + + + + + + + +
{{localize "ITEM.type.kampfkunst"}}{{localize "TYPES.Item.kampfkunst"}} {{localize "midgard5.ew"}}
- {{localize "midgard5.item-value"}} - + {{localize "midgard5.time-duration"}} + +
{{localize "midgard5.brawl"}}{{data.calc.stats.brawlEw}}{{data.calc.stats.brawlFw}}
{{localize "midgard5.perception"}}{{data.calc.stats.perceptionFW}}{{data.calc.stats.perception.value}}{{add data.calc.stats.perception.value data.calc.stats.perceptionFW}}
{{localize "midgard5.drinking"}}{{data.calc.stats.drinkingFW}}{{data.calc.stats.drinking.value}}{{add data.calc.stats.drinking.value data.calc.stats.drinkingFW}}
From a56e6bab3dd400db33bf36969658f1d79bbbbf44 Mon Sep 17 00:00:00 2001 From: Byroks Date: Wed, 13 Dec 2023 18:46:49 +0100 Subject: [PATCH 6/7] Automatically select skill for effects (#59) Changes: + when a mod gets added, check if it's a skill + if it's a skill, find appropiate ID in actors item list and apply it to the mod --- source/module/items/M5Item.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/module/items/M5Item.ts b/source/module/items/M5Item.ts index 7421e50..cc942ff 100644 --- a/source/module/items/M5Item.ts +++ b/source/module/items/M5Item.ts @@ -145,6 +145,11 @@ export class M5Item extends Item { } if (itemData?.mods) { calc.mods = {}; + for (let modKey in itemData.mods) { + if (itemData.mods[modKey].type === M5ModType.SKILL && itemData.mods[modKey].id?.includes("midgard5")) { + itemData.mods[modKey].id = actor?.items.find((x) => x.name === game["i18n"].localize(itemData.mods[modKey].id))?.id; + } + } Object.keys(itemData?.mods).forEach((key) => { const mod = itemData.mods[key]; From a5336faa9495e3ba18e8e5fd2d58bcf3f529e296 Mon Sep 17 00:00:00 2001 From: Byroks Date: Wed, 13 Dec 2023 18:52:41 +0100 Subject: [PATCH 7/7] v2.3.0 --- package.json | 2 +- source/system.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f146df3..a4d1147 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foundry-system-midgard5", - "version": "2.2.0", + "version": "2.3.0", "description": "", "main": "index.js", "scripts": { diff --git a/source/system.json b/source/system.json index 82d0cf5..58b5641 100644 --- a/source/system.json +++ b/source/system.json @@ -3,7 +3,7 @@ "name": "midgard5", "title": "Midgard 5. Edition", "description": "The German RPG Midgard 5. Edition", - "version": "2.2.0", + "version": "2.3.0", "compatibility": { "minimum": "10", "verified": "11", @@ -74,7 +74,7 @@ "label": "Verletzungen", "system": "midgard5", "path": "./packs/items/verletzungen.db", - "type": "Item" + "type": "Item" }, { "name": "ruestkammer", @@ -154,8 +154,8 @@ "primaryTokenAttribute": "lp", "secondaryTokenAttribute": "ap", "url": "https://github.com/Byroks/foundry-vtt-system-midgard5", - "manifest": "https://github.com/Byroks/foundry-vtt-system-midgard5/releases/download/v2.2.0/system.json", - "download": "https://github.com/Byroks/foundry-vtt-system-midgard5/releases/download/v2.2.0/midgard5-v2.2.0.zip", + "manifest": "https://github.com/Byroks/foundry-vtt-system-midgard5/releases/download/v2.3.0/system.json", + "download": "https://github.com/Byroks/foundry-vtt-system-midgard5/releases/download/v2.3.0/midgard5-v2.3.0.zip", "initiative": "@c.calc.attributes.gw.value", "license": "LICENSE.txt" } \ No newline at end of file