Lua functions

GetLootDropType

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

Historical signature: GetLootDropType(spawn)

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

Function: GetLootDropType(spawn)

Description: Get the loot drop type of the spawn. Return is: 0 - default drop all chest type as a group, 1 - this is a primary mob it drops its own loot

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: UInt32 value of the loot drop type

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

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