Hello.
I need script to set "targeting on" if character see 2 or more monsters.
If he see less than 2 monsters then targeting is off and character stop attack single monster.
Thank you for help.
Printable View
Hello.
I need script to set "targeting on" if character see 2 or more monsters.
If he see less than 2 monsters then targeting is off and character stop attack single monster.
Thank you for help.
Bump.
Still need this script!
Msg me on Discord Storm#3657
@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.