Skip to content

Commit

Permalink
Merge pull request #31 from NielsH/feature/lui_bossmods_sync
Browse files Browse the repository at this point in the history
Reset essence number on midphase start
  • Loading branch information
Zod- authored Mar 14, 2017
2 parents 2c6c0a9 + cd17936 commit 32cc1ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Encounters/RMT/Laveka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ function mod:RemoveLostSoulLine()
core:RemoveLineBetweenUnits("LOST_SOUL_LINE")
end

function mod:OnCacophonyStart()
essenceNumber = 0
end

----------------------------------------------------------------------------------------------------
-- Bind event handlers.
----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -532,6 +536,9 @@ mod:RegisterUnitEvents("unit.laveka",{
["cast.laveka.devoursouls"] = {
[core.E.CAST_END] = mod.OnDevourSoulsStop,
},
["cast.laveka.cacophony"] = {
[core.E.CAST_START] = mod.OnCacophonyStart,
},
}
)

Expand Down

0 comments on commit 32cc1ad

Please sign in to comment.