Lua functions

DamageEquippedItems

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

Historical signature: DamageEquippedItems(spawn, damage_amount)

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

Function: DamageEquippedItems(spawn, damage_amount)

Description: Cause a percentage based amount of damage to equipped items. damage_amount 5 = 5%

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • damage_amount (uint32) - Quantity damage_amount.

Returns: None.

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.