Files
foundry-Slamother/packs/macros_triggered.db
T
2023-09-18 22:11:19 -07:00

75 lines
76 KiB
Plaintext

{"_id":"1DD8i6eCS6nx2Ip0","name":"Bleeding Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Bleeding Wound`,`1d10`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"tFcWNddtZvlv7tsg","name":"Bleeding Wound -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Bleeding Wound`,`1d10 [-]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"xr2o2PU5vdrR6fxQ","name":"Bleeding Wound +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Bleeding Wound`,`1d10 [+]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"TAjlQjA5AAy3qYL3","name":"Blunt Force Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Blunt Force Wound`,`1d10`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"oL3GH0HoEPlP8vzG","name":"Blunt Force Wound -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Blunt Force Wound`,`1d10 [-]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"k0zf8ZGivRguc0wb","name":"Blunt Force Wound +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Blunt Force Wound`,`1d10 [+]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"E2bDXSVfH57BnGEI","name":"Death Save -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Death Save`,`1d10 [-]`,`low`,true,false,null,null);\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"KHL2lJ6RRvhupFZ3","name":"Death Save +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Death Save`,`1d10 [+]`,`low`,true,false,null,null);\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"bZi1qKmcKLFvnhZ2","name":"Fire & Explosives Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Fire & Explosives Wound`,`1d10`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"dJnQKDf0AlwK27QD","name":"Fire & Explosives Wound -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Fire & Explosives Wound`,`1d10 [-]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"7rYhbDAaFeok1Daq","name":"Fire & Explosives Wound +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Fire & Explosives Wound`,`1d10 [+]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"S9nnHKWYGSQmjQdp","name":"Gore & Massive Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gore & Massive Wound`,`1d10`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"DuVjNlE4lsnR7Emc","name":"Gore & Massive Wound -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gore & Massive Wound`,`1d10 [-]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"eQPuDgwv8evetFIk","name":"Gore & Massive Wound +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gore & Massive Wound`,`1d10 [+]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"XgCOLv9UunBddUyW","name":"Gunshot Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gunshot Wound`,`1d10`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"fnVATRHYJEUlS3pR","name":"Gunshot Wound -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gunshot Wound`,`1d10 [-]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"LTpa1ZYVZl4m9k6z","name":"Gunshot Wound +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Gunshot Wound`,`1d10 [+]`,`low`,true,false,null,null)\n\n//tell the actor to roll on the table\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"EwZbGIwHB3JuRvx5","name":"Panic Check -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Panic Check`,`1d20 [-]`,`high`,false,false,'system.other.stress.value','>');\n\n//run the panic check\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"kVNV9vZPY0j77VTo","name":"Panic Check +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepTableRoll(`Panic Check`,`1d20 [-]`,`high`,false,false,'system.other.stress.value','>');\n\n//run the panic check\nasync function prepTableRoll(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.foreach(function(token){\n token.actor.rollTable(tableName,rollString,aimFor,zeroBased,checkCrit,rollAgainst,comparison);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"BH7tgbDVH6jdcZ4u","name":"+1 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"b0jk4XwP7by8a3uc","name":"+1 Coward","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Coward',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"Yh2CTFXfWMe9o2lv","name":"+1 Death Wish","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Death Wish',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"2aD5avpn35wdzdm5","name":"+1 Deflated","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Deflated',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"8IPhlAuMEQJC6zxA","name":"+1 Doomed","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Doomed',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"BEQvMZ5N7QOBqnId","name":"+1 Frightened","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Frightened',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"Eo56QFyTeoCcFmD8","name":"+1 Haunted","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Haunted',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"54Krt3opbJe1WATH","name":"+1 Loss of Confidence","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Loss of Confidence',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"AZbaGWu663wio9mI","name":"+1 Nightmares","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Nightmares',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"3AjUWUSRvYy8Mwji","name":"+1 Spiraling","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Spiraling',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"5K7wZEvEXjOH4IM7","name":"+1 Suspicious","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Suspicious',1);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"IIVNXuhckFQfzXah","name":"+2 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',2);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"LawygQJAPu8XEnSc","name":"+3 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',3);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"QkCJK7Vmda5bGAA7","name":"+4 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',4);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"CZ2gqnRHcOpCLlG0","name":"+5 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',5);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"Tx19z2BhTY6onldp","name":"+6 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',6);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"ZJaVFBB0Kslv1k4f","name":"+7 Bleeding","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyItem('Bleeding',7);\n\n//tell the actor to roll on the table\nasync function prepModifyItem(itemName,addAmount) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyItem(itemName,addAmount);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyItem(itemName,addAmount);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"X3gqTFFwMe7AudiS","name":"Body Save","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','body',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"ItHLy3URKFQVLipe","name":"Body Save -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','body',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"IG2NQgEnqvPjiV5C","name":"Body Save +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','body',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"9FOBS5lQCwtVtrgh","name":"Combat Check","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','combat',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"vxcDSg3xiAxDYQIb","name":"Combat Check -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','combat',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"5hlvK0p68imanBmy","name":"Combat Check +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','combat',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"R2KizR1soAhFYDZm","name":"Fear Save","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','fear',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"wVhApjRP5MXue2kh","name":"Fear Save -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','fear',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"DadBoZJblU4uBY5E","name":"Fear Save +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','fear',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"DMjVDa7vUq7xGpn8","name":"Intellect Check","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','intellect',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"ln3OpNFK4mN4Ym5q","name":"Intellect Check -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','intellect',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"DXfAjkwJVwSCOqZ1","name":"Intellect Check +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','intellect',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"TkMfT4RIczQb56j2","name":"Sanity Save","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','sanity',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"MdmZ31pKu1q006z7","name":"Sanity Save -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','sanity',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"p6JhfjAF7OESZiFM","name":"Sanity Save +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','sanity',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"uxrWvijfqDVnaXMj","name":"Speed Check","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','speed',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"QZHhiDAr7owozxdf","name":"Speed Check -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','speed',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"WzsVrS0brblqWhMR","name":"Speed Check +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','speed',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"B9qe0UHmKoal9eub","name":"Strength Check","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100','low','strength',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"XlfEeDblsp7fTzUx","name":"Strength Check -","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [-]','low','strength',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"9X5WPlXiZn9EqF9f","name":"Strength Check +","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepRollCheck('1d100 [+]','low','strength',null,null,null);\n\n//tell the actor to roll on the table\nasync function prepRollCheck(rollString,aimFor,attribute,skill,skillValue,weapon) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.rollCheck(rollString,aimFor,attribute,skill,skillValue,weapon);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"BmEHWH7YxV9qb21p","name":"+1 Minimum Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.min',1,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"dvJR9DYXI2kV0BbR","name":"+1 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',1,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"f8Q9FCZsnUyAbczE","name":"+1d10 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',null,'1d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"luNKvwmm2tjUJhT6","name":"+1d5 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',null,'1d5',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"bFPoNLOGusT1ocqt","name":"+2 Minimum Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.min',2,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"6jjFVScyiaBvN8kX","name":"+2 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',2,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"vwpxRBbMwjfDCQVG","name":"-1 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',-1,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"qD8Mvegkf3zVarFr","name":"-1 Maximum Wound","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.hits.max',-1,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"qbq694JMbXeZrHjj","name":"-1 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',-1,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"C9iTlPOpROuuYi2F","name":"-10 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',-10,null,true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"w3ttEaXP7yp25M5Q","name":"-1d10 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',null,'-1d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"V3L1iRkWwyTzCZK9","name":"-1d10 Strength","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.stats.strength.value',null,'-1d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"jHyqXb2yDFTNWxpy","name":"-1d10 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',null,'-1d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"yYujq1tBZPqGrQlh","name":"-1d5 Maximum Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.max',null,'-1d5',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"AvKZE5IFubIaAIUy","name":"-1d5 Stress","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.other.stress.value',null,'-1d5',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"ISd2nEMYvWCPQpl0","name":"-2d10 Body Save","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.stats.body.value',null,'-2d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"pS6A6OklvM6S3bvO","name":"-2d10 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',null,'-2d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}
{"_id":"nECUu4pcwsNTE8C5","name":"-3d10 Health","type":"script","scope":"global","img":"icons/svg/d20-grey.svg","command":"prepModifyActor('system.health.value',null,'-3d10',true);\n\n//tell the actor to roll on the table\nasync function prepModifyActor(fieldAddress,modValue,modRollString,outputChatMsg) {\n //determine who to run the macro for\n if (game.settings.get('mosh','macroTarget') === 'character') {\n //roll the table for the player's 'Selected Character'\n game.user.character.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n } else if (game.settings.get('mosh','macroTarget') === 'token') {\n //roll the table for all selected tokens\n canvas.tokens.controlled.forEach(function(token){\n token.actor.modifyActor(fieldAddress,modValue,modRollString,outputChatMsg);\n });\n }\n}","folder":null,"flags":{},"_stats":{"systemId":"mosh","systemVersion":"0.4.0","coreVersion":"11.308","createdTime":1685936572185,"modifiedTime":1693515520278,"lastModifiedBy":"6EeM38DJkcBWNAmw"}}