Skip to content

Commit

Permalink
Fix the incorrect Spirit race trigger ID
Browse files Browse the repository at this point in the history
Add spirit race to the wing 1 log session summary
  • Loading branch information
Plenyx committed Jan 17, 2025
1 parent 1b22c88 commit bce6225
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions DpsReport/BossIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ internal enum BossIds
{
WvW = 1,
Sabetha = 15375,
SpiritRace = 15415,
Gorseval = 15429,
ValeGuardian = 15438,
BanditTrioBerg = 16088,
Expand Down
8 changes: 4 additions & 4 deletions DpsReport/Bosses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ internal static List<BossData> GetDefaultSettingsForBossesAsDictionary()
internal static int GetWingForBoss(int bossId)
=> bossId switch
{
(int)BossIds.ValeGuardian or (int)BossIds.Gorseval or (int)BossIds.Sabetha => 1,
(int)BossIds.ValeGuardian or (int)BossIds.SpiritRace or (int)BossIds.Gorseval or (int)BossIds.Sabetha => 1,
(int)BossIds.Slothasor or (int)BossIds.BanditTrioBerg or (int)BossIds.BanditTrioZane or (int)BossIds.BanditTrioNarella or (int)BossIds.Matthias => 2,
(int)BossIds.Escort or (int)BossIds.KeepConstruct or (int)BossIds.TwistedCastle or (int)BossIds.Xera => 3,
(int)BossIds.Cairn or (int)BossIds.MursaatOverseer or (int)BossIds.Samarog or (int)BossIds.Deimos => 4,
Expand All @@ -124,9 +124,9 @@ internal static int GetBossOrder(int bossId)
=> bossId switch
{
(int)BossIds.ValeGuardian or (int)BossIds.Slothasor or (int)BossIds.Escort or (int)BossIds.Cairn or (int)BossIds.SoullessHorror or (int)BossIds.ConjuredAmalgamate or (int)BossIds.CardinalAdina or (int)BossIds.Greer => 1,
(int)BossIds.Gorseval or (int)BossIds.BanditTrioBerg or (int)BossIds.BanditTrioNarella or (int)BossIds.BanditTrioZane or (int)BossIds.KeepConstruct or (int)BossIds.MursaatOverseer or (int)BossIds.RiverOfSouls or (int)BossIds.LargosTwinsKenut or (int)BossIds.LargosTwinsNikare or (int)BossIds.CardinalSabir or (int)BossIds.Decima => 2,
(int)BossIds.Matthias or (int)BossIds.TwistedCastle or (int)BossIds.Sabetha or (int)BossIds.Samarog or (int)BossIds.BrokenKing or (int)BossIds.Qadim or (int)BossIds.QadimThePeerless or (int)BossIds.Ura => 3,
(int)BossIds.Deimos or (int)BossIds.EaterOfSouls or (int)BossIds.Xera => 4,
(int)BossIds.SpiritRace or (int)BossIds.BanditTrioBerg or (int)BossIds.BanditTrioNarella or (int)BossIds.BanditTrioZane or (int)BossIds.KeepConstruct or (int)BossIds.MursaatOverseer or (int)BossIds.RiverOfSouls or (int)BossIds.LargosTwinsKenut or (int)BossIds.LargosTwinsNikare or (int)BossIds.CardinalSabir or (int)BossIds.Decima => 2,
(int)BossIds.Gorseval or (int)BossIds.Matthias or (int)BossIds.TwistedCastle or (int)BossIds.Samarog or (int)BossIds.BrokenKing or (int)BossIds.Qadim or (int)BossIds.QadimThePeerless or (int)BossIds.Ura => 3,
(int)BossIds.Sabetha or (int)BossIds.Xera or (int)BossIds.Deimos or (int)BossIds.EaterOfSouls => 4,
(int)BossIds.EyeOfFate or (int)BossIds.EyeOfJudgement => 5,
(int)BossIds.Dhuum => 6,
_ => 0,
Expand Down
2 changes: 1 addition & 1 deletion Resources/boss_data.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"isEvent": false
},
{
"bossId": 47188,
"bossId": 15415,
"name": "Spirit Race",
"icon": "https://wiki.guildwars2.com/images/e/e5/Spirit_Thread.png",
"type": 1,
Expand Down

0 comments on commit bce6225

Please sign in to comment.