Skip to content

Commit 71fdb68

Browse files
committed
Analytics: Add support for Escort.
It seems to be possible to rarely get an Escort log when using the Mushroom King as a trigger. If more triggers are discovered, they will be supported in the future.
1 parent e66e207 commit 71fdb68

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

EVTCAnalytics/GameData/Encounters/Encounter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public enum Encounter
2828
Matthias = 23,
2929

3030
// Raids - Wing 3
31+
Escort = 31,
3132
KeepConstruct = 32,
3233
TwistedCastle = 33,
3334
Xera = 34,

EVTCAnalytics/GameData/Encounters/EncounterCategories.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public static class EncounterCategories
1515
{Encounter.Slothasor, EncounterCategory.RaidWing2},
1616
{Encounter.BanditTrio, EncounterCategory.RaidWing2},
1717
{Encounter.Matthias, EncounterCategory.RaidWing2},
18+
{Encounter.Escort, EncounterCategory.RaidWing3},
1819
{Encounter.KeepConstruct, EncounterCategory.RaidWing3},
1920
{Encounter.TwistedCastle, EncounterCategory.RaidWing3},
2021
{Encounter.Xera, EncounterCategory.RaidWing3},

EVTCAnalytics/GameData/Encounters/EncounterNames.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public static class EncounterNames
1313
{Encounter.Slothasor, "Slothasor"},
1414
{Encounter.BanditTrio, "Bandit Trio"},
1515
{Encounter.Matthias, "Matthias Gabrel"},
16+
{Encounter.Escort, "Escort"},
1617
{Encounter.KeepConstruct, "Keep Construct"},
1718
{Encounter.TwistedCastle, "Twisted Castle"},
1819
{Encounter.Xera, "Xera"},

EVTCAnalytics/GameData/SpeciesIds.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public static class SpeciesIds
3030

3131
// Wing 3
3232
// Escort
33+
public const int MushroomKing = 16255;
3334
// Keep Construct
3435
public const int KeepConstruct = 16235;
3536
// Twisted Castle

EVTCAnalytics/Processing/DefaultEncounterIdentifier.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ public Encounter IdentifyEncounter(Agent mainTarget, IReadOnlyList<Agent> agents
422422
return Encounter.BanditTrio;
423423
case SpeciesIds.MatthiasGabrel:
424424
return Encounter.Matthias;
425+
case SpeciesIds.MushroomKing:
426+
return Encounter.Escort;
425427
case SpeciesIds.KeepConstruct:
426428
return Encounter.KeepConstruct;
427429
case SpeciesIds.HauntingStatue:

0 commit comments

Comments
 (0)