ItemPoolAddItemType

Parameters
whichItemPool itempool

The itempool to add the item to.

itemId integer

The rawcode of the item. An invalid itemId (like 0) can be added & rolled.

weight real

The weight of the item. The weight determines how likely it is for the item to be chose by PlaceRandomItem.

comment

Adds an item-id to the itempool.

return type
nothing
Source code
native ItemPoolAddItemType      takes itempool whichItemPool, integer itemId, real weight returns nothing
Source
random.j
wc3modding.com
ItemPoolAddItemType