Method Loot:AddItem [-] [+]

Adds an Item to the Loot with specified parameters

Synopsis

Loot:AddItem( itemid, chance, needs_quest, loot_mode, groupid, min_count, max_count )

Arguments

number itemid

Valid numbers: integers from 0 to 4,294,967,295.

number chance

Valid numbers: all decimal numbers.

boolean needs_quest (false)
See method description.
number loot_mode

Valid numbers: integers from 0 to 65,535.

number groupid

Valid numbers: integers from 0 to 255.

number min_count

Valid numbers: integers from 0 to 255.

number max_count

Valid numbers: integers from 0 to 255.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine