debug combat log detection

This commit is contained in:
SowinskiBraeden committed 2023-04-21 13:50:08 -07:00
1 parent e73ba298f4
commit becabf82d9
3 files changed
+2 -127

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = {
// If diff is greater than 5 minutes, not a combat log
// or if death after last combat and death was before logout event
if (data.lastDamageDate < data.lastDeathDate && data.lastDeathDate < newDt1) return;
if (data.lastDamageDate <= data.lastDeathDate && data.lastDeathDate < newDt) return;
if (diff > 5) return;
let guild = await client.GetGuild(guildId);