@szymonki and @garenja,
can you share with your script?
lua code:local MonsterList = {"Dragon"}
local MonsterCount = 2
local MonsterRange = 8
Module.New("TargetingOnOFF", function(module)
local mob = Self.GetTargets(MonsterRange)
local mobCount = 0
for i = 1, #mob do
if table.contains(MonsterList, mob[i]:Name()) then
mobCount = mobCount + 1
end
end
if (mobCount >= MonsterCount) then
Targeting.StopIgnoring() else
Targeting.StartIgnoring()
end
module:Delay(2000, 3000)
end)
I use now this one but it's doesn't work perfect because when I have one mob on yellow HP, bot ignore him and run away.
Any ideas? Thanks in advance.