Lua functions

AddSpellBonus

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

Historical signature: AddSpellBonus(Spawn, type, value)

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

Checked example

Active call in a local runtime Lua script. Trailing class requirements are optional. This is a contextual call pattern, not a tested standalone script.

AddSpellBonus(Caster, 4, 5)

Evidence: server/Spells/Apperception.lua:10; binding EQ2Emu_lua_AddSpellBonus.

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