Lua functions

GetCurrentPower

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

Historical signature: GetCurrentPower(spawn)

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

Function: GetCurrentPower(spawn)

Description: Returns the current Power of the Spawn, this can be represented as GetPower(spawn) as well.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: SInt32 current power value of the spawn.

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.