Skip to content

Commit

Permalink
Analytics: Fix eparch game build check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sejsel committed Jul 24, 2024
1 parent 463732e commit 415ed01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ArcdpsLogManager/Logs/Updates/LogDataUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ x.Profession is Profession.Thief or Profession.Engineer or Profession.Ranger
new LogUpdate(log => log.ParsingVersion < new Version(1, 11, 1, 7)
&& log.Encounter is Encounter.Adina or Encounter.Sabir,
"Fix Adina and Sabir possibly being identified as the other one in rare scenarios."),
new LogUpdate(log => log.ParsingVersion < new Version(1, 11, 1, 8)
new LogUpdate(log => log.ParsingVersion < new Version(1, 11, 1, 9)
&& log.Encounter == Encounter.Other
&& log.MapId == MapIds.LonelyTower,
"Add support for Eparch in the Lonely Tower fractal."),
Expand Down
8 changes: 4 additions & 4 deletions EVTCAnalytics/Processing/EncounterDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,11 @@ private IEncounterData GetPvEEncounterData(Encounter encounter, Agent mainTarget
new BuffAppliedBelowHealthThresholdDeterminer(mainTarget, 0.2f, SkillIds.Determined)))
.WithModes(new ConditionalModeDeterminer(
(gameBuild != null && gameBuild < GameBuilds.LonelyTowerCMRelease,
new AgentHealthModeDeterminer(mainTarget, 31_000_000, EncounterMode.Normal)),
(gameBuild != null && gameBuild >= GameBuilds.LonelyTowerCMRelease && gameBuild <= GameBuilds.LonelyTowerHPNerf2,
new AgentHealthModeDeterminer(mainTarget, 31_000_000, EncounterMode.Challenge)),
new ConstantModeDeterminer(EncounterMode.Normal)),
(gameBuild != null && gameBuild >= GameBuilds.LonelyTowerCMRelease && gameBuild < GameBuilds.LonelyTowerHPNerf2,
new AgentHealthModeDeterminer(mainTarget, 31_000_000)),
(gameBuild != null && gameBuild >= GameBuilds.LonelyTowerHPNerf2,
new AgentHealthModeDeterminer(mainTarget, 21_000_000, EncounterMode.Challenge))
new AgentHealthModeDeterminer(mainTarget, 21_000_000))
))
.Build();
}
Expand Down

0 comments on commit 415ed01

Please # to comment.