Hello want make function for checking boss by name and by levele. Function checking by target level but not checking by name. What doing? How fix?
Code:-- Checking if target boss by level/name -- local elite = { "Overlord Ror", "Ragepaw" } local eliteboss = nil for i,v in ipairs(elite) do if UnitName("target") == v then eliteboss = 1 end end function IsBoss() if UnitExists("target") and UnitLevel("target") == -1 or eliteboss then return true end end