Lua functions

SetSkillMaxValue

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

Historical signature: SetSkillMaxValue(skill, value)

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

Function: SetSkillMaxValue(skill, value)

Description: Set's the maximum skill value for the skill object.

Parameters:

  • skill (int32) - Integer value skill.
  • value (uint16) - 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.

SetSkillMaxValue(skill, 300)

Evidence: server/SpawnScripts/DarkBargainers/SasitSoroth.lua:250; binding EQ2Emu_lua_SetSkillMaxValue.

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