Skip to content

Commit

Permalink
Merge pull request #968 from Linkaaaaa/master
Browse files Browse the repository at this point in the history
Fix extra triggers of relic of the stormsinger
  • Loading branch information
EliphasNUIT authored Jan 30, 2025
2 parents 5f8f708 + b72c6c8 commit 0c8a832
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions GW2EIEvtcParser/EIData/ProfHelpers/ProfHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,11 @@ internal static class ProfHelper
.UsingOrigin(InstantCastFinder.InstantCastOrigin.Gear),
new EffectCastFinder(RelicOfSorrowBuff, EffectGUIDs.RelicOfSorrow3)
.UsingOrigin(InstantCastFinder.InstantCastOrigin.Gear),
// If this collides with something else we could check via buff remove with the condition dst == src
new EffectCastFinder(RelicOfTheStormsingerChain, EffectGUIDs.RelicOfTheStormsinger)
.UsingSecondaryEffectChecker(EffectGUIDs.RelicOfTheStormsinger) // Effect triggers at least twice
.UsingChecker((effectEvent, combatData, agentData, skillData) =>
{
return combatData.HasLostBuff(RelicOfTheStormsingerBuff, effectEvent.Src, effectEvent.Time);
})
.UsingOrigin(InstantCastFinder.InstantCastOrigin.Gear),
new EffectCastFinder(RelicOfTheBeehive, EffectGUIDs.RelicWhiteCircle)
.UsingSecondaryEffectChecker(EffectGUIDs.RelicOfTheBeehive1, 1000, ServerDelayConstant)
Expand Down

0 comments on commit 0c8a832

Please sign in to comment.