Various changes #1
@@ -201,9 +201,9 @@ function UnitFrame:IsInRange()
|
||||
|
||||
-- Prefer to use configured spells
|
||||
if friendlySpell and UnitCanAssist("player", unit) then
|
||||
return IsSpellInRange(friendlySpell, unit) == 1
|
||||
return C_Spell.IsSpellInRange(friendlySpell, unit) == true
|
||||
elseif enemySpell and UnitCanAttack("player", unit) then
|
||||
return IsSpellInRange(enemySpell, unit) == 1
|
||||
return C_Spell.IsSpellInRange(enemySpell, unit) == true
|
||||
end
|
||||
|
||||
-- Fall back to raid/party only range check
|
||||
|
Reference in New Issue
Block a user