Lua functions

SetLootCoin

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

Historical signature: SetLootCoin(spawn, val)

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

Function: SetLootCoin(spawn, val)

Description: Sets the Spawn's loot drop of coin in copper.

Parameters:

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

Returns: None.

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.