from retail
This commit is contained in:
@@ -341,8 +341,7 @@ local function CreateTestForCondition(data, input, allConditionsTemplate, usedSt
|
||||
local found = 0
|
||||
local op = %q
|
||||
local range = %s
|
||||
local max = C_NamePlate and C_NamePlate.GetNamePlates and #C_NamePlate.GetNamePlates() or 40
|
||||
for i = 1, max do
|
||||
for i = 1, 100 do
|
||||
local unit = "nameplate" .. i
|
||||
if UnitExists(unit) and UnitCanAttack("player", unit) and WeakAuras.CheckRange(unit, range, op) then
|
||||
found = found + 1
|
||||
|
||||
Reference in New Issue
Block a user