Lua functions

HasRecovered

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

Historical signature: HasRecovered(spawn)

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

Function: HasRecovered(spawn)

Description: If the NPC has recovered from spell casting.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if casting again is possible, otherwise false if inbetween cast recovery.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

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