Function: GetAgi(spawn)
Description: Return's the current agility of the Spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: SInt32 value of the Spawn's agility.
GetAgiRegistered in this checkout as EQ2Emu_lua_GetAgi; implementation found at WorldServer/Lua/LuaFunctions.cpp:3911.
Historical signature: GetAgi(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Return's the current agility of the Spawn.
Parameters:
spawn (Spawn) - Spawn object representing spawn.Returns: SInt32 value of the Spawn's agility.
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.
StatBonus = GetAgi(Caster) / 10
Evidence: server/Spells/Scout/Bard/SingingShot.lua:23; binding EQ2Emu_lua_GetAgi.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.