All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
26 KiB (Stored with Git LFS)

{"command":"game.pf2e.rollItemMacro(\"BoGJfU137iFDP8ji\");","name":"Attack of Opportunity","type":"script","img":"systems/pf2e/icons/actions/Reaction.webp","flags":{"pf2e":{"itemMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673222183480,"modifiedTime":1673222183480,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"2HJtx7eYFiNpz4af"}
{"name":"New Macro","type":"chat","scope":"global","author":"Hdu5M1l3zekaLX7v","img":"icons/svg/dice-target.svg","command":"","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1678666662380,"modifiedTime":1678666662380,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"4uOxXG9elPnixISY"}
{"command":"game.pf2e.rollActionMacro(\"PPPbt1TYItexSJJC\", 2, \"basic-unarmed\")","name":"Strike: Unarmed Attack","type":"script","img":"systems/pf2e/icons/features/classes/powerful-fist.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673221061607,"modifiedTime":1673221061607,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"5PiQpfp2r9fIlVU2"}
{"command":"const actors = canvas.tokens.controlled.flatMap((token) => token.actor ?? []);\nif (actors.length === 0 && game.user.character) actors.push(game.user.character);\nif (actors.length === 0) {\n const message = game.i18n.localize(\"PF2E.ErrorMessage.NoTokenSelected\");\n return ui.notifications.error(message);\n}\n\nconst ITEM_UUID = \"Compendium.pf2e.other-effects.I9lfZUiCwMiGogVi\"; // Effect: Cover\nconst source = (await fromUuid(ITEM_UUID)).toObject();\nsource.flags = mergeObject(source.flags ?? {}, { core: { sourceId: ITEM_UUID } });\n\nfor (const actor of actors) {\n const existing = actor.itemTypes.effect.find((e) => e.flags.core?.sourceId === ITEM_UUID);\n if (existing) {\n await existing.delete();\n } else {\n await actor.createEmbeddedDocuments(\"Item\", [source]);\n }\n}","name":"Effect: Cover","type":"script","img":"systems/pf2e/icons/conditions-2/status_acup.webp","author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1682902328264,"modifiedTime":1682902328264,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"7MoqtM8nE3FxjC6U"}
{"command":"game.pf2e.rollActionMacro(\"PPPbt1TYItexSJJC\", 2, \"shortbow\")","name":"Strike: Shortbow","type":"script","img":"systems/pf2e/icons/equipment/weapons/shortbow.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673221827646,"modifiedTime":1673221827646,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"8jAPiTyWYsyCGWNu"}
{"command":"game.pf2e.rollActionMacro(\"TJOHNLxOv1YOleNs\", 1, \"longspear\")","name":"Strike: Longspear","type":"script","img":"systems/pf2e/icons/equipment/weapons/longspear.webp","flags":{"pf2e":{"actionMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220871461,"modifiedTime":1673220871461,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"Enm9bcRhMYB9XUf2"}
{"command":"game.pf2e.rollActionMacro(\"TJOHNLxOv1YOleNs\", 2, \"javelin\")","name":"Strike: Javelin","type":"script","img":"systems/pf2e/icons/equipment/weapons/javelin.webp","flags":{"pf2e":{"actionMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220875334,"modifiedTime":1673220875334,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"GKkFHOEV720Uyqj9"}
{"command":"game.pf2e.rollItemMacro(\"0uq2a8pFWex5rjkA\");","name":"Heal","type":"script","img":"systems/pf2e/icons/spells/heal.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1673834135803,"modifiedTime":1673834135803,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"HqSaxdcrM6vNri2N"}
{"command":"game.pf2e.rollItemMacro(\"KK5UdoXJOAUAyZMg\");","name":"Battle Medicine","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1696812050008,"modifiedTime":1696812050008,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"LFSaYukDdrxBwIYu"}
{"command":"game.pf2e.rollItemMacro(\"MLFy9KJNGVfqGOHq\");","name":"Electric Arc","type":"script","img":"systems/pf2e/icons/spells/electric-arc.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220913230,"modifiedTime":1673220913230,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"LkCyzh85rwHAsxaI"}
{"command":"game.pf2e.rollItemMacro(\"6xbxc6IsSWGxloB1\");","name":"Horizon Thunder Sphere","type":"script","img":"systems/pf2e/icons/spells/horizon-thunder-sphere.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1682891670736,"modifiedTime":1682891670736,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"OO7jdoFXjZup9MYD"}
{"command":"game.pf2e.rollActionMacro(\"TJOHNLxOv1YOleNs\", 3, \"staff\")","name":"Strike: Staff","type":"script","img":"systems/pf2e/icons/equipment/weapons/staff.webp","flags":{"pf2e":{"actionMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220899425,"modifiedTime":1673220899425,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"QMbGfiIhWzENVAs4"}
{"command":"game.pf2e.rollActionMacro(\"UAB1YaurtQ93vgLB\", 0, \"scimitar\")","name":"Strike: Scimitar","type":"script","img":"systems/pf2e/icons/equipment/weapons/scimitar.webp","flags":{"pf2e":{"actionMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673226276960,"modifiedTime":1673226276960,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"QUxQZTZoaYkl6LWO"}
{"command":"game.pf2e.rollActionMacro(\"PPPbt1TYItexSJJC\", 0, \"longsword\")","name":"Strike: Longsword","type":"script","img":"systems/pf2e/icons/equipment/weapons/longsword.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673221034353,"modifiedTime":1673221034353,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"RCXAgVgsqCmeyw5Q"}
{"command":"game.pf2e.rollItemMacro(\"g3gsrOSFVfVEosPN\");","name":"Disrupt Undead","type":"script","img":"systems/pf2e/icons/spells/disrupt-undead.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220911032,"modifiedTime":1673220911032,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"RlBzl8lzp4Kfn8eo"}
{"command":"game.pf2e.rollItemMacro(\"FMSSTKsLvaR0d20p\");","name":"Heal","type":"script","img":"systems/pf2e/icons/spells/heal.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220927738,"modifiedTime":1673220927738,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"TTcTCOW1sL7YZzRg"}
{"command":"game.pf2e.rollActionMacro(\"kLcfYLnHK166DDzO\", 0, \"rapier\")","name":"Strike: Rapier","type":"script","img":"systems/pf2e/icons/equipment/weapons/rapier.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1682902354591,"modifiedTime":1682902354591,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"V8ccE60QEJQqFjBK"}
{"command":"game.pf2e.rollActionMacro(\"PPPbt1TYItexSJJC\", 1, \"shield-boss\")","name":"Strike: Shield Boss","type":"script","img":"systems/pf2e/icons/equipment/weapons/shield-boss.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673221055823,"modifiedTime":1673221055823,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"V91ERoA1imuqMKLl"}
{"command":"game.pf2e.rollItemMacro(\"Y7nRXgnCkcMtMoMx\");","name":"Reach Spell","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1696812046528,"modifiedTime":1696812046528,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"VJ94EjJceAZ13G68"}
{"command":"game.pf2e.rollActionMacro(\"UAB1YaurtQ93vgLB\", 2, \"basic-unarmed\")","name":"Strike: Unarmed Attack","type":"script","img":"systems/pf2e/icons/features/classes/powerful-fist.webp","flags":{"pf2e":{"actionMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1673830925106,"modifiedTime":1673830925106,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"W34bS6KlgccmQ7uy"}
{"command":"game.pf2e.rollItemMacro(\"cdY3bculGkfCpO78\");","name":"Ray of Frost","type":"script","img":"systems/pf2e/icons/spells/ray-of-frost.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220917932,"modifiedTime":1673220917932,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"XoP97PvdvTtCQiFI"}
{"name":"Enable \"actorLink\" on all NPC tokens","type":"script","scope":"global","author":"kHuYrt4PMoSo2J0W","img":"icons/svg/dice-target.svg","command":"const npcFolderName = \"NPCs\";\n\nfor (let actor of game.actors) {\n let folder = actor.folder;\n let isNpc = folder.name == npcFolderName;\n let isSubNpc = folder.ancestors.filter(ancestor => ancestor.name == npcFolderName).length > 0;\n if (isNpc) {\n actor.update({\"prototypeToken.actorLink\": true});\n }\n}","folder":null,"sort":0,"ownership":{"default":0,"kHuYrt4PMoSo2J0W":3},"flags":{"combat-utility-belt":{"macroTrigger":""}},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1673839100851,"modifiedTime":1674084347968,"lastModifiedBy":"kHuYrt4PMoSo2J0W"},"_id":"Y1rgHuND6t0D8Umd"}
{"command":"game.pf2e.rollItemMacro(\"RsZDTRkCbP1uIfla\");","name":"Sudden Charge","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673222166313,"modifiedTime":1673222166313,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"YioJltCWUdFOfNKt"}
{"command":"game.pf2e.rollItemMacro(\"DqcTMTA3nVH0qBFP\");","name":"Tanglefoot","type":"script","img":"systems/pf2e/icons/spells/tanglefoot.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220924986,"modifiedTime":1673220924986,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"ZItM6qSN8DYSrdSO"}
{"command":"game.pf2e.rollItemMacro(\"Wo4TgwcGOc9r33Fs\");","name":"Pick a Lock","type":"script","img":"systems/pf2e/icons/actions/TwoActions.webp","flags":{"pf2e":{"itemMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1682902340710,"modifiedTime":1682902340710,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"ZY64fYB7iUt9vRGb"}
{"name":"New Macro","type":"chat","scope":"global","author":"F6OOcfsURwMn6MBE","img":"icons/svg/dice-target.svg","command":"","folder":null,"sort":0,"ownership":{"default":0,"F6OOcfsURwMn6MBE":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1696811758243,"modifiedTime":1696811758243,"lastModifiedBy":"F6OOcfsURwMn6MBE"},"_id":"Zj1rHZ2PPNOiV0Ab"}
{"command":"game.pf2e.rollItemMacro(\"BFxDBrIjzpZPhKQB\");","name":"Treat Wounds","type":"script","img":"systems/pf2e/icons/actions/Passive.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1691365257165,"modifiedTime":1691365257165,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"bmVRt9q8agMJ2vjT"}
{"command":"game.pf2e.rollItemMacro(\"xCYz3hVQWWNFnSfO\");","name":"Goodberry","type":"script","img":"systems/pf2e/icons/spells/goodberry.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220935508,"modifiedTime":1673220935508,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"cWoEP4rssiIlWXbG"}
{"command":"const actors = canvas.tokens.controlled.flatMap((token) => token.actor ?? []);\nif (actors.length === 0 && game.user.character) actors.push(game.user.character);\nif (actors.length === 0) {\n const message = game.i18n.localize(\"PF2E.ErrorMessage.NoTokenSelected\");\n return ui.notifications.error(message);\n}\n\nconst ITEM_UUID = \"Compendium.pf2e.equipment-effects.2YgXoHvJfrDHucMr\"; // Effect: Raise a Shield\nconst source = (await fromUuid(ITEM_UUID)).toObject();\nsource.flags = mergeObject(source.flags ?? {}, { core: { sourceId: ITEM_UUID } });\n\nfor (const actor of actors) {\n const existing = actor.itemTypes.effect.find((e) => e.flags.core?.sourceId === ITEM_UUID);\n if (existing) {\n await existing.delete();\n } else {\n await actor.createEmbeddedDocuments(\"Item\", [source]);\n }\n}","name":"Effect: Raise a Shield","type":"script","img":"systems/pf2e/icons/actions/raise-a-shield.webp","author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1678666715433,"modifiedTime":1678666715433,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"dZKYxUfumqwDl9nl"}
{"name":"Change Initiative","type":"script","scope":"global","author":"Hdu5M1l3zekaLX7v","img":"icons/svg/dice-target.svg","command":"// changes the default initiative skill for the selected tokens. Will even change monsters/NPCs even though the UI does not support this.\n// Useful when staging an ambush for example.\n// If the creature has an inherent bonus to initiative on top of their skill this will not be accounted for.\n\nasync function setInitSkill(skillname)\n{\n canvas.tokens.controlled.forEach(async function(changetoken){\n if(changetoken.actor.data.type!=\"character\"){\n let skillval=skillname==\"perception\"? changetoken.actor.data.data.attributes.perception.totalModifier : changetoken.actor.data.data.skills[skillname].totalModifier;\n await changetoken.actor.update({\n 'data.attributes.initiative.ability':skillname,\n 'data.attributes.initiative.totalModifier':skillval\n }); \n }else{\n await changetoken.actor.update({\n 'data.attributes.initiative.ability':skillname\n });\n }\n });\n}\n\nlet applyChanges=false;\nnew Dialog({\n title: `Set Initiative Skill`,\n content: `\n <form>\n <div class=\"form-group\">\n <select id=\"init-skill\" name=\"init-skill\">\n <option value=\"perception\" selected=\"\">Perception</option>\n <option value=\"acr\">Acrobatics</option>\n <option value=\"arc\">Arcana</option>\n <option value=\"ath\">Athletics</option>\n <option value=\"cra\">Crafting</option>\n <option value=\"dec\">Deception</option>\n <option value=\"dip\">Diplomacy</option>\n <option value=\"itm\">Intimidation</option>\n <option value=\"med\">Medicine</option>\n <option value=\"nat\">Nature</option>\n <option value=\"occ\">Occultism</option>\n <option value=\"prf\">Performance</option>\n <option value=\"rel\">Religion</option>\n <option value=\"soc\">Society</option>\n <option value=\"ste\">Stealth</option>\n <option value=\"sur\">Survival</option>\n <option value=\"thi\">Thievery</option>\n </select>\n </div>\n </form>\n `,\n buttons: {\n yes: {\n icon: \"<i class='fas fa-check'></i>\",\n label: `Apply Changes`,\n callback: () => applyChanges = true\n },\n no: {\n icon: \"<i class='fas fa-times'></i>\",\n label: `Cancel Changes`\n },\n },\n default: \"yes\",\n close: html => {\n if (applyChanges) {\n let skillchoice = html.find('[name=\"init-skill\"]')[0].value || \"perception\";\n setInitSkill(skillchoice);\n }\n }\n}).render(true);","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"flags":{"combat-utility-belt":{"macroTrigger":""}},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1691963751364,"modifiedTime":1691963783674,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"dnSFAG8tuyvgqId1"}
{"name":"New Macro","type":"chat","scope":"global","author":"y7YPsIEiZsHrU0id","img":"icons/svg/dice-target.svg","command":"","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.6.6","coreVersion":"10.291","createdTime":1673839563677,"modifiedTime":1673839563677,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"eggbOSVdPojdIUh5"}
{"command":"game.pf2e.rollItemMacro(\"EJujwuo884v9LPlS\");","name":"Longbow","type":"script","img":"systems/pf2e/icons/equipment/weapons/longbow.webp","flags":{"pf2e":{"itemMacro":true}},"author":"F6OOcfsURwMn6MBE","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"F6OOcfsURwMn6MBE":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1696806950833,"modifiedTime":1696806950833,"lastModifiedBy":"F6OOcfsURwMn6MBE"},"_id":"hQ2YEyGS8RG66t4p"}
{"command":"game.pf2e.rollItemMacro(\"KiwyuFCeekBu8NoR\");","name":"Reach Spell","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1693868586912,"modifiedTime":1693868586912,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"jUM0Ev7RNS7IMaNZ"}
{"author":"Hdu5M1l3zekaLX7v","command":"game.pf2e.actions.treatWounds({ event, actors: [token?.actor ?? actor ?? game.user.character].filter((actor) => actor) })","img":"icons/svg/regen.svg","name":"Treat Wounds","ownership":{"default":1,"Hdu5M1l3zekaLX7v":3},"scope":"global","type":"script","flags":{"core":{"sourceId":"Compendium.pf2e.pf2e-macros.6duZj0Ygiqv712rq"}},"folder":null,"sort":0,"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1691360350971,"modifiedTime":1691360350971,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"mfvz6xGYKPBZaVgj"}
{"command":"game.pf2e.rollItemMacro(\"vw6An2BwzKJP3TJX\");","name":"Shillelagh","type":"script","img":"systems/pf2e/icons/spells/shillelagh.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220929320,"modifiedTime":1673220929320,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"nCDZyH8rtmKCgH54"}
{"command":"const actors = canvas.tokens.controlled.flatMap((token) => token.actor ?? []);\nif (actors.length === 0 && game.user.character) actors.push(game.user.character);\nif (actors.length === 0) {\n const message = game.i18n.localize(\"PF2E.ErrorMessage.NoTokenSelected\");\n return ui.notifications.error(message);\n}\n\nconst ITEM_UUID = \"Compendium.pf2e.equipment-effects.2YgXoHvJfrDHucMr\"; // Effect: Raise a Shield\nconst source = (await fromUuid(ITEM_UUID)).toObject();\nsource.flags = mergeObject(source.flags ?? {}, { core: { sourceId: ITEM_UUID } });\n\nfor (const actor of actors) {\n const existing = actor.itemTypes.effect.find((e) => e.flags.core?.sourceId === ITEM_UUID);\n if (existing) {\n await existing.delete();\n } else {\n await actor.createEmbeddedDocuments(\"Item\", [source]);\n }\n}","name":"Effect: Raise a Shield","type":"script","img":"systems/pf2e/icons/actions/raise-a-shield.webp","author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"flags":{},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673222226170,"modifiedTime":1673222226170,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"pnw3QGKXDeNXyHkD"}
{"command":"game.pf2e.rollItemMacro(\"5fhYV1aUbxdLHqiQ\");","name":"Double Slice","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673222161184,"modifiedTime":1673222161184,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"r5475xB2lKiE35ig"}
{"command":"game.pf2e.rollItemMacro(\"UlluQoIx0Telvk4Z\");","name":"Shield Block","type":"script","img":"systems/pf2e/icons/features/feats/feats.webp","flags":{"pf2e":{"itemMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673222181518,"modifiedTime":1673222181518,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"tVY3avVajQTlpfD8"}
{"command":"game.pf2e.rollItemMacro(\"pXpLrD9hMUuqyZ7b\");","name":"Guidance","type":"script","img":"systems/pf2e/icons/spells/guidance.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220915362,"modifiedTime":1673220915362,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"ttsR2ZliwWLprKEr"}
{"command":"game.pf2e.rollItemMacro(\"NimYQKXlFbnllOdT\");","name":"Summon Plant or Fungus","type":"script","img":"systems/pf2e/icons/spells/summon-plant-or-fungus.webp","flags":{"pf2e":{"itemMacro":true}},"author":"y7YPsIEiZsHrU0id","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"y7YPsIEiZsHrU0id":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673220933370,"modifiedTime":1673220933370,"lastModifiedBy":"y7YPsIEiZsHrU0id"},"_id":"ux0zHty5AeXD4yHn"}
{"command":"game.pf2e.rollActionMacro(\"PPPbt1TYItexSJJC\", 3, \"shortbow\")","name":"Strike: Shortbow","type":"script","img":"systems/pf2e/icons/equipment/weapons/shortbow.webp","flags":{"pf2e":{"actionMacro":true}},"author":"Hdu5M1l3zekaLX7v","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"Hdu5M1l3zekaLX7v":3},"_stats":{"systemId":"pf2e","systemVersion":"4.6.4","coreVersion":"10.291","createdTime":1673221064449,"modifiedTime":1673221064449,"lastModifiedBy":"Hdu5M1l3zekaLX7v"},"_id":"woeRzu6bU8AAQuMF"}
{"command":"game.pf2e.rollItemMacro(\"jni4WA39uQtf4r4x\");","name":"Sustain a Spell","type":"script","img":"systems/pf2e/icons/actions/OneAction.webp","flags":{"pf2e":{"itemMacro":true}},"author":"ss0rDetCRdrD9OsR","scope":"global","folder":null,"sort":0,"ownership":{"default":0,"ss0rDetCRdrD9OsR":3},"_stats":{"systemId":"pf2e","systemVersion":"4.12.9","coreVersion":"10.303","createdTime":1693868589280,"modifiedTime":1693868589280,"lastModifiedBy":"ss0rDetCRdrD9OsR"},"_id":"xMSZbxJxoRSrW8s5"}