debug combat log detection
This commit is contained in:
3 files changed
+2
-127
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user