Lua functions

IsEpic

Registered in this checkout as EQ2Emu_lua_IsEpic; implementation found at WorldServer/Lua/LuaFunctions.cpp:9722.

Historical signature: IsEpic(Spawn)

Parameter and behavior details in the historical explanation are under review against the current implementation.

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.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

if IsEpic(Target) then

Evidence: server/Spells/AtrebasEtherealBindings.lua:11; binding EQ2Emu_lua_IsEpic.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.