Thread Rating:
  • 13 Vote(s) - 2.31 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attacking certain mobs only.
#9
Doesnt seem to be working for me..
function GetNearestGrindAttackable()
local minLevel = tostring(Player.level - tonumber(gMinMobLevel))
local maxLevel = tostring(Player.level + tonumber(gMaxMobLevel))
local el = EntityList("lowesthealth,alive,contentid=411,attackable,onmesh,maxdistance="..tostring(ml_global_information.AttackRange)..",minlevel="..minLevel..",maxlevel="..maxLevel)
if ( el ) then
local i,e = next(el)
if (i~=nil and e~=nil) then
return e
end
end

local el = EntityList("nearest,contentid=411,alive,attackable,onmesh,minlevel="..minLevel..",maxlevel="..maxLevel)
if ( el ) then
local i,e = next(el)
if (i~=nil and e~=nil) then
return e
end
end
ml_debug("GetNearestAttackable() failed with no entity found matching params")
return nil
end

still is attacking everything o.o
Reply
 


Messages In This Thread
Attacking certain mobs only. - by Shisa - 10-09-2013, 08:22 PM
RE: Attacking certain mobs only. - by Shisa - 10-09-2013, 09:33 PM
RE: Attacking certain mobs only. - by Shisa - 10-13-2013, 10:18 PM
RE: Attacking certain mobs only. - by Shisa - 10-14-2013, 02:07 PM
RE: Attacking certain mobs only. - by Jonte - 10-14-2013, 10:13 PM
RE: Attacking certain mobs only. - by Koopla - 10-16-2013, 01:11 PM
RE: Attacking certain mobs only. - by chrispeterson - 10-20-2013, 03:29 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products