Skip to content

Commit f5ea41d

Browse files
authored
Merge pull request #82 from builder-247/tormentor
Add tormentor kills to objectives
2 parents ac4efd1 + 76e0100 commit f5ea41d

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<dependency>
5757
<groupId>com.skadistats</groupId>
5858
<artifactId>clarity</artifactId>
59-
<version>3.0.5</version>
59+
<version>3.1.1</version>
6060
</dependency>
6161

6262
<dependency>
@@ -70,7 +70,7 @@
7070
<dependency>
7171
<groupId>com.skadistats</groupId>
7272
<artifactId>clarity-protobuf</artifactId>
73-
<version>5.1</version>
73+
<version>5.4</version>
7474
</dependency>
7575
</dependencies>
7676
</dependencyManagement>

processors/populate.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function populate(e, container, meta) {
2020
case 'CHAT_MESSAGE_AEGIS_STOLEN':
2121
case 'CHAT_MESSAGE_DENIED_AEGIS':
2222
case 'CHAT_MESSAGE_ROSHAN_KILL':
23+
case 'CHAT_MESSAGE_MINIBOSS_KILL':
2324
case 'building_kill':
2425
container.objectives.push(JSON.parse(JSON.stringify(e)));
2526
break;

processors/processExpand.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,14 @@ function processExpand(entries, meta) {
478478
team: e.player1,
479479
});
480480
},
481+
CHAT_MESSAGE_MINIBOSS_KILL(e) {
482+
expand({
483+
time: e.time,
484+
type: e.type,
485+
slot: e.player1,
486+
team: e.value,
487+
});
488+
},
481489
CHAT_MESSAGE_COURIER_LOST(e) {
482490
let team;
483491
let killer;
@@ -649,7 +657,7 @@ function processExpand(entries, meta) {
649657
if (types[e.type]) {
650658
types[e.type](e);
651659
} else {
652-
// console.log('parser emitted unhandled type: %s', e.type);
660+
//console.log('parser emitted unhandled type: %s at %s', e.type, e.time);
653661
}
654662
}
655663
return output;

0 commit comments

Comments
 (0)