debug bot admin role config / combat log detection show attacker name not id

This commit is contained in:
SowinskiBraeden committed 2023-04-03 08:19:28 -07:00
1 parent e1f8c86c9e
commit 7fbf684677
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -456,6 +456,7 @@ class DayzArmbands extends Client {
time: data[1],
player: data[2],
playerID: data[3],
attacker: data[5],
attackerID: data[6]
}
@@ -468,7 +469,7 @@ class DayzArmbands extends Client {
let newDt = await this.getDateEST(info.time);
playerStat.lastDamageDate = newDt;
playerStat.lastHitBy = info.attackerID;
playerStat.lastHitBy = info.attacker;
if (playerStatIndex == -1) stats.push(playerStat);
else stats[playerStatIndex] = playerStat;