Historical signature: SetCurrentPower(spawn, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetCurrentPower(spawn, value)
Description:
Set's the current spawn power value if the power value + current power is less than total power. Otherwise it will override the total power. This function is an alias of SetPower(spawn, value)
Parameters:
spawn (Spawn) - Spawn object representing spawn.
value (int32) - Integer value value.
Returns: None.
Checked example
No checked example is published for this function yet. No active lua_register binding in this checkout.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.