File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ read_globals = {
4747 " CanHearthAndResurrectFromArea" ,
4848 " CastingInfo" ,
4949 " ChannelInfo" ,
50- " CheckInteractDistance" ,
5150 " CreateFrame" ,
5251 " GetArenaOpponentSpec" ,
5352 " GetBuildInfo" ,
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ local function checkRange(self)
4848 -- That didn't work, but they are grouped lets try the actual API for this, it's a bit flaky though and not that useful generally
4949 elseif ( UnitInRaid (frame .unit ) or UnitInParty (frame .unit ) ) then
5050 frame :SetRangeAlpha (UnitInRange (frame .unit , " player" ) and ShadowUF .db .profile .units [frame .unitType ].range .inAlpha or ShadowUF .db .profile .units [frame .unitType ].range .oorAlpha )
51- -- Nope, fall back to interaction :(
51+ -- Nope, just show in range :(
5252 else
53- frame :SetRangeAlpha (CheckInteractDistance ( frame . unit , 4 ) and ShadowUF .db .profile .units [frame .unitType ].range .inAlpha or ShadowUF . db . profile . units [ frame . unitType ]. range . oorAlpha )
53+ frame :SetRangeAlpha (ShadowUF .db .profile .units [frame .unitType ].range .inAlpha )
5454 end
5555end
5656
You can’t perform that action at this time.
0 commit comments