1
0
EQ2Emu/docs/lua_functions/SetCurrentPower.md
2025-05-27 09:56:36 -04:00

425 B

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.

Example:

Example Required