438 B
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 representingspawn
.type
(uint8) - Integer valuetype
.
Returns: True if the spawn has immunity to spell type, otherwise false.
Example:
Example Required