Skip to content

Commit

Permalink
fix(Enhancement): Fix Feral Spirit counting, hopefully
Browse files Browse the repository at this point in the history
- Rolling Thunder uses a different ID that wasn't being tracked
- Also added tracking for Flowing Spirits
  • Loading branch information
Cilraaz committed Dec 11, 2024
1 parent a8b6353 commit 6bcf6c4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion HeroRotation_Shaman/Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,21 @@ HL:RegisterForSelfCombatEvent(
HL:RegisterForSelfCombatEvent(
function (...)
local SpellID = select(12, ...)
if SpellID == 262627 then
if SpellID == 262627 or SpellID == 426516 then
-- Note: 262627 is the spell ID for Feral Spirit
-- Note: 426516 is the spell ID for the extra wolf from Rolling Thunder or TWW S1 4pc
Shaman.FeralSpiritCount = Shaman.FeralSpiritCount + 1
Delay(15, function()
Shaman.FeralSpiritCount = Shaman.FeralSpiritCount - 1
end)
end
if SpellID == 469332 then
-- Note: 469332 is the spell ID for wolf summoned by Flowing Spirits
Shaman.FeralSpiritCount = Shaman.FeralSpiritCount + 1
Delay(8, function()
Shaman.FeralSpiritCount = Shaman.FeralSpiritCount - 1
end)
end
end
, "SPELL_SUMMON"
)
Expand Down

0 comments on commit 6bcf6c4

Please sign in to comment.