Skip to content

Commit

Permalink
More Range Check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Nov 16, 2023
1 parent 9399a8c commit 464b604
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dragonflight/DemonHunterHavoc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,6 @@ spec:RegisterAbilities( {
startsCombat = true,
nodebuff = "rooted",

-- usable = function () return target.within15 end,
handler = function ()
setDistance( 5 )
end,
Expand Down
2 changes: 1 addition & 1 deletion Dragonflight/WarlockDemonology.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local PTR = ns.PTR
local FindPlayerAuraByID, FindUnitBuffByID, FindUnitDebuffByID = ns.FindPlayerAuraByID, ns.FindUnitBuffByID, ns.FindUnitDebuffByID
local abs, ceil, strformat = math.abs, math.ceil, string.format

local RC = LibStub( "LibRangeCheck-2.0" )
local RC = LibStub( "LibRangeCheck-3.0-ElvUI" )


local spec = Hekili:NewSpecialization( 266 )
Expand Down
2 changes: 1 addition & 1 deletion Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local ResetDisabledGearAndSpells = ns.ResetDisabledGearAndSpells
local WipeCovenantCache = ns.WipeCovenantCache

local CGetItemInfo = ns.CachedGetItemInfo
local RC = LibStub( "LibRangeCheck-2.0" )
local RC = LibStub( "LibRangeCheck-3.0-ElvUI" )

-- Abandoning AceEvent in favor of darkend's solution from:
-- http://andydote.co.uk/2014/11/23/good-design-in-warcraft-addons.html
Expand Down
2 changes: 1 addition & 1 deletion State.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local format = string.format

local Mark, SuperMark, ClearMarks = ns.Mark, ns.SuperMark, ns.ClearMarks

local RC = LibStub( "LibRangeCheck-2.0" )
local RC = LibStub( "LibRangeCheck-3.0-ElvUI" )
local LSR = LibStub( "SpellRange-1.0" )

local class = Hekili.Class
Expand Down
2 changes: 1 addition & 1 deletion Targets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ RegisterEvent( "UNIT_FLAGS", function( event, unit )
end )


local RC = LibStub( "LibRangeCheck-2.0" )
local RC = LibStub( "LibRangeCheck-3.0-ElvUI" )

local lastCount = 1
local lastStationary = 1
Expand Down

0 comments on commit 464b604

Please sign in to comment.