Method GameObject:AddLoot [-] [+]
Adds an Item to the loot of a GameObject Requires an gameobject with loot_template set to 0.
Synopsis
itemGUIDlow = GameObject:AddLoot( entry )
itemGUIDlow = GameObject:AddLoot( entry, amount )
Arguments
number amount (1)Amount of the Item to add to the loot.
Valid numbers: integers from 0 to 4,294,967,295.
Returns