Lua functions

GetLootCoin

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

Historical signature: GetLootCoin(spawn)

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

Function: GetLootCoin(spawn)

Description: Get the loot coin in copper assigned to the spawn.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: UInt32 in copper of the spawn's lootable coin.

Checked example

No checked example is published for this function yet. No suitable maintained runtime-script example passed the argument and source review.

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