several changes that were not properly split up

- Macro: Request fear check specialization macro
- Macro: Fear Table to call the new fearTable api endpoint
- API: rulesVersion property
- API: fearTable(actor) calls the relevant premium core rules module's fear
  table
- API: added requestFearRollFromTokens special helper
- Trait roll hooks for:
    - Glow/Shroud
    - Range modifiers
- added a summary chat message for the roll results to requested rolls.
- added a target number option to requested rolls.
This commit is contained in:
2023-12-23 22:50:15 -06:00
parent c43fafa7df
commit 6ed989c4bc
44 changed files with 514 additions and 95 deletions
File diff suppressed because one or more lines are too long
@@ -249,6 +249,76 @@
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.mT3lMGUo9zvqQsOh"
},
{
"sort": 500000,
"name": "Fear Table",
"type": "text",
"_id": "RxGaSpV6FStZyyBX",
"title": {
"show": true,
"level": 1
},
"image": {},
"text": {
"format": 1,
"content": "<p>This macro will call the Fear Table macro from whichever premium ruleset (SPWF or SWADE) is active, preferring SWPF.</p><p>It will not work if no premium module is active.</p>"
},
"video": {
"controls": true,
"volume": 0.5
},
"src": null,
"system": {},
"ownership": {
"default": -1,
"sVoCvBU1knmXzoYe": 3
},
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1703097037538,
"modifiedTime": 1703097110707,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.RxGaSpV6FStZyyBX"
},
{
"sort": 500000,
"name": "Request Fear Check",
"type": "text",
"title": {
"show": true,
"level": 1
},
"image": {},
"text": {
"format": 1,
"content": "<p>This macro will prompt for a fear penalty and request a spirit roll with that penalty from targeted or selected tokens.</p>"
},
"video": {
"controls": true,
"volume": 0.5
},
"src": null,
"system": {},
"ownership": {
"default": -1,
"sVoCvBU1knmXzoYe": 3
},
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1703097037538,
"modifiedTime": 1703376053416,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_id": "CRgBHcoOmH5hvadF",
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.CRgBHcoOmH5hvadF"
}
],
"flags": {
@@ -261,7 +331,7 @@
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1678169291843,
"modifiedTime": 1702960233927,
"modifiedTime": 1703376053416,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_id": "Mw1g2Fx5dp4SoqVP",
File diff suppressed because one or more lines are too long