WoW:API IsSpellInRange: Difference between revisions

m
Move page script moved page API IsSpellInRange to WoW:API IsSpellInRange without leaving a redirect
(upgraded code block)
m (Move page script moved page API IsSpellInRange to WoW:API IsSpellInRange without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
  local inRange = 0
  local inRange = 0
  local unit = "party1"
  local unit = "party1"
  if UnitExists(unit) and IsVisible(unit) and UnitIsFriend(unit) then
  if UnitExists(unit) and UnitIsVisible(unit) and UnitIsFriend(unit) then
     inRange = IsSpellInRange("Heal",unit)
     inRange = IsSpellInRange("Heal",unit)
  end
  end
Anonymous user