Auto-jump to monster token when activated
This commit is contained in:
parent
a2364e1252
commit
ccebf8dc1f
@ -257,6 +257,11 @@ export default class LethalFantasyMonster extends foundry.abstract.TypeDataModel
|
||||
let message = game.i18n.format("LETHALFANTASY.Notifications.messageProgressionOKMonster", { isMonster: true, name: this.parent.name, weapon: attack.name, roll: roll.total })
|
||||
ChatMessage.create({ content: message, speaker: ChatMessage.getSpeaker({ actor: this.parent }) })
|
||||
this.prepareMonsterRoll("monster-attack", key)
|
||||
let token = combatant?.token
|
||||
if ( token?.object ) {
|
||||
token.object?.control({releaseOthers: true});
|
||||
return canvas.animatePan(token.object.center);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!hasAttack) {
|
||||
|
@ -1 +1 @@
|
||||
MANIFEST-000227
|
||||
MANIFEST-000235
|
||||
|
@ -1,3 +1,8 @@
|
||||
2025/04/22-15:21:55.489075 7f31467fc6c0 Recovering log #225
|
||||
2025/04/22-15:21:55.498564 7f31467fc6c0 Delete type=3 #223
|
||||
2025/04/22-15:21:55.498630 7f31467fc6c0 Delete type=0 #225
|
||||
2025/04/22-16:10:04.887355 7f31467fc6c0 Recovering log #233
|
||||
2025/04/22-16:10:04.897170 7f31467fc6c0 Delete type=3 #231
|
||||
2025/04/22-16:10:04.897273 7f31467fc6c0 Delete type=0 #233
|
||||
2025/04/22-16:24:56.381376 7f2ea7fff6c0 Level-0 table #238: started
|
||||
2025/04/22-16:24:56.381413 7f2ea7fff6c0 Level-0 table #238: 0 bytes OK
|
||||
2025/04/22-16:24:56.387438 7f2ea7fff6c0 Delete type=0 #236
|
||||
2025/04/22-16:24:56.393346 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-16:24:56.393372 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/22-07:53:33.108355 7f5dcf7fe6c0 Recovering log #221
|
||||
2025/04/22-07:53:33.118876 7f5dcf7fe6c0 Delete type=3 #219
|
||||
2025/04/22-07:53:33.119001 7f5dcf7fe6c0 Delete type=0 #221
|
||||
2025/04/22-08:41:45.602694 7f5dcd3ff6c0 Level-0 table #226: started
|
||||
2025/04/22-08:41:45.602769 7f5dcd3ff6c0 Level-0 table #226: 0 bytes OK
|
||||
2025/04/22-08:41:45.608936 7f5dcd3ff6c0 Delete type=0 #224
|
||||
2025/04/22-08:41:45.629902 7f5dcd3ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-08:41:45.629976 7f5dcd3ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:52:11.355330 7f31467fc6c0 Recovering log #229
|
||||
2025/04/22-15:52:11.365772 7f31467fc6c0 Delete type=3 #227
|
||||
2025/04/22-15:52:11.365821 7f31467fc6c0 Delete type=0 #229
|
||||
2025/04/22-15:54:39.193010 7f2ea7fff6c0 Level-0 table #234: started
|
||||
2025/04/22-15:54:39.193041 7f2ea7fff6c0 Level-0 table #234: 0 bytes OK
|
||||
2025/04/22-15:54:39.200273 7f2ea7fff6c0 Delete type=0 #232
|
||||
2025/04/22-15:54:39.200435 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:54:39.200463 7f2ea7fff6c0 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-000226
|
||||
MANIFEST-000234
|
||||
|
@ -1,3 +1,8 @@
|
||||
2025/04/22-15:21:55.503043 7f3145ffb6c0 Recovering log #224
|
||||
2025/04/22-15:21:55.514229 7f3145ffb6c0 Delete type=3 #222
|
||||
2025/04/22-15:21:55.514364 7f3145ffb6c0 Delete type=0 #224
|
||||
2025/04/22-16:10:04.899683 7f31457fa6c0 Recovering log #232
|
||||
2025/04/22-16:10:04.910626 7f31457fa6c0 Delete type=3 #230
|
||||
2025/04/22-16:10:04.910674 7f31457fa6c0 Delete type=0 #232
|
||||
2025/04/22-16:24:56.374971 7f2ea7fff6c0 Level-0 table #237: started
|
||||
2025/04/22-16:24:56.375019 7f2ea7fff6c0 Level-0 table #237: 0 bytes OK
|
||||
2025/04/22-16:24:56.381214 7f2ea7fff6c0 Delete type=0 #235
|
||||
2025/04/22-16:24:56.393338 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-16:24:56.393365 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/22-07:53:33.123478 7f5dceffd6c0 Recovering log #220
|
||||
2025/04/22-07:53:33.137098 7f5dceffd6c0 Delete type=3 #218
|
||||
2025/04/22-07:53:33.137188 7f5dceffd6c0 Delete type=0 #220
|
||||
2025/04/22-08:41:45.623210 7f5dcd3ff6c0 Level-0 table #225: started
|
||||
2025/04/22-08:41:45.623299 7f5dcd3ff6c0 Level-0 table #225: 0 bytes OK
|
||||
2025/04/22-08:41:45.629704 7f5dcd3ff6c0 Delete type=0 #223
|
||||
2025/04/22-08:41:45.629962 7f5dcd3ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-08:41:45.630021 7f5dcd3ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:52:11.369670 7f3145ffb6c0 Recovering log #228
|
||||
2025/04/22-15:52:11.379132 7f3145ffb6c0 Delete type=3 #226
|
||||
2025/04/22-15:52:11.379179 7f3145ffb6c0 Delete type=0 #228
|
||||
2025/04/22-15:54:39.180592 7f2ea7fff6c0 Level-0 table #233: started
|
||||
2025/04/22-15:54:39.180647 7f2ea7fff6c0 Level-0 table #233: 0 bytes OK
|
||||
2025/04/22-15:54:39.186644 7f2ea7fff6c0 Delete type=0 #231
|
||||
2025/04/22-15:54:39.200392 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:54:39.200456 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000226
|
||||
MANIFEST-000234
|
||||
|
@ -1,3 +1,8 @@
|
||||
2025/04/22-15:21:55.474637 7f31457fa6c0 Recovering log #224
|
||||
2025/04/22-15:21:55.485024 7f31457fa6c0 Delete type=3 #222
|
||||
2025/04/22-15:21:55.485072 7f31457fa6c0 Delete type=0 #224
|
||||
2025/04/22-16:10:04.874243 7f3145ffb6c0 Recovering log #232
|
||||
2025/04/22-16:10:04.884436 7f3145ffb6c0 Delete type=3 #230
|
||||
2025/04/22-16:10:04.884505 7f3145ffb6c0 Delete type=0 #232
|
||||
2025/04/22-16:24:56.387518 7f2ea7fff6c0 Level-0 table #237: started
|
||||
2025/04/22-16:24:56.387539 7f2ea7fff6c0 Level-0 table #237: 0 bytes OK
|
||||
2025/04/22-16:24:56.393264 7f2ea7fff6c0 Delete type=0 #235
|
||||
2025/04/22-16:24:56.393353 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-16:24:56.393378 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/22-07:53:33.091484 7f5dce7fc6c0 Recovering log #220
|
||||
2025/04/22-07:53:33.102983 7f5dce7fc6c0 Delete type=3 #218
|
||||
2025/04/22-07:53:33.103111 7f5dce7fc6c0 Delete type=0 #220
|
||||
2025/04/22-08:41:45.609074 7f5dcd3ff6c0 Level-0 table #225: started
|
||||
2025/04/22-08:41:45.609111 7f5dcd3ff6c0 Level-0 table #225: 0 bytes OK
|
||||
2025/04/22-08:41:45.615192 7f5dcd3ff6c0 Delete type=0 #223
|
||||
2025/04/22-08:41:45.629926 7f5dcd3ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-08:41:45.629989 7f5dcd3ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:52:11.340565 7f3144ff96c0 Recovering log #228
|
||||
2025/04/22-15:52:11.351010 7f3144ff96c0 Delete type=3 #226
|
||||
2025/04/22-15:52:11.351140 7f3144ff96c0 Delete type=0 #228
|
||||
2025/04/22-15:54:39.186802 7f2ea7fff6c0 Level-0 table #233: started
|
||||
2025/04/22-15:54:39.186835 7f2ea7fff6c0 Level-0 table #233: 0 bytes OK
|
||||
2025/04/22-15:54:39.192886 7f2ea7fff6c0 Delete type=0 #231
|
||||
2025/04/22-15:54:39.200400 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:54:39.200450 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000226
|
||||
MANIFEST-000234
|
||||
|
@ -1,3 +1,8 @@
|
||||
2025/04/22-15:21:55.517149 7f3144ff96c0 Recovering log #224
|
||||
2025/04/22-15:21:55.527229 7f3144ff96c0 Delete type=3 #222
|
||||
2025/04/22-15:21:55.527296 7f3144ff96c0 Delete type=0 #224
|
||||
2025/04/22-16:10:04.912699 7f3144ff96c0 Recovering log #232
|
||||
2025/04/22-16:10:04.923248 7f3144ff96c0 Delete type=3 #230
|
||||
2025/04/22-16:10:04.923313 7f3144ff96c0 Delete type=0 #232
|
||||
2025/04/22-16:24:56.367680 7f2ea7fff6c0 Level-0 table #237: started
|
||||
2025/04/22-16:24:56.367779 7f2ea7fff6c0 Level-0 table #237: 0 bytes OK
|
||||
2025/04/22-16:24:56.374777 7f2ea7fff6c0 Delete type=0 #235
|
||||
2025/04/22-16:24:56.393329 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-16:24:56.393359 7f2ea7fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/22-07:53:33.143404 7f5dcdffb6c0 Recovering log #220
|
||||
2025/04/22-07:53:33.157266 7f5dcdffb6c0 Delete type=3 #218
|
||||
2025/04/22-07:53:33.157351 7f5dcdffb6c0 Delete type=0 #220
|
||||
2025/04/22-08:41:45.615323 7f5dcd3ff6c0 Level-0 table #225: started
|
||||
2025/04/22-08:41:45.615360 7f5dcd3ff6c0 Level-0 table #225: 0 bytes OK
|
||||
2025/04/22-08:41:45.622976 7f5dcd3ff6c0 Delete type=0 #223
|
||||
2025/04/22-08:41:45.629946 7f5dcd3ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-08:41:45.630005 7f5dcd3ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:52:11.381653 7f31457fa6c0 Recovering log #228
|
||||
2025/04/22-15:52:11.391845 7f31457fa6c0 Delete type=3 #226
|
||||
2025/04/22-15:52:11.391937 7f31457fa6c0 Delete type=0 #228
|
||||
2025/04/22-15:54:39.174084 7f2ea7fff6c0 Level-0 table #233: started
|
||||
2025/04/22-15:54:39.174143 7f2ea7fff6c0 Level-0 table #233: 0 bytes OK
|
||||
2025/04/22-15:54:39.180452 7f2ea7fff6c0 Delete type=0 #231
|
||||
2025/04/22-15:54:39.200380 7f2ea7fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/22-15:54:39.200442 7f2ea7fff6c0 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