[Edit] from http://wowwiki.wikia.com/wiki/API_UnitLevel
local targetLvl = UnitLevel("target")Does the above works?
local playerLvl = UnitLevel("player")
if targetLvl > playerLvl then
local diffLvl = targetLvl - playerLvl
end
Discord: https://discord.gg/wCSj5SD
READ this before posting ANY error/bug report: How to write bug report.
I am not responding on emails nor private messages at curse. Use this forum or discord.
local targetLvl = UnitLevel("target")Does the above works?
local playerLvl = UnitLevel("player")
if targetLvl > playerLvl then
local diffLvl = targetLvl - playerLvl
end