Skip to content

Commit

Permalink
Manager: Add log data update for Lonely Tower fractal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sejsel committed Jun 4, 2024
1 parent fdfe74f commit 1906627
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ArcdpsLogManager/ArcdpsLogManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Each new log data update causes a revision increase.
See LogDataUpdater for the updates.
-->
<Version>1.11.1.3</Version>
<Version>1.11.1.4</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DebounceThrottle" Version="2.0.0" />
Expand Down
1 change: 1 addition & 0 deletions ArcdpsLogManager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This is the full changelog of the arcdps Log Manager.
## Log Manager v1.11.2 (unreleased)

#### New features
- Added support for Eparch in the Lonely Tower fractal (thanks, @Linkaaaaa!)
- Added encounter icons to log list for easier identification (thanks, @Linkaaaaa!)
- Added an account name column in the log list; right-click to enable (thanks, @Linkaaaaa!)

Expand Down
4 changes: 4 additions & 0 deletions ArcdpsLogManager/Logs/Updates/LogDataUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ x.Profession is Profession.Thief or Profession.Engineer or Profession.Ranger
new LogUpdate(log => log.ParsingVersion < new Version(1, 11, 1, 3)
&& log.Encounter == Encounter.Skorvald,
"Fix success detection for Skorvald when all players are dead while the boss is invulnerable at 1%"),
new LogUpdate(log => log.ParsingVersion < new Version(1, 11, 1, 4)
&& log.Encounter == Encounter.Other
&& log.MapId == MapIds.LonelyTower,
"Added support for Eparch in the Lonely Tower fractal"),
// When adding a new update, you need to increase the revision (last value) of the version in the .csproj file
// unless the version changes more significantly, in that case it can be reset to 0.
};
Expand Down
1 change: 1 addition & 0 deletions EVTCAnalytics/GameData/MapIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public static class MapIds
public const int SilentSurf = 1500;
public const int CosmicObservatory = 1515;
public const int TempleOfFebe = 1520;
public const int LonelyTower = 1538;

public static bool IsRaidMap(int id)
{
Expand Down
10 changes: 3 additions & 7 deletions EVTCAnalytics/Processing/EncounterDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -664,13 +664,9 @@ private IEncounterData GetPvEEncounterData(Encounter encounter, Agent mainTarget
.WithResult(new AnyCombinedResultDeterminer(
new AgentKillingBlowDeterminer(mainTarget),
new BuffAppliedBelowHealthThresholdDeterminer(mainTarget, 0.2f, SkillIds.Determined)))
.WithModes(new ConditionalModeDeterminer(
(gameBuild != null && gameBuild < GameBuilds.LonelyTowerCMRelease,
new AgentHealthModeDeterminer(mainTarget, 31_000_000, EncounterMode.Normal)),
(true, new FallbackModeDeterminer(
new AgentHealthModeDeterminer(mainTarget, 18_000_000, EncounterMode.Normal),
new AgentHealthModeDeterminer(mainTarget, 32_000_000, EncounterMode.Challenge),
finalFallbackMode: null))))
// On release, Eparch had 31,771,528 health in NM.
// On CM release, Eparch was reduced to 19,857,206 in NM and CM health is 32,618,906
.WithModes(new AgentHealthModeDeterminer(mainTarget, 31_800_000))
.Build();
}
default:
Expand Down

0 comments on commit 1906627

Please sign in to comment.