Skip to content

Commit

Permalink
Fix bug identified by continued improvement to LuaLS function mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed May 1, 2024
1 parent c815086 commit 9258d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DBM-Raids-MoP/MogushanVaults/Feng.lua
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function mod:SPELL_AURA_APPLIED(args)
timerDrawFlame:Start()
specWarnDrawFlame:Show(self.vb.specialCount)
specWarnDrawFlame:Play("specialsoon")
if DBM:UnitBuff(nullBarrier, "player") and self:IsDifficulty("lfr25") then
if DBM:UnitBuff("player", nullBarrier) and self:IsDifficulty("lfr25") then
specWarnBarrierNow:Show()
specWarnBarrierNow:Play("useextraaction")
end
Expand All @@ -198,7 +198,7 @@ function mod:SPELL_AURA_APPLIED(args)
specWarnArcaneVelocity:Show(self.vb.specialCount)
specWarnArcaneVelocity:Play("runin")--A mechanic that does less damage closer to boss you are
timerArcaneVelocity:Start()
if DBM:UnitBuff(nullBarrier, "player") and self:IsDifficulty("lfr25") then
if DBM:UnitBuff("player", nullBarrier) and self:IsDifficulty("lfr25") then
specWarnBarrierNow:Show()
end
end
Expand Down Expand Up @@ -302,7 +302,7 @@ function mod:SPELL_CAST_START(args)
specWarnEpicenter:Play("aesoon")
timerEpicenter:Start()
timerEpicenterCD:Start(nil, self.vb.specialCount + 1)
if DBM:UnitBuff(nullBarrier, "player") and self:IsDifficulty("lfr25") then
if DBM:UnitBuff("player", nullBarrier) and self:IsDifficulty("lfr25") then
specWarnBarrierNow:Schedule(2)
end
elseif args:IsSpellID(116157, 116295) then
Expand Down

0 comments on commit 9258d5f

Please sign in to comment.