1
0

21 lines
476 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Function: IsEpic(Spawn)
**Description:** Checks if the given NPC is flagged as an “Epic” encounter.
**Parameters:**
- `Spawn`: Spawn The NPC to check.
**Returns:** Boolean true if the spawn is an Epic tier NPC; false otherwise.
**Example:**
```lua
-- Example AtrebasEtherealBindings.lua (Spells Script)
function precast(Caster, Target)
-- Does not affect Epic targets
if IsEpic(Target) then
return false, 43
end
return true
end
```