landsandboat/scripts/enum/find_flag.lua
MowFord a42edeb03e
new luautil function: getEntitiesInRange()
get all targets in a sphere around an entity
utilizes targetfind on the entity with parameters for aoe type, validtargets, etc
2024-05-24 09:57:20 -05:00

16 lines
555 B
Lua

-----------------------------------
-- FINDFLAGS enum
-- determines which targets to attempt to add to targetfind (will check for valid target before entry)
-----------------------------------
xi = xi or {}
xi.findFlag =
{
NONE = 0,
DEAD = 1, -- target dead
ALLIANCE = 2, -- force target alliance
PET = 4, -- force target pet
UNLIMITED = 8, -- unlimited distance
HIT_ALL = 16, -- hit all targets, regardless of party
IGNORE_BATTLEID = 32, -- ignore battle id check
}