2023-05-29 18:28:58 -04:00
|
|
|
-----------------------------------
|
|
|
|
|
-- Behavior bits
|
|
|
|
|
-----------------------------------
|
|
|
|
|
xi = xi or {}
|
|
|
|
|
|
2024-12-01 15:55:23 -05:00
|
|
|
---@enum xi.behavior
|
2023-05-29 18:28:58 -04:00
|
|
|
xi.behavior =
|
|
|
|
|
{
|
|
|
|
|
NONE = 0x000,
|
|
|
|
|
NO_DESPAWN = 0x001, -- mob does not despawn on death
|
|
|
|
|
STANDBACK = 0x002, -- mob will standback forever
|
|
|
|
|
RAISABLE = 0x004, -- mob can be raised via Raise spells
|
2025-12-29 17:22:34 -07:00
|
|
|
NO_ASSIST = 0x008, -- mob cannot be targeted by helpful magic from players (cure, protect, etc)
|
2023-05-29 18:28:58 -04:00
|
|
|
AGGRO_AMBUSH = 0x200, -- mob aggroes by ambush
|
|
|
|
|
NO_TURN = 0x400, -- mob does not turn to face target
|
|
|
|
|
}
|