diff --git a/dist.tgz b/dist.tgz new file mode 100644 index 0000000..3e98ed2 Binary files /dev/null and b/dist.tgz differ diff --git a/src/packs/common-actions/000005.ldb b/src/packs/common-actions/000005.ldb index 43c4599..58febe8 100644 Binary files a/src/packs/common-actions/000005.ldb and b/src/packs/common-actions/000005.ldb differ diff --git a/src/packs/common-actions/LOG b/src/packs/common-actions/LOG index 58d37e5..df4267b 100644 --- a/src/packs/common-actions/LOG +++ b/src/packs/common-actions/LOG @@ -1,5 +1,5 @@ -2024/05/17-23:56:12.076223 7fcb1c8ec700 Delete type=3 #1 -2024/05/17-23:56:12.078659 7fcaf6d82700 Level-0 table #5: started -2024/05/17-23:56:12.081722 7fcaf6d82700 Level-0 table #5: 17097 bytes OK -2024/05/17-23:56:12.084330 7fcaf6d82700 Delete type=0 #3 -2024/05/17-23:56:12.084425 7fcaf6d82700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end) +2024/06/11-22:50:16.309680 7f32aafbf700 Delete type=3 #1 +2024/06/11-22:50:16.312315 7f32a8fbb700 Level-0 table #5: started +2024/06/11-22:50:16.320019 7f32a8fbb700 Level-0 table #5: 16748 bytes OK +2024/06/11-22:50:16.329153 7f32a8fbb700 Delete type=0 #3 +2024/06/11-22:50:16.329270 7f32a8fbb700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end) diff --git a/src/packs/common-actions/MANIFEST-000002 b/src/packs/common-actions/MANIFEST-000002 index 1f22384..a8c0e56 100644 Binary files a/src/packs/common-actions/MANIFEST-000002 and b/src/packs/common-actions/MANIFEST-000002 differ diff --git a/src/packs/gear/LOG b/src/packs/gear/LOG index 51db066..685388d 100644 --- a/src/packs/gear/LOG +++ b/src/packs/gear/LOG @@ -1,5 +1,5 @@ -2024/05/17-23:56:12.190384 7f9c8b7bf700 Delete type=3 #1 -2024/05/17-23:56:12.192563 7f9c894ff700 Level-0 table #5: started -2024/05/17-23:56:12.195476 7f9c894ff700 Level-0 table #5: 6787 bytes OK -2024/05/17-23:56:12.198437 7f9c894ff700 Delete type=0 #3 -2024/05/17-23:56:12.198534 7f9c894ff700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end) +2024/06/11-22:50:16.454286 7f9e017be700 Delete type=3 #1 +2024/06/11-22:50:16.456570 7f9dffd40700 Level-0 table #5: started +2024/06/11-22:50:16.464132 7f9dffd40700 Level-0 table #5: 6787 bytes OK +2024/06/11-22:50:16.473150 7f9dffd40700 Delete type=0 #3 +2024/06/11-22:50:16.473564 7f9dffd40700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end) diff --git a/src/packs/helper-actors/LOG b/src/packs/helper-actors/LOG index e8e59af..48f87c6 100644 --- a/src/packs/helper-actors/LOG +++ b/src/packs/helper-actors/LOG @@ -1,5 +1,5 @@ -2024/05/17-23:56:12.306331 7f05477fe700 Delete type=3 #1 -2024/05/17-23:56:12.308360 7f0545d3f700 Level-0 table #5: started -2024/05/17-23:56:12.311076 7f0545d3f700 Level-0 table #5: 1751 bytes OK -2024/05/17-23:56:12.313731 7f0545d3f700 Delete type=0 #3 -2024/05/17-23:56:12.313822 7f0545d3f700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end) +2024/06/11-22:50:16.595940 7f60bf7bf700 Delete type=3 #1 +2024/06/11-22:50:16.598498 7f60bd540700 Level-0 table #5: started +2024/06/11-22:50:16.605689 7f60bd540700 Level-0 table #5: 1751 bytes OK +2024/06/11-22:50:16.614754 7f60bd540700 Delete type=0 #3 +2024/06/11-22:50:16.614860 7f60bd540700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end) diff --git a/src/packs/helper-macros/000005.ldb b/src/packs/helper-macros/000005.ldb index e21a0a7..d7b86d8 100644 Binary files a/src/packs/helper-macros/000005.ldb and b/src/packs/helper-macros/000005.ldb differ diff --git a/src/packs/helper-macros/LOG b/src/packs/helper-macros/LOG index 19fd7e2..cf2b37e 100644 --- a/src/packs/helper-macros/LOG +++ b/src/packs/helper-macros/LOG @@ -1,5 +1,5 @@ -2024/05/17-23:56:12.425855 7f34337fe700 Delete type=3 #1 -2024/05/17-23:56:12.428238 7f3431d3f700 Level-0 table #5: started -2024/05/17-23:56:12.431468 7f3431d3f700 Level-0 table #5: 25095 bytes OK -2024/05/17-23:56:12.434416 7f3431d3f700 Delete type=0 #3 -2024/05/17-23:56:12.434513 7f3431d3f700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end) +2024/06/11-22:50:16.745714 7f8e367bd700 Delete type=3 #1 +2024/06/11-22:50:16.747982 7f8e35540700 Level-0 table #5: started +2024/06/11-22:50:16.755348 7f8e35540700 Level-0 table #5: 20105 bytes OK +2024/06/11-22:50:16.764437 7f8e35540700 Delete type=0 #3 +2024/06/11-22:50:16.764544 7f8e35540700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end) diff --git a/src/packs/helper-macros/MANIFEST-000002 b/src/packs/helper-macros/MANIFEST-000002 index 2d4da3c..110716c 100644 Binary files a/src/packs/helper-macros/MANIFEST-000002 and b/src/packs/helper-macros/MANIFEST-000002 differ diff --git a/src/packs/module-docs/000005.ldb b/src/packs/module-docs/000005.ldb index 34a9e31..7492ed5 100644 Binary files a/src/packs/module-docs/000005.ldb and b/src/packs/module-docs/000005.ldb differ diff --git a/src/packs/module-docs/LOG b/src/packs/module-docs/LOG index 7624812..92fd500 100644 --- a/src/packs/module-docs/LOG +++ b/src/packs/module-docs/LOG @@ -1,5 +1,5 @@ -2024/05/17-23:56:12.540188 7ffb0f7bf700 Delete type=3 #1 -2024/05/17-23:56:12.542303 7ffb0d540700 Level-0 table #5: started -2024/05/17-23:56:12.545279 7ffb0d540700 Level-0 table #5: 18987 bytes OK -2024/05/17-23:56:12.547877 7ffb0d540700 Delete type=0 #3 -2024/05/17-23:56:12.547974 7ffb0d540700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end) +2024/06/11-22:50:16.890031 7f7e97fff700 Delete type=3 #1 +2024/06/11-22:50:16.892507 7f7e96ffd700 Level-0 table #5: started +2024/06/11-22:50:16.900259 7f7e96ffd700 Level-0 table #5: 20877 bytes OK +2024/06/11-22:50:16.909263 7f7e96ffd700 Delete type=0 #3 +2024/06/11-22:50:16.909384 7f7e96ffd700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end) diff --git a/src/packs/module-docs/MANIFEST-000002 b/src/packs/module-docs/MANIFEST-000002 index 7831289..74f2553 100644 Binary files a/src/packs/module-docs/MANIFEST-000002 and b/src/packs/module-docs/MANIFEST-000002 differ diff --git a/src/packsrc/common-actions/Martial_Flexibility_36zTIOZG80Adi4wj.json b/src/packsrc/common-actions/Martial_Flexibility_36zTIOZG80Adi4wj.json new file mode 100644 index 0000000..649634e --- /dev/null +++ b/src/packsrc/common-actions/Martial_Flexibility_36zTIOZG80Adi4wj.json @@ -0,0 +1,58 @@ +{ + "name": "Martial Flexibility", + "type": "action", + "folder": "rXqlP1phfPHNZrRT", + "_id": "36zTIOZG80Adi4wj", + "img": "icons/skills/melee/maneuver-sword-katana-yellow.webp", + "system": { + "description": "
Martial Flexibility: Once per encounter, as a limited free action, a fighter can choose to gain the benefits of a single Combat Edge. He must meet all of the Edge’s Requirements, and the benefits of the chosen Edge end after five rounds.
", + "notes": "", + "source": "", + "swid": "martial-flexibility", + "additionalStats": {}, + "favorite": false, + "category": "Savage Pathfinder (Fighter)", + "templates": { + "cone": false, + "stream": false, + "small": false, + "medium": false, + "large": false + }, + "actions": { + "trait": "", + "traitMod": "", + "dmgMod": "", + "additional": { + "E4Pbzvi0": { + "name": "Effect", + "type": "macro", + "dice": null, + "resourcesUsed": null, + "modifier": "", + "override": "", + "uuid": "Compendium.swade-mb-helpers.helper-macros.Macro.AjuA11hQ48UJNwlH", + "macroActor": "self", + "isHeavyWeapon": false + } + } + }, + "choiceSets": [] + }, + "effects": [], + "sort": 0, + "ownership": { + "default": 0, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1718079886856, + "modifiedTime": 1718080020636, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!items!36zTIOZG80Adi4wj" +} diff --git a/src/packsrc/helper-macros/Add_Effect_to_Powers_SWrIQSAUIJjGoK7d.json b/src/packsrc/helper-macros/Add_Effect_to_Powers_SWrIQSAUIJjGoK7d.json new file mode 100644 index 0000000..21bacd5 --- /dev/null +++ b/src/packsrc/helper-macros/Add_Effect_to_Powers_SWrIQSAUIJjGoK7d.json @@ -0,0 +1,27 @@ +{ + "name": "Add Effect to Powers", + "type": "script", + "scope": "global", + "author": "sVoCvBU1knmXzoYe", + "img": "icons/commodities/tech/antenna-powered-purple.webp", + "command": "const tokens = canvas.tokens.controlled;\nconst actors = tokens.map((t) => t.actor);\nconst EFFECT_OBJECT = {\n name: 'Effect',\n type: 'macro',\n dice: null,\n resourcesUsed: null,\n modifier: '',\n override: '',\n uuid: 'Compendium.swade-mb-helpers.helper-macros.Macro.AjuA11hQ48UJNwlH',\n macroActor: 'self',\n isHeavyWeapon: false,\n};\nfor (const actor of actors) {\n const updates = [];\n for (const power of actor.items.filter((i) => i.type === 'power')) {\n if (Object.values(power.system.actions.additional).find((action) => action.name === 'Effect')) {\n continue;\n }\n const _id = power.id;\n const additional = foundry.utils.deepClone(power.system.actions.additional);\n additional[foundry.utils.randomID(8)] = foundry.utils.deepClone(EFFECT_OBJECT);\n updates.push({ _id, 'system.actions.additional': additional });\n }\n if (updates.length > 0) {\n actor.updateEmbeddedDocuments('Item', updates);\n }\n}", + "folder": null, + "ownership": { + "default": 0, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": { + "core": {} + }, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1703400915341, + "modifiedTime": 1718077721660, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_id": "SWrIQSAUIJjGoK7d", + "sort": 1100000, + "_key": "!macros!SWrIQSAUIJjGoK7d" +} diff --git a/src/packsrc/helper-macros/Zombie_mdci1DSM3UTaLzrb.json b/src/packsrc/helper-macros/All_Power_Effects_FOSwCwCWRG9zFaAg.json similarity index 51% rename from src/packsrc/helper-macros/Zombie_mdci1DSM3UTaLzrb.json rename to src/packsrc/helper-macros/All_Power_Effects_FOSwCwCWRG9zFaAg.json index ffc1b37..2409784 100644 --- a/src/packsrc/helper-macros/Zombie_mdci1DSM3UTaLzrb.json +++ b/src/packsrc/helper-macros/All_Power_Effects_FOSwCwCWRG9zFaAg.json @@ -1,27 +1,27 @@ { - "name": "Zombie", + "name": "All Power Effects", "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/death/hand-dirt-undead-zombie.webp", "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Zombie'\n})", - "folder": "hIbrWxg1nDutCSwt", + "author": "sVoCvBU1knmXzoYe", + "img": "icons/magic/symbols/star-rising-purple.webp", + "command": "game.modules.get('swade-mb-helpers').api.powerEffectsMenu({\n token, \n targets: game.user.targets,\n})", + "folder": null, + "ownership": { + "default": 0, + "sVoCvBU1knmXzoYe": 3 + }, "flags": { "core": {} }, "_stats": { "systemId": "swade", - "systemVersion": "3.2.5", + "systemVersion": "3.4.1", "coreVersion": "11.315", - "createdTime": 1694404089533, - "modifiedTime": 1702859394353, + "createdTime": 1718080195550, + "modifiedTime": 1718161829110, "lastModifiedBy": "sVoCvBU1knmXzoYe" }, - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "_id": "mdci1DSM3UTaLzrb", + "_id": "FOSwCwCWRG9zFaAg", "sort": 0, - "_key": "!macros!mdci1DSM3UTaLzrb" + "_key": "!macros!FOSwCwCWRG9zFaAg" } diff --git a/src/packsrc/helper-macros/Blind_e9HvLMtaDw2qpcE8.json b/src/packsrc/helper-macros/Blind_e9HvLMtaDw2qpcE8.json deleted file mode 100644 index 84bd5a8..0000000 --- a/src/packsrc/helper-macros/Blind_e9HvLMtaDw2qpcE8.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Blind", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/svg/blind.svg", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Blind'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1678165762773, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "e9HvLMtaDw2qpcE8", - "folder": "hIbrWxg1nDutCSwt", - "sort": 700000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!e9HvLMtaDw2qpcE8" -} diff --git a/src/packsrc/helper-macros/Boost_Lower_Trait_1AqIFHAcX5TRdE8X.json b/src/packsrc/helper-macros/Boost_Lower_Trait_1AqIFHAcX5TRdE8X.json deleted file mode 100644 index 03f2e7a..0000000 --- a/src/packsrc/helper-macros/Boost_Lower_Trait_1AqIFHAcX5TRdE8X.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Boost/Lower Trait", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/life/cross-embers-glow-yellow-purple.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Boost/Lower Trait'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677458254287, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "1AqIFHAcX5TRdE8X", - "folder": "hIbrWxg1nDutCSwt", - "sort": 2100000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!1AqIFHAcX5TRdE8X" -} diff --git a/src/packsrc/helper-macros/Burrow_e4LvHlTNDy5zcGIG.json b/src/packsrc/helper-macros/Burrow_e4LvHlTNDy5zcGIG.json deleted file mode 100644 index 8a3bafc..0000000 --- a/src/packsrc/helper-macros/Burrow_e4LvHlTNDy5zcGIG.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Burrow", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/earth/projectile-stone-landslide.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Burrow'\n})", - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1696179835774, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "e4LvHlTNDy5zcGIG", - "sort": 400000, - "_key": "!macros!e4LvHlTNDy5zcGIG" -} diff --git a/src/packsrc/helper-macros/Confusion_L2IstecV7ivcrgUI.json b/src/packsrc/helper-macros/Confusion_L2IstecV7ivcrgUI.json deleted file mode 100644 index eb2341b..0000000 --- a/src/packsrc/helper-macros/Confusion_L2IstecV7ivcrgUI.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Confusion", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/control/hypnosis-mesmerism-swirl.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Confusion'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1678082334572, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "L2IstecV7ivcrgUI", - "folder": "hIbrWxg1nDutCSwt", - "sort": 2000000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!L2IstecV7ivcrgUI" -} diff --git a/src/packsrc/helper-macros/Darksight_YIdF96EfItR641oP.json b/src/packsrc/helper-macros/Darksight_YIdF96EfItR641oP.json deleted file mode 100644 index eb9d073..0000000 --- a/src/packsrc/helper-macros/Darksight_YIdF96EfItR641oP.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Darksight", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/perception/eye-ringed-glow-angry-small-teal.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Darksight'\n})", - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1696179835774, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "YIdF96EfItR641oP", - "sort": 300000, - "_key": "!macros!YIdF96EfItR641oP" -} diff --git a/src/packsrc/helper-macros/Deflection_HYTiftQW0pwwOQGH.json b/src/packsrc/helper-macros/Deflection_HYTiftQW0pwwOQGH.json deleted file mode 100644 index 4fbedbf..0000000 --- a/src/packsrc/helper-macros/Deflection_HYTiftQW0pwwOQGH.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Deflection", - "type": "script", - "scope": "global", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/defensive/shield-barrier-deflect-teal.webp", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Deflection'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677645552357, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "HYTiftQW0pwwOQGH", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1900000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!HYTiftQW0pwwOQGH" -} diff --git a/src/packsrc/helper-macros/Detect_Conceal_Arcana_stHHxnYfGW0X1l5R.json b/src/packsrc/helper-macros/Detect_Conceal_Arcana_stHHxnYfGW0X1l5R.json deleted file mode 100644 index 267d590..0000000 --- a/src/packsrc/helper-macros/Detect_Conceal_Arcana_stHHxnYfGW0X1l5R.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Detect/Conceal Arcana", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/perception/third-eye-blue-red.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Detect/Conceal Arcana'\n})", - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1696208623170, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "stHHxnYfGW0X1l5R", - "sort": 600000, - "_key": "!macros!stHHxnYfGW0X1l5R" -} diff --git a/src/packsrc/helper-macros/Disguise_MYfrVZpLSrpp0vYW.json b/src/packsrc/helper-macros/Disguise_MYfrVZpLSrpp0vYW.json deleted file mode 100644 index 0a208d0..0000000 --- a/src/packsrc/helper-macros/Disguise_MYfrVZpLSrpp0vYW.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Disguise", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/skills/social/diplomacy-peace-alliance.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Disguise'\n})", - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1696208623170, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "MYfrVZpLSrpp0vYW", - "sort": 200000, - "_key": "!macros!MYfrVZpLSrpp0vYW" -} diff --git a/src/packsrc/helper-macros/Effect_Macros_hIbrWxg1nDutCSwt.json b/src/packsrc/helper-macros/Effect_Macros_hIbrWxg1nDutCSwt.json deleted file mode 100644 index 8bc4f8c..0000000 --- a/src/packsrc/helper-macros/Effect_Macros_hIbrWxg1nDutCSwt.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "Effect Macros", - "sorting": "a", - "folder": null, - "type": "Macro", - "_id": "hIbrWxg1nDutCSwt", - "sort": 0, - "color": null, - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.2.2", - "coreVersion": "11.315", - "createdTime": 1695251622720, - "modifiedTime": 1700436446749, - "lastModifiedBy": "R9ZgY0IvWl8ovIuT" - }, - "_key": "!folders!hIbrWxg1nDutCSwt" -} diff --git a/src/packsrc/helper-macros/Entangle_2TOeRNCJT3T2px8D.json b/src/packsrc/helper-macros/Entangle_2TOeRNCJT3T2px8D.json deleted file mode 100644 index 5c233e1..0000000 --- a/src/packsrc/helper-macros/Entangle_2TOeRNCJT3T2px8D.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Entangle", - "type": "script", - "scope": "global", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/nature/root-vine-barrier-wall-brown.webp", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Entangle'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1678164427219, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "2TOeRNCJT3T2px8D", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1800000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!2TOeRNCJT3T2px8D" -} diff --git a/src/packsrc/helper-macros/Havoc_0CalvjuxtMvY2enn.json b/src/packsrc/helper-macros/Havoc_0CalvjuxtMvY2enn.json deleted file mode 100644 index 9eb01b2..0000000 --- a/src/packsrc/helper-macros/Havoc_0CalvjuxtMvY2enn.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Havoc", - "type": "script", - "scope": "global", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/air/air-burst-spiral-yellow.webp", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Havoc'\n})", - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.2.2", - "coreVersion": "11.315", - "createdTime": 1678164427219, - "modifiedTime": 1700436564699, - "lastModifiedBy": "R9ZgY0IvWl8ovIuT" - }, - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_id": "0CalvjuxtMvY2enn", - "sort": 0, - "_key": "!macros!0CalvjuxtMvY2enn" -} diff --git a/src/packsrc/helper-macros/Intangibility_OMDjgWLJyE9BJAwT.json b/src/packsrc/helper-macros/Intangibility_OMDjgWLJyE9BJAwT.json deleted file mode 100644 index 356aea2..0000000 --- a/src/packsrc/helper-macros/Intangibility_OMDjgWLJyE9BJAwT.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Intangibility", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/control/debuff-energy-hold-levitate-blue-yellow.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Intangibility'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1678168528898, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "OMDjgWLJyE9BJAwT", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1700000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!OMDjgWLJyE9BJAwT" -} diff --git a/src/packsrc/helper-macros/Invisibility_11GOryzx2Q8MXbT6.json b/src/packsrc/helper-macros/Invisibility_11GOryzx2Q8MXbT6.json deleted file mode 100644 index 8c7a786..0000000 --- a/src/packsrc/helper-macros/Invisibility_11GOryzx2Q8MXbT6.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Invisibility", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/svg/invisible.svg", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Invisibility'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1678168163811, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "11GOryzx2Q8MXbT6", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1600000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!11GOryzx2Q8MXbT6" -} diff --git a/src/packsrc/helper-macros/Protection_YETsNWOWfIxyLPdC.json b/src/packsrc/helper-macros/Protection_YETsNWOWfIxyLPdC.json deleted file mode 100644 index 263b429..0000000 --- a/src/packsrc/helper-macros/Protection_YETsNWOWfIxyLPdC.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Protection", - "type": "script", - "scope": "global", - "author": "R9ZgY0IvWl8ovIuT", - "img": "systems/swade/assets/icons/status/status_protection.svg", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Protection'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677630174987, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "YETsNWOWfIxyLPdC", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1500000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!YETsNWOWfIxyLPdC" -} diff --git a/src/packsrc/helper-macros/SWADE_Helper_Macros_ypFtlnrgQkzqLpxI.json b/src/packsrc/helper-macros/SWADE_Helper_Macros_ypFtlnrgQkzqLpxI.json index 37f247a..2b47adb 100644 --- a/src/packsrc/helper-macros/SWADE_Helper_Macros_ypFtlnrgQkzqLpxI.json +++ b/src/packsrc/helper-macros/SWADE_Helper_Macros_ypFtlnrgQkzqLpxI.json @@ -4,7 +4,7 @@ "author": "sVoCvBU1knmXzoYe", "img": "icons/magic/symbols/cog-glowing-green.webp", "scope": "global", - "command": "/*================================\nYou can use a Macro Manager to call macros from compendiums!\n================================*/\nconst macroList = [\n \"Fear Table\",\n \"Gold Totals\",\n \"Quick Damage Roll\",\n \"Request Fear Check\",\n \"Request Roll\",\n \"Set Token Vision\",\n \"Draw from Action Deck\",\n \"Shuffle Action Deck\",\n].join(';')\nconst compendiumList = \"SWADE MB Helper Macros\";\n\n// --------------------\nconst mm = game.modules.get('macro-manager')?.api.mm;\n\nconst data = {\n \"macroList\": macroList,\n \"title\": \"SWADE Helpers\",\n \"persistent\": false,\n \"compendiumList\" : compendiumList\n}\n\nmm.openCompendiumMacroManager( data );", + "command": "/*================================\nYou can use a Macro Manager to call macros from compendiums!\n================================*/\nconst macroList = [\n \"All Power Effects\",\n \"Add Effect to Powers\",\n \"Fear Table\",\n \"Gold Totals\",\n \"Quick Damage Roll\",\n \"Request Fear Check\",\n \"Request Roll\",\n \"Set Token Vision\",\n \"Draw from Action Deck\",\n \"Shuffle Action Deck\",\n].join(';')\nconst compendiumList = \"SWADE MB Helper Macros\";\n\n// --------------------\nconst mm = game.modules.get('macro-manager')?.api.mm;\n\nconst data = {\n \"macroList\": macroList,\n \"title\": \"SWADE Helpers\",\n \"persistent\": false,\n \"compendiumList\" : compendiumList\n}\n\nmm.openCompendiumMacroManager( data );", "folder": "8FWN37c0gcpAisAv", "flags": { "core": {} @@ -15,10 +15,10 @@ }, "_stats": { "systemId": "swade", - "systemVersion": "3.3.3", + "systemVersion": "3.4.1", "coreVersion": "11.315", "createdTime": 1708919618235, - "modifiedTime": 1708920865173, + "modifiedTime": 1718161915510, "lastModifiedBy": "sVoCvBU1knmXzoYe" }, "_id": "ypFtlnrgQkzqLpxI", diff --git a/src/packsrc/helper-macros/SWADE_Power_Effects_FlODZ8poh06V4fiG.json b/src/packsrc/helper-macros/SWADE_Power_Effects_FlODZ8poh06V4fiG.json deleted file mode 100644 index 70d0aff..0000000 --- a/src/packsrc/helper-macros/SWADE_Power_Effects_FlODZ8poh06V4fiG.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "SWADE Power Effects", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/symbols/cog-shield-white-blue.webp", - "scope": "global", - "command": "/*================================\nYou can use a Macro Manager to call macros from compendiums!\n================================*/\nconst macroList = [\n \"Blind\",\n \"Boost/Lower Trait\",\n \"Burrow\",\n \"Confusion\",\n \"Darksight\",\n \"Deflection\",\n \"Detect/Conceal Arcana\",\n \"Disguise\",\n \"Entangle\",\n \"Havoc\",\n \"Intangibility\",\n \"Invisibility\",\n \"Protection\",\n \"Shape Change\",\n \"Sloth/Speed\",\n \"Smite\",\n \"Smite - Spiritual Weapon\",\n \"Summon Ally\",\n \"Summon Monster\",\n \"Summon Nature's Ally\",\n \"Summon Planar Ally\",\n \"Zombie\",\n].join(';')\nconst compendiumList = \"SWADE MB Helper Macros\";\n\n// --------------------\nconst mm = game.modules.get('macro-manager')?.api.mm;\n\nconst data = {\n \"macroList\": macroList,\n \"title\": \"my title\",\n \"persistent\": false,\n \"compendiumList\" : compendiumList\n}\n\nmm.openCompendiumMacroManager( data );", - "folder": "8FWN37c0gcpAisAv", - "flags": { - "core": {} - }, - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.3.3", - "coreVersion": "11.315", - "createdTime": 1708919618235, - "modifiedTime": 1708920857630, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "FlODZ8poh06V4fiG", - "sort": 0, - "_key": "!macros!FlODZ8poh06V4fiG" -} diff --git a/src/packsrc/helper-macros/Set_Summoning_Cost_AlZi1ZvS00tHytmR.json b/src/packsrc/helper-macros/Set_Summoning_Cost_AlZi1ZvS00tHytmR.json new file mode 100644 index 0000000..5bd8bbf --- /dev/null +++ b/src/packsrc/helper-macros/Set_Summoning_Cost_AlZi1ZvS00tHytmR.json @@ -0,0 +1,27 @@ +{ + "name": "Set Summoning Cost", + "type": "script", + "scope": "global", + "author": "sVoCvBU1knmXzoYe", + "img": "icons/magic/unholy/orb-contained-pink.webp", + "command": "game.modules.get('swade-mb-helpers').api.setSummonCosts([\n \"Summon Monster\",\n \"Summon Nature's Ally\",\n \"Summon Planar Ally\",\n])", + "folder": null, + "ownership": { + "default": 2, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": { + "core": {} + }, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1703310636261, + "modifiedTime": 1718161812739, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_id": "AlZi1ZvS00tHytmR", + "sort": 0, + "_key": "!macros!AlZi1ZvS00tHytmR" +} diff --git a/src/packsrc/helper-macros/Shape_Change_8gxeYSUJ1FQhmJRw.json b/src/packsrc/helper-macros/Shape_Change_8gxeYSUJ1FQhmJRw.json deleted file mode 100644 index 212cda7..0000000 --- a/src/packsrc/helper-macros/Shape_Change_8gxeYSUJ1FQhmJRw.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "folder": "hIbrWxg1nDutCSwt", - "name": "Shape Change", - "type": "script", - "_id": "8gxeYSUJ1FQhmJRw", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/magic/symbols/runes-star-blue.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Shape Change'\n})", - "sort": 100000, - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1695618313958, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_key": "!macros!8gxeYSUJ1FQhmJRw" -} diff --git a/src/packsrc/helper-macros/Sloth_Speed_uWF4I2mnDkV8NZ6j.json b/src/packsrc/helper-macros/Sloth_Speed_uWF4I2mnDkV8NZ6j.json deleted file mode 100644 index d953427..0000000 --- a/src/packsrc/helper-macros/Sloth_Speed_uWF4I2mnDkV8NZ6j.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Sloth/Speed", - "type": "script", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/skills/movement/feet-winged-sandals-tan.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Sloth/Speed'\n})", - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677996503821, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "folder": "hIbrWxg1nDutCSwt", - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "_id": "uWF4I2mnDkV8NZ6j", - "sort": 500000, - "_key": "!macros!uWF4I2mnDkV8NZ6j" -} diff --git a/src/packsrc/helper-macros/Smite_C1vGk7AKQDpcvKyP.json b/src/packsrc/helper-macros/Smite_C1vGk7AKQDpcvKyP.json deleted file mode 100644 index db05216..0000000 --- a/src/packsrc/helper-macros/Smite_C1vGk7AKQDpcvKyP.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Smite", - "type": "script", - "scope": "global", - "author": "R9ZgY0IvWl8ovIuT", - "img": "systems/swade/assets/icons/status/status_smite.svg", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Smite'\n})", - "flags": { - "core": {} - }, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677548889704, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "C1vGk7AKQDpcvKyP", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1400000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!C1vGk7AKQDpcvKyP" -} diff --git a/src/packsrc/helper-macros/Smite___Spiritual_Weapon_JzzC728WBjbE7qUP.json b/src/packsrc/helper-macros/Smite___Spiritual_Weapon_JzzC728WBjbE7qUP.json deleted file mode 100644 index 0db0121..0000000 --- a/src/packsrc/helper-macros/Smite___Spiritual_Weapon_JzzC728WBjbE7qUP.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "folder": "hIbrWxg1nDutCSwt", - "name": "Smite - Spiritual Weapon", - "type": "script", - "_id": "JzzC728WBjbE7qUP", - "author": "sVoCvBU1knmXzoYe", - "img": "icons/weapons/hammers/hammer-double-glowing-yellow.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'spiritual-weapon'\n})", - "sort": 0, - "ownership": { - "default": 0, - "sVoCvBU1knmXzoYe": 3 - }, - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.2.5", - "coreVersion": "11.315", - "createdTime": 1707874116560, - "modifiedTime": 1707875900366, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_key": "!macros!JzzC728WBjbE7qUP" -} diff --git a/src/packsrc/helper-macros/Summon_Ally_RV09eJi9iG5bfupo.json b/src/packsrc/helper-macros/Summon_Ally_RV09eJi9iG5bfupo.json deleted file mode 100644 index 4fa43cc..0000000 --- a/src/packsrc/helper-macros/Summon_Ally_RV09eJi9iG5bfupo.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Ally", - "type": "script", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/runes-star-orange.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Ally'\n})", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1677996503821, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "_id": "RV09eJi9iG5bfupo", - "folder": "hIbrWxg1nDutCSwt", - "sort": 1000000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!RV09eJi9iG5bfupo" -} diff --git a/src/packsrc/helper-macros/Summon_Animal_745gcs8ytsCLPXe1.json b/src/packsrc/helper-macros/Summon_Animal_745gcs8ytsCLPXe1.json deleted file mode 100644 index 2937d81..0000000 --- a/src/packsrc/helper-macros/Summon_Animal_745gcs8ytsCLPXe1.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Animal", - "type": "script", - "_id": "745gcs8ytsCLPXe1", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/mask-yellow-orange.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Animal'\n})", - "folder": "hIbrWxg1nDutCSwt", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1694403406793, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "sort": 800000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!745gcs8ytsCLPXe1" -} diff --git a/src/packsrc/helper-macros/Summon_Monster_V8r5hugGBQfqlhYt.json b/src/packsrc/helper-macros/Summon_Monster_V8r5hugGBQfqlhYt.json deleted file mode 100644 index 8a953b9..0000000 --- a/src/packsrc/helper-macros/Summon_Monster_V8r5hugGBQfqlhYt.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Monster", - "type": "script", - "_id": "V8r5hugGBQfqlhYt", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/mask-metal-silver-white.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Monster'\n})", - "folder": "hIbrWxg1nDutCSwt", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1694403446899, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "sort": 1300000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!V8r5hugGBQfqlhYt" -} diff --git a/src/packsrc/helper-macros/Summon_Nature_s_Ally_wU2mAUnw3RW9qMT8.json b/src/packsrc/helper-macros/Summon_Nature_s_Ally_wU2mAUnw3RW9qMT8.json deleted file mode 100644 index 4eb5584..0000000 --- a/src/packsrc/helper-macros/Summon_Nature_s_Ally_wU2mAUnw3RW9qMT8.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Nature's Ally", - "type": "script", - "_id": "wU2mAUnw3RW9qMT8", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/mask-yellow-orange.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Nature's Ally'\n})", - "folder": "hIbrWxg1nDutCSwt", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1694403243667, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "sort": 900000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!wU2mAUnw3RW9qMT8" -} diff --git a/src/packsrc/helper-macros/Summon_Planar_Ally_jACgJo0HAmkyzFjZ.json b/src/packsrc/helper-macros/Summon_Planar_Ally_jACgJo0HAmkyzFjZ.json deleted file mode 100644 index 49a693c..0000000 --- a/src/packsrc/helper-macros/Summon_Planar_Ally_jACgJo0HAmkyzFjZ.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Planar Ally", - "type": "script", - "_id": "jACgJo0HAmkyzFjZ", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/runes-star-orange-purple.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Planar Ally'\n})", - "folder": "hIbrWxg1nDutCSwt", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1694403168266, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "sort": 1200000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!jACgJo0HAmkyzFjZ" -} diff --git a/src/packsrc/helper-macros/Summon_Undead_eeX3Hoy2Uxo5BeUC.json b/src/packsrc/helper-macros/Summon_Undead_eeX3Hoy2Uxo5BeUC.json deleted file mode 100644 index 76e1a50..0000000 --- a/src/packsrc/helper-macros/Summon_Undead_eeX3Hoy2Uxo5BeUC.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "Summon Undead", - "type": "script", - "_id": "eeX3Hoy2Uxo5BeUC", - "author": "R9ZgY0IvWl8ovIuT", - "img": "icons/magic/symbols/star-yellow.webp", - "scope": "global", - "command": "game.modules.get('swade-mb-helpers').api.powerEffects({\n token,\n targets: game.user.targets,\n name: 'Summon Undead'\n})", - "folder": "hIbrWxg1nDutCSwt", - "flags": {}, - "_stats": { - "systemId": "swade", - "systemVersion": "3.1.4", - "coreVersion": "11.311", - "createdTime": 1694404089533, - "modifiedTime": 1696209757148, - "lastModifiedBy": "sVoCvBU1knmXzoYe" - }, - "sort": 1100000, - "ownership": { - "default": 0, - "R9ZgY0IvWl8ovIuT": 3 - }, - "_key": "!macros!eeX3Hoy2Uxo5BeUC" -} diff --git a/src/packsrc/module-docs/API_Documentation_Q4iS1LIiyy7acuaF.json b/src/packsrc/module-docs/API_Documentation_Q4iS1LIiyy7acuaF.json index b070f8b..dc80b22 100644 --- a/src/packsrc/module-docs/API_Documentation_Q4iS1LIiyy7acuaF.json +++ b/src/packsrc/module-docs/API_Documentation_Q4iS1LIiyy7acuaF.json @@ -211,6 +211,76 @@ }, "_id": "J0HiPqdHqM27gwUw", "_key": "!journal.pages!Q4iS1LIiyy7acuaF.J0HiPqdHqM27gwUw" + }, + { + "sort": 250000, + "name": "api.powerEffectsMenu", + "type": "text", + "_id": "mh10DT2hTaOwcBcR", + "title": { + "show": true, + "level": 1 + }, + "image": {}, + "text": { + "format": 1, + "content": "async function powerEffectsMenu(options = {})
Select a specific power effect from a dropdown instead of relying on the item swid.
The only parameter is the options parameter detailed below.
The options object has the following fields:
token: a single token, that is initiating the power
targets: it appropriate to the eventual power, a list of zero or more targets of the power
No return value.
" + }, + "video": { + "controls": true, + "volume": 0.5 + }, + "src": null, + "system": {}, + "ownership": { + "default": -1, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1718162230430, + "modifiedTime": 1718162448674, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!journal.pages!Q4iS1LIiyy7acuaF.mh10DT2hTaOwcBcR" + }, + { + "sort": 600000, + "name": "api.setSummonCosts", + "type": "text", + "_id": "SFx2QbD5xyHPGZIC", + "title": { + "show": true, + "level": 1 + }, + "image": {}, + "text": { + "format": 1, + "content": "function setSummonCosts(powers = [], folderName = null)
Set the summonables cost for the given summon powers (by name). Pops up a dialog with checkboxes to enable a creature for specific powers, and a number option to set its summoning cost.
powers: list of power names (eg, [\"Summon Monster\" ,\"Summon Nature's Ally\", \"Summon Planar Ally\"] to set summon costs for
folderName: Actor folder to use as base. Defaults to \"Summonables/Creatures\"
No return value
" + }, + "video": { + "controls": true, + "volume": 0.5 + }, + "src": null, + "system": {}, + "ownership": { + "default": -1, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1718162472408, + "modifiedTime": 1718162673342, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!journal.pages!Q4iS1LIiyy7acuaF.SFx2QbD5xyHPGZIC" } ], "folder": null, @@ -223,10 +293,10 @@ }, "_stats": { "systemId": "swade", - "systemVersion": "3.2.5", + "systemVersion": "3.4.1", "coreVersion": "11.315", "createdTime": 1700438778794, - "modifiedTime": 1703375940967, + "modifiedTime": 1718162673342, "lastModifiedBy": "sVoCvBU1knmXzoYe" }, "_id": "Q4iS1LIiyy7acuaF", diff --git a/src/packsrc/module-docs/Macros_Mw1g2Fx5dp4SoqVP.json b/src/packsrc/module-docs/Macros_Mw1g2Fx5dp4SoqVP.json index 7b3e7ce..7569aa1 100644 --- a/src/packsrc/module-docs/Macros_Mw1g2Fx5dp4SoqVP.json +++ b/src/packsrc/module-docs/Macros_Mw1g2Fx5dp4SoqVP.json @@ -13,7 +13,7 @@ "image": {}, "text": { "format": 1, - "content": "There is one primary effect macro @UUID[Compendium.swade-mb-helpers.helper-macros.Macro.AjuA11hQ48UJNwlH]{Power Effects Item Action} that is meant to be used as a power's macro action. It will automatically note the item it was called from and apply an appropriate effect if it's been implemented. The game-affecting power modifiers are implemented as additional active effects, and game effects are applied but no special effects are applied. If you want that, use Automated Animations or Token Variant Art.
There is also a repository of individually named macros, one for each power implemented by the primary effect macro, for GMs who want to run the macro for their players. They're configured to be run with a selected token and targeted token(s) as appropriate.
", + "content": "There is one primary effect macro @UUID[Compendium.swade-mb-helpers.helper-macros.Macro.AjuA11hQ48UJNwlH]{Power Effects Item Action} that is meant to be used as a power's macro action. It will automatically note the item it was called from and apply an appropriate effect if it's been implemented. The game-affecting power modifiers are implemented as additional active effects, and game effects are applied but no special effects are applied. If you want that, use Token Variant Art.
Alternately the @UUID[Compendium.swade-mb-helpers.helper-macros.Macro.FOSwCwCWRG9zFaAg]{All Power Effects} macro may be used to select a power from the dropdown list and apply it as if selected from an item.
Note that the SWPF Fighter's Martial Flexibility ability is treated like a power.
", "markdown": "" }, "video": { @@ -28,11 +28,11 @@ "flags": {}, "_stats": { "systemId": "swade", - "systemVersion": "3.2.2", + "systemVersion": "3.4.1", "coreVersion": "11.315", "createdTime": null, - "modifiedTime": 1700438350403, - "lastModifiedBy": "R9ZgY0IvWl8ovIuT" + "modifiedTime": 1718163401627, + "lastModifiedBy": "sVoCvBU1knmXzoYe" }, "_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.i31qmsZnIGhjvA2K" }, @@ -48,7 +48,7 @@ "image": {}, "text": { "format": 1, - "content": "The Summon effects expects to have one and only one target, and depends on the existence of an Actor folder called \"Summonables/<POWER>\" on the Actor sidebar (eg \"Summonables/Summon Ally\"). If this folder has subfolders, they'll be used by the macro to sort the list of available summonables. In the Summonables/<POWER> folder and subfolders, place the Actors that are available for summoning.
The Summonables/<POWER> folders are enhanced by template npc actors. If present, these enable additional automation when using some aspects of SWADE or SWPF summoning. All Summon powers (but not Zombie) benefit from an npc actor called \"raise_template\", which should have your handmade or purchased system content's 'Resilient' ability (and any effects embedded in that ability).
The Summon Ally power requires some additional setup:
an NPC actor called \"Mirror Self\" that has your version of the Construct and Fearless special abilities (only)
(optional but recommended) the additional template actors described below
\"Summonables/Summon Ally\" also benefit from \"bite-claw_template\", \"combat-edge_template\", \"flight_template\", in addition to \"raise_template\" mentioned above. In all template actors, please ensure that no two Items are named exactly the same (eg an Edge named 'Frenzy' and an action named 'Frenzy' will not work) due to a limitation in WarpGate.
(I cannot include these template actors in this module because a) they'd be different for SWADE and SWPF, and b) I can't redistribute the embedded abilities as it is copyrighted material).
This npc actor needs items (like a claw weapon and a claws special ability) that are transferred to the summoned token.
This npc actor should have every combat edge you want to support dragged to the actor.
This npc actor should have a Flight Item (probably a special ability) and/or the Flying active effect.
The Zombie power requires an additional step as well. Raises are different for Zombie, as are some other effects. Zombie therefore does not require a \"raise_template\", but does need an \"armed_template\" which should have (only) Items that represent a hand weapon and a ranged weapon.
The macro assumes that both Zombie and Skeleton tokens will be added to the Summonables/Zombie folder, and doesn't attempt to apply the 'Skeletal' modifier directly.
Smite's Spiritual Weapon works as a separate macro from the effect macro, that summons a spiritual weapon. Put the potential Spiritual Weapon tokens in a Summonables/Spiritual Weapon folder. The macro will copy the specified arcane skill from the summoner, but the spiritual weapon actor should have a weapon object with a swid of 'spritual-weapon'. This item will be modified with an action for the arcane skill, and if a raise the damage will be increased.
The Summon effects (Summon Ally, Summon Monster, Summon Nature's Ally, Summon Animal, Summon Planar Ally, Summon Undead, Zombie, and Spiritual Weapon (a modifier on Smite)) expect to have zero targets, and depends on the existence of an Actor folder called \"Summonables/<POWER>\" on the Actor sidebar (eg \"Summonables/Summon Ally\"). For the specialty summon effects (Summon Monster and the like) the folder is \"Summonables/Creatures\" for a shared folder. If this folder has subfolders, they'll be used by the macro to sort the list of available summonables. In the Summonables/<POWER> folder and subfolders, place the Actors that are available for summoning.
The Summonables/<POWER> folders are enhanced by template npc actors. If present, these enable additional automation when using some aspects of SWADE or SWPF summoning.
The specialty summon powers use a shared folder \"Summonables/Creatures\", with summoning costs and per-power availability set by the Set Summoning Cost macro. There are no template actors for Summonables/Creatures.
The Summon Ally power requires some additional setup:
an NPC actor called \"Mirror Self\" that has your version of the Construct and Fearless special abilities (only)
(optional but recommended) the additional template actors described below
\"Summonables/Summon Ally\" also benefit from \"raise_template\", \"combat-edge_template\", \"flight_template\", in addition to \"raise_template\" mentioned above. In all template actors, please ensure that no two Items are named exactly the same (eg an Edge named 'Frenzy' and an action named 'Frenzy' will not work) due to a limitation in WarpGate.
(I cannot include these template actors in this module because a) they'd be different for SWADE and SWPF, and b) I can't redistribute the embedded abilities as it is copyrighted material).
this npc actor should have your handmade or purchased system content's Resilient ability and any effects embedded in that ability.
This npc actor should have every combat edge you want to support dragged to the actor.
This npc actor should have a Flight Item (probably a special ability) and/or the Flying active effect.
The Zombie power requires an additional step as well. Raises are different for Zombie, as are some other effects. Zombie therefore does not require a \"raise_template\", but does need an \"armed_template\" which should have (only) Items that represent a hand weapon and a ranged weapon.
Smite's Spiritual Weapon works as a separate macro from the effect macro, selected using the 'Spiritual Weapon' modifier on the main power, that summons a spiritual weapon. Put the potential Spiritual Weapon tokens in a Summonables/Spiritual Weapon folder. The macro will copy the specified arcane skill from the summoner, but the spiritual weapon actor should have a weapon object with a swid of 'spritual-weapon'. This item will be modified with an action for the arcane skill, and if a raise the damage will be increased.
There are two macros intended to be used the with the Macro Manager module:
SWADE Helper Macros collects the various helper macros available into a single menu
SWADE Power Effects collects all the power effects available into a single menu.
There is a macro intended to be used the with the Macro Manager module:
SWADE Helper Macros collects the various helper macros available into a single menu
The Warrior's Gift power and the Martial Flexibility ability (from SWPF's Fighter) both use an NPC actor template called warriors-edge_template anywhere in the actor list. It should have every (combat) edge the GM wants to grant to either of those effects.
" + }, + "video": { + "controls": true, + "volume": 0.5 + }, + "src": null, + "system": {}, + "ownership": { + "default": -1, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1718163420680, + "modifiedTime": 1718163556421, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.JuelAZK3DWf6rN4E" + }, + { + "sort": 150000, + "name": "Add Effect To Powers", + "type": "text", + "_id": "bZZtFKoiA63FTr9i", + "title": { + "show": true, + "level": 2 + }, + "image": {}, + "text": { + "format": 1, + "content": "The Add Effect to Powers macro will add an 'Effect' macro action to each power owned by the selected token(s).
" + }, + "video": { + "controls": true, + "volume": 0.5 + }, + "src": null, + "system": {}, + "ownership": { + "default": -1, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.4.1", + "coreVersion": "11.315", + "createdTime": 1718163701539, + "modifiedTime": 1718163809765, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.bZZtFKoiA63FTr9i" } ], "flags": { @@ -398,10 +468,10 @@ }, "_stats": { "systemId": "swade", - "systemVersion": "3.3.3", + "systemVersion": "3.4.1", "coreVersion": "11.315", "createdTime": 1678169291843, - "modifiedTime": 1708921456312, + "modifiedTime": 1718163809765, "lastModifiedBy": "sVoCvBU1knmXzoYe" }, "_id": "Mw1g2Fx5dp4SoqVP",