update with new matt macro for status detection

This commit is contained in:
2024-02-28 19:52:13 -06:00
parent d7afae1b33
commit b493e0e85b
9 changed files with 43 additions and 18 deletions
Binary file not shown.
+5 -5
View File
@@ -1,5 +1,5 @@
2024/02/12-21:40:30.975101 7f1c1f7fe700 Delete type=3 #1
2024/02/12-21:40:30.978178 7f1c1e7fc700 Level-0 table #5: started
2024/02/12-21:40:30.985833 7f1c1e7fc700 Level-0 table #5: 2354 bytes OK
2024/02/12-21:40:30.994903 7f1c1e7fc700 Delete type=0 #3
2024/02/12-21:40:30.995005 7f1c1e7fc700 Manual compaction at level-0 from '!folders!antf8BjHVvX5cTS7' @ 72057594037927935 : 1 .. '!macros!mVb5uW9peYwdRsFG' @ 0 : 0; will stop at (end)
2024/02/28-19:19:07.856802 7fd0627bf700 Delete type=3 #1
2024/02/28-19:19:07.859140 7fcdc3fff700 Level-0 table #5: started
2024/02/28-19:19:07.866614 7fcdc3fff700 Level-0 table #5: 2689 bytes OK
2024/02/28-19:19:07.875613 7fcdc3fff700 Delete type=0 #3
2024/02/28-19:19:07.875827 7fcdc3fff700 Manual compaction at level-0 from '!folders!antf8BjHVvX5cTS7' @ 72057594037927935 : 1 .. '!macros!xLuOWsKg7NzeVLMz' @ 0 : 0; will stop at (end)
Binary file not shown.
@@ -0,0 +1,25 @@
{
"name": "hasEffect",
"type": "script",
"_id": "xLuOWsKg7NzeVLMz",
"author": "sVoCvBU1knmXzoYe",
"img": "icons/magic/symbols/circled-gem-pink.webp",
"scope": "global",
"command": "const effectName = args[0].toLowerCase()\nconst hasEffect = (token.actor.effects.filter(e => e.name.toLowerCase().startsWith(effectName)).length > 0)\nreturn { hasEffect: hasEffect ? 'hasEffect' : 'noEffect' }",
"folder": null,
"sort": 0,
"ownership": {
"default": 0,
"sVoCvBU1knmXzoYe": 3
},
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.3.3",
"coreVersion": "11.315",
"createdTime": 1709168972541,
"modifiedTime": 1709169248584,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!macros!xLuOWsKg7NzeVLMz"
}