Lua functions

SetStrBase

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

Historical signature: SetStrBase(spawn, value)

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

Function: SetStrBase(spawn, value)

Description: Set's the Spawn's base strength to the value provided.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • value (int32) - Integer value value.

Returns: None.

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.

SetStrBase(Pet, Str)

Evidence: server/Spells/Summoner/Level1Pet.lua:30; binding EQ2Emu_lua_SetStrBase.

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