Quantcast
WoWInterface - View Single Post - IsSpellInRange("Zeal","target")
View Single Post
03-02-18, 05:39 PM   #2
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Try this.
Lua Code:
  1. local function InMeleeRange(unit)
  2.     local guid = UnitGUID(unit)
  3.     return guid and select(2, CanLootUnit(guid))
  4. end
__________________
  Reply With Quote