Reset progression button
All checks were successful
Release Creation / build (release) Successful in 1m31s
All checks were successful
Release Creation / build (release) Successful in 1m31s
This commit is contained in:
parent
ba1c0d4437
commit
72ef2dbe1b
@ -169,8 +169,9 @@ Hooks.on("renderChatMessage", (message, html, data) => {
|
||||
}
|
||||
})
|
||||
|
||||
Hooks.on("updateSetting", async (setting, update, options, id) => {
|
||||
})
|
||||
Hooks.on("getCombatTrackerEntryContext", (html, options) => {
|
||||
LethalFantasyUtils.pushCombatOptions(html, options);
|
||||
});
|
||||
|
||||
/**
|
||||
* Create a macro when dropping an entity on the hotbar
|
||||
|
@ -87,6 +87,11 @@ export class LethalFantasyCombat extends Combat {
|
||||
return this;
|
||||
}
|
||||
|
||||
resetProgression(cId) {
|
||||
let c = this.combatants.get(cId);
|
||||
c.update({ 'system.progressionCount': 0 });
|
||||
}
|
||||
|
||||
async nextTurn() {
|
||||
console.log("NEXT TURN");
|
||||
|
||||
|
@ -13,6 +13,11 @@ export default class LethalFantasyUtils {
|
||||
return compendiumData.filter(filter)
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static pushCombatOptions(html, options) {
|
||||
options.push({ name: "Reset Progression", condition: true, icon: '<i class="fas fa-rotate-right"></i>', callback: target => { game.combat.resetProgression(target.data('combatant-id')); } })
|
||||
}
|
||||
|
||||
static handleSocketEvent(msg = {}) {
|
||||
console.log(`handleSocketEvent !`, msg)
|
||||
let actor
|
||||
|
@ -1 +1 @@
|
||||
MANIFEST-000167
|
||||
MANIFEST-000171
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-09:17:46.952095 7f46adffb6c0 Recovering log #165
|
||||
2025/02/09-09:17:47.003194 7f46adffb6c0 Delete type=3 #163
|
||||
2025/02/09-09:17:47.003256 7f46adffb6c0 Delete type=0 #165
|
||||
2025/02/09-09:18:22.678103 7f46abbff6c0 Level-0 table #170: started
|
||||
2025/02/09-09:18:22.678129 7f46abbff6c0 Level-0 table #170: 0 bytes OK
|
||||
2025/02/09-09:18:22.715696 7f46abbff6c0 Delete type=0 #168
|
||||
2025/02/09-09:18:22.853749 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.853920 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:05:20.257875 7f4fbcbf96c0 Recovering log #169
|
||||
2025/02/25-07:05:20.359696 7f4fbcbf96c0 Delete type=3 #167
|
||||
2025/02/25-07:05:20.359809 7f4fbcbf96c0 Delete type=0 #169
|
||||
2025/02/25-07:13:31.414455 7f4fb6bff6c0 Level-0 table #174: started
|
||||
2025/02/25-07:13:31.414499 7f4fb6bff6c0 Level-0 table #174: 0 bytes OK
|
||||
2025/02/25-07:13:31.420623 7f4fb6bff6c0 Delete type=0 #172
|
||||
2025/02/25-07:13:31.427207 7f4fb6bff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:13:31.427286 7f4fb6bff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.003450 7f46ac7f86c0 Recovering log #161
|
||||
2025/02/09-00:22:48.018643 7f46ac7f86c0 Delete type=3 #159
|
||||
2025/02/09-00:22:48.018714 7f46ac7f86c0 Delete type=0 #161
|
||||
2025/02/09-00:29:06.730919 7f46abbff6c0 Level-0 table #166: started
|
||||
2025/02/09-00:29:06.730977 7f46abbff6c0 Level-0 table #166: 0 bytes OK
|
||||
2025/02/09-00:29:06.788041 7f46abbff6c0 Delete type=0 #164
|
||||
2025/02/09-00:29:06.953135 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953183 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:46.952095 7f46adffb6c0 Recovering log #165
|
||||
2025/02/09-09:17:47.003194 7f46adffb6c0 Delete type=3 #163
|
||||
2025/02/09-09:17:47.003256 7f46adffb6c0 Delete type=0 #165
|
||||
2025/02/09-09:18:22.678103 7f46abbff6c0 Level-0 table #170: started
|
||||
2025/02/09-09:18:22.678129 7f46abbff6c0 Level-0 table #170: 0 bytes OK
|
||||
2025/02/09-09:18:22.715696 7f46abbff6c0 Delete type=0 #168
|
||||
2025/02/09-09:18:22.853749 7f46abbff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.853920 7f46abbff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000166
|
||||
MANIFEST-000170
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-09:17:47.005741 7f46ad7fa6c0 Recovering log #164
|
||||
2025/02/09-09:17:47.054649 7f46ad7fa6c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.054741 7f46ad7fa6c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.556082 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.556121 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.591317 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677973 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678023 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:05:20.365068 7f4fb7fff6c0 Recovering log #168
|
||||
2025/02/25-07:05:20.456483 7f4fb7fff6c0 Delete type=3 #166
|
||||
2025/02/25-07:05:20.456655 7f4fb7fff6c0 Delete type=0 #168
|
||||
2025/02/25-07:13:31.400371 7f4fb6bff6c0 Level-0 table #173: started
|
||||
2025/02/25-07:13:31.400477 7f4fb6bff6c0 Level-0 table #173: 0 bytes OK
|
||||
2025/02/25-07:13:31.406784 7f4fb6bff6c0 Delete type=0 #171
|
||||
2025/02/25-07:13:31.427160 7f4fb6bff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:13:31.427242 7f4fb6bff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.022227 7f46acff96c0 Recovering log #160
|
||||
2025/02/09-00:22:48.039352 7f46acff96c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.039406 7f46acff96c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.900070 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.900100 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.953004 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953173 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953216 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:47.005741 7f46ad7fa6c0 Recovering log #164
|
||||
2025/02/09-09:17:47.054649 7f46ad7fa6c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.054741 7f46ad7fa6c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.556082 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.556121 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.591317 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677973 7f46abbff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678023 7f46abbff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-gifts/MANIFEST-000170
Normal file
BIN
packs-system/lf-gifts/MANIFEST-000170
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000166
|
||||
MANIFEST-000170
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-09:17:46.895896 7f46ac7f86c0 Recovering log #164
|
||||
2025/02/09-09:17:46.947734 7f46ac7f86c0 Delete type=3 #162
|
||||
2025/02/09-09:17:46.947832 7f46ac7f86c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.529278 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.529322 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.555928 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677958 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678006 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:05:20.159274 7f4fb77fe6c0 Recovering log #168
|
||||
2025/02/25-07:05:20.252142 7f4fb77fe6c0 Delete type=3 #166
|
||||
2025/02/25-07:05:20.252245 7f4fb77fe6c0 Delete type=0 #168
|
||||
2025/02/25-07:13:31.406936 7f4fb6bff6c0 Level-0 table #173: started
|
||||
2025/02/25-07:13:31.406981 7f4fb6bff6c0 Level-0 table #173: 0 bytes OK
|
||||
2025/02/25-07:13:31.414307 7f4fb6bff6c0 Delete type=0 #171
|
||||
2025/02/25-07:13:31.427187 7f4fb6bff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:13:31.427257 7f4fb6bff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:47.986326 7f46adffb6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.000956 7f46adffb6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.001008 7f46adffb6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.788155 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.788178 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.840912 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953151 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953189 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:46.895896 7f46ac7f86c0 Recovering log #164
|
||||
2025/02/09-09:17:46.947734 7f46ac7f86c0 Delete type=3 #162
|
||||
2025/02/09-09:17:46.947832 7f46ac7f86c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.529278 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.529322 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.555928 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677958 7f46abbff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678006 7f46abbff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-skills/MANIFEST-000170
Normal file
BIN
packs-system/lf-skills/MANIFEST-000170
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000166
|
||||
MANIFEST-000170
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-09:17:47.057750 7f46acff96c0 Recovering log #164
|
||||
2025/02/09-09:17:47.111395 7f46acff96c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.111509 7f46acff96c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.591487 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.591518 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.627889 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677986 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678014 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:05:20.462162 7f4fbd3fa6c0 Recovering log #168
|
||||
2025/02/25-07:05:20.565485 7f4fbd3fa6c0 Delete type=3 #166
|
||||
2025/02/25-07:05:20.565615 7f4fbd3fa6c0 Delete type=0 #168
|
||||
2025/02/25-07:13:31.420789 7f4fb6bff6c0 Level-0 table #173: started
|
||||
2025/02/25-07:13:31.420834 7f4fb6bff6c0 Level-0 table #173: 0 bytes OK
|
||||
2025/02/25-07:13:31.426961 7f4fb6bff6c0 Delete type=0 #171
|
||||
2025/02/25-07:13:31.427226 7f4fb6bff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/25-07:13:31.427271 7f4fb6bff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/02/09-00:22:48.041933 7f46ad7fa6c0 Recovering log #160
|
||||
2025/02/09-00:22:48.057731 7f46ad7fa6c0 Delete type=3 #158
|
||||
2025/02/09-00:22:48.057804 7f46ad7fa6c0 Delete type=0 #160
|
||||
2025/02/09-00:29:06.841056 7f46abbff6c0 Level-0 table #165: started
|
||||
2025/02/09-00:29:06.841088 7f46abbff6c0 Level-0 table #165: 0 bytes OK
|
||||
2025/02/09-00:29:06.899934 7f46abbff6c0 Delete type=0 #163
|
||||
2025/02/09-00:29:06.953163 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-00:29:06.953208 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:17:47.057750 7f46acff96c0 Recovering log #164
|
||||
2025/02/09-09:17:47.111395 7f46acff96c0 Delete type=3 #162
|
||||
2025/02/09-09:17:47.111509 7f46acff96c0 Delete type=0 #164
|
||||
2025/02/09-09:18:22.591487 7f46abbff6c0 Level-0 table #169: started
|
||||
2025/02/09-09:18:22.591518 7f46abbff6c0 Level-0 table #169: 0 bytes OK
|
||||
2025/02/09-09:18:22.627889 7f46abbff6c0 Delete type=0 #167
|
||||
2025/02/09-09:18:22.677986 7f46abbff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/02/09-09:18:22.678014 7f46abbff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user