1
0
EQ2Emu/docs/lua_functions/AddLootCoin.md
2025-05-06 12:21:14 -04:00

388 B

Function: AddLootCoin(Spawn, Amount)

Description: Adds coin to the Spawn's loot table for the current instance when they die.

Parameters:

  • Spawn: Spawn - The spawn or entity to add loot coin.
  • Amount: int32 - Amount in copper.

Returns: None.

Example:

-- Example usage: Add 50 copper to Spawn's loot table for when it dies.
AddLootCoin(Spawn, 50)