1 Commits

Author SHA1 Message Date
uberwald 8718cfff05 AUto-select current target if any
Release Creation / build (release) Successful in 55s
2026-05-29 23:27:33 +02:00
18 changed files with 53 additions and 53 deletions
+5 -1
View File
@@ -75,6 +75,9 @@ export class DonjonEtCieUtility {
static getSceneDamageTargets() {
const scene = canvas?.scene ?? game.scenes?.current;
const tokens = scene?.tokens?.contents ?? [];
const selectedTokens = canvas?.tokens?.controlled ?? [];
const selectedTokenUuid = selectedTokens.length === 1 ? selectedTokens[0]?.uuid : null;
return tokens
.map((token) => {
@@ -89,7 +92,8 @@ export class DonjonEtCieUtility {
tokenId: token.id,
tokenUuid: token.uuid,
actorUuid: actor.uuid,
label
label,
isSelected: token.uuid === selectedTokenUuid
};
})
.filter(Boolean)
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000085
MANIFEST-000165
+7 -7
View File
@@ -1,7 +1,7 @@
2026/05/22-09:28:26.005874 7fb57dfee6c0 Recovering log #83
2026/05/22-09:28:26.015537 7fb57dfee6c0 Delete type=3 #81
2026/05/22-09:28:26.015651 7fb57dfee6c0 Delete type=0 #83
2026/05/22-09:49:57.296086 7fb567fff6c0 Level-0 table #88: started
2026/05/22-09:49:57.296112 7fb567fff6c0 Level-0 table #88: 0 bytes OK
2026/05/22-09:49:57.302010 7fb567fff6c0 Delete type=0 #86
2026/05/22-09:49:57.319148 7fb567fff6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
2026/05/28-20:45:21.096499 7f3977fff6c0 Recovering log #163
2026/05/28-20:45:21.107112 7f3977fff6c0 Delete type=3 #161
2026/05/28-20:45:21.107149 7f3977fff6c0 Delete type=0 #163
2026/05/28-20:46:40.064748 7f39767fc6c0 Level-0 table #168: started
2026/05/28-20:46:40.064805 7f39767fc6c0 Level-0 table #168: 0 bytes OK
2026/05/28-20:46:40.070966 7f39767fc6c0 Delete type=0 #166
2026/05/28-20:46:40.093671 7f39767fc6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
+7 -7
View File
@@ -1,7 +1,7 @@
2026/05/09-23:56:26.228807 7fe7211fe6c0 Recovering log #79
2026/05/09-23:56:26.239813 7fe7211fe6c0 Delete type=3 #77
2026/05/09-23:56:26.239859 7fe7211fe6c0 Delete type=0 #79
2026/05/09-23:58:32.093072 7fe6d37fe6c0 Level-0 table #84: started
2026/05/09-23:58:32.093102 7fe6d37fe6c0 Level-0 table #84: 0 bytes OK
2026/05/09-23:58:32.100189 7fe6d37fe6c0 Delete type=0 #82
2026/05/09-23:58:32.106644 7fe6d37fe6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
2026/05/27-07:43:05.019282 7f3ebcffe6c0 Recovering log #160
2026/05/27-07:43:05.053650 7f3ebcffe6c0 Delete type=0 #160
2026/05/27-07:43:05.053700 7f3ebcffe6c0 Delete type=3 #159
2026/05/27-12:02:21.293983 7f3e6effd6c0 Level-0 table #164: started
2026/05/27-12:02:21.294005 7f3e6effd6c0 Level-0 table #164: 0 bytes OK
2026/05/27-12:02:21.299943 7f3e6effd6c0 Delete type=0 #162
2026/05/27-12:02:21.306619 7f3e6effd6c0 Manual compaction at level-0 from '!folders!K9aiFu0dE6UYiXBd' @ 72057594037927935 : 1 .. '!items!zyqLzmpbHxK3jt5q' @ 0 : 0; will stop at (end)
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000072
MANIFEST-000152
+7 -7
View File
@@ -1,7 +1,7 @@
2026/05/22-09:28:26.020644 7fb57d7ed6c0 Recovering log #70
2026/05/22-09:28:26.031504 7fb57d7ed6c0 Delete type=3 #68
2026/05/22-09:28:26.031624 7fb57d7ed6c0 Delete type=0 #70
2026/05/22-09:49:57.312571 7fb567fff6c0 Level-0 table #75: started
2026/05/22-09:49:57.312612 7fb567fff6c0 Level-0 table #75: 0 bytes OK
2026/05/22-09:49:57.318950 7fb567fff6c0 Delete type=0 #73
2026/05/22-09:49:57.319188 7fb567fff6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
2026/05/28-20:45:21.112773 7f3976ffd6c0 Recovering log #150
2026/05/28-20:45:21.122136 7f3976ffd6c0 Delete type=3 #148
2026/05/28-20:45:21.122181 7f3976ffd6c0 Delete type=0 #150
2026/05/28-20:46:40.081166 7f39767fc6c0 Level-0 table #155: started
2026/05/28-20:46:40.081191 7f39767fc6c0 Level-0 table #155: 0 bytes OK
2026/05/28-20:46:40.087200 7f39767fc6c0 Delete type=0 #153
2026/05/28-20:46:40.093692 7f39767fc6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
+7 -7
View File
@@ -1,7 +1,7 @@
2026/05/09-23:56:26.242643 7fe7219ff6c0 Recovering log #66
2026/05/09-23:56:26.252924 7fe7219ff6c0 Delete type=3 #64
2026/05/09-23:56:26.252971 7fe7219ff6c0 Delete type=0 #66
2026/05/09-23:58:32.087004 7fe6d37fe6c0 Level-0 table #71: started
2026/05/09-23:58:32.087037 7fe6d37fe6c0 Level-0 table #71: 0 bytes OK
2026/05/09-23:58:32.092951 7fe6d37fe6c0 Delete type=0 #69
2026/05/09-23:58:32.106635 7fe6d37fe6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
2026/05/27-07:43:05.067367 7f3e6ffff6c0 Recovering log #147
2026/05/27-07:43:05.105287 7f3e6ffff6c0 Delete type=0 #147
2026/05/27-07:43:05.105329 7f3e6ffff6c0 Delete type=3 #146
2026/05/27-12:02:21.300011 7f3e6effd6c0 Level-0 table #151: started
2026/05/27-12:02:21.300030 7f3e6effd6c0 Level-0 table #151: 0 bytes OK
2026/05/27-12:02:21.306452 7f3e6effd6c0 Delete type=0 #149
2026/05/27-12:02:21.306630 7f3e6effd6c0 Manual compaction at level-0 from '!tables!PPsxQgHwLCQ2gjSW' @ 72057594037927935 : 1 .. '!tables.results!wJZXUo4q5b5vE3Dy.zFTPLMc9zOl5hISV' @ 0 : 0; will stop at (end)
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000006
MANIFEST-000087
+8 -15
View File
@@ -1,15 +1,8 @@
2026/05/22-09:28:26.037049 7fb57dfee6c0 Recovering log #4
2026/05/22-09:28:26.047411 7fb57dfee6c0 Delete type=3 #2
2026/05/22-09:28:26.047498 7fb57dfee6c0 Delete type=0 #4
2026/05/22-09:49:57.302133 7fb567fff6c0 Level-0 table #9: started
2026/05/22-09:49:57.305585 7fb567fff6c0 Level-0 table #9: 3183 bytes OK
2026/05/22-09:49:57.312423 7fb567fff6c0 Delete type=0 #7
2026/05/22-09:49:57.319164 7fb567fff6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
2026/05/22-09:49:57.319233 7fb567fff6c0 Manual compaction at level-1 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 3 : 1
2026/05/22-09:49:57.319246 7fb567fff6c0 Compacting 1@1 + 1@2 files
2026/05/22-09:49:57.322612 7fb567fff6c0 Generated table #10@1: 2 keys, 3183 bytes
2026/05/22-09:49:57.322655 7fb567fff6c0 Compacted 1@1 + 1@2 files => 3183 bytes
2026/05/22-09:49:57.328541 7fb567fff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2026/05/22-09:49:57.328673 7fb567fff6c0 Delete type=2 #5
2026/05/22-09:49:57.328793 7fb567fff6c0 Delete type=2 #9
2026/05/22-09:49:57.351951 7fb567fff6c0 Manual compaction at level-1 from '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 3 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
2026/05/28-20:45:21.125760 7f39777fe6c0 Recovering log #85
2026/05/28-20:45:21.135844 7f39777fe6c0 Delete type=3 #83
2026/05/28-20:45:21.135894 7f39777fe6c0 Delete type=0 #85
2026/05/28-20:46:40.071060 7f39767fc6c0 Level-0 table #90: started
2026/05/28-20:46:40.071086 7f39767fc6c0 Level-0 table #90: 0 bytes OK
2026/05/28-20:46:40.081072 7f39767fc6c0 Delete type=0 #88
2026/05/28-20:46:40.093682 7f39767fc6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
2026/05/28-20:46:40.093703 7f39767fc6c0 Manual compaction at level-1 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
+8 -5
View File
@@ -1,5 +1,8 @@
2026/05/22-08:07:40.563282 7f63427ef6c0 Delete type=3 #1
2026/05/22-08:07:40.567990 7f6323fff6c0 Level-0 table #5: started
2026/05/22-08:07:40.571414 7f6323fff6c0 Level-0 table #5: 3056 bytes OK
2026/05/22-08:07:40.577623 7f6323fff6c0 Delete type=0 #3
2026/05/22-08:07:40.577857 7f6323fff6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
2026/05/27-07:43:05.111469 7f3ebd7ff6c0 Recovering log #82
2026/05/27-07:43:05.152415 7f3ebd7ff6c0 Delete type=0 #82
2026/05/27-07:43:05.152455 7f3ebd7ff6c0 Delete type=3 #81
2026/05/27-12:02:21.287508 7f3e6effd6c0 Level-0 table #86: started
2026/05/27-12:02:21.287536 7f3e6effd6c0 Level-0 table #86: 0 bytes OK
2026/05/27-12:02:21.293897 7f3e6effd6c0 Delete type=0 #84
2026/05/27-12:02:21.306608 7f3e6effd6c0 Manual compaction at level-0 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
2026/05/27-12:02:21.319818 7f3e6effd6c0 Manual compaction at level-1 from '!journal!69Da9YvF9BfOV7oK' @ 72057594037927935 : 1 .. '!journal.pages!69Da9YvF9BfOV7oK.XM0eLkgKXPyskV65' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -30,7 +30,7 @@
<select class="chat-select" data-role="damage-target" {{#unless hasTargets}}disabled{{/unless}}>
{{#if hasTargets}}
{{#each targets}}
<option value="{{this.tokenUuid}}">{{this.label}}</option>
<option value="{{this.tokenUuid}}"{{#if this.isSelected}} selected{{/if}}>{{this.label}}</option>
{{/each}}
{{else}}
<option value="">Aucune cible sur la scène</option>