Skip to content

Commit

Permalink
scope nearby checks to only run on classic lich king (and not retail …
Browse files Browse the repository at this point in the history
…lich king)

Fixed defile near warning not having voice pack sound
  • Loading branch information
MysticalOS committed Jan 7, 2024
1 parent 70b3de6 commit da8c3f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DBM-Raids-WoTLK/Icecrown/TheFrozenThrone/LichKing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,12 @@ function mod:DefileTarget(targetname, uId)
specWarnDefileCast:Show()
specWarnDefileCast:Play("runout")
yellDefile:Yell()
else
elseif self:IsClassic() then--Not possible in combat on retail
if uId then
local inRange = CheckInteractDistance(uId, 2)
if inRange then
specWarnDefileNear:Show(targetname)
specWarnDefileNear:Play("runaway")
end
end
end
Expand All @@ -195,7 +196,7 @@ function mod:TrapTarget(targetname, uId)
specWarnTrap:Show()
specWarnTrap:Play("watchstep")
yellTrap:Yell()
else
elseif self:IsClassic() then--Not possible in combat on retail
if uId then
local inRange = CheckInteractDistance(uId, 2)
if inRange then
Expand Down

0 comments on commit da8c3f9

Please sign in to comment.