1
0
EQ2Emu/docs/lua_functions/HasSpellImmunity.md
2025-05-25 21:42:32 -04:00

438 B

Function: HasSpellImmunity(spawn, type)

Description: Return's if the spawn has immunity to the spell type. See available types in https://github.com/emagi/eq2emu/blob/main/docs/data_types/immunity_types.md

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • type (uint8) - Integer value type.

Returns: True if the spawn has immunity to spell type, otherwise false.

Example:

Example Required