Discuss this page on this page's Talk Page
See itmCreateRandom at Xelerus
Syntax | (itmCreateRandom criteria levelDistribution) → item |
---|---|
Arguments | criteria: A string representing the criteria of the item you want to create. |
levelDistribution: A formatted string specifying what rarity of items will appear at what level. | |
Returns | item: A itemStruct representing the randomly picked item. |
Category | create, item, random |
Description | Creates a random item matching the criteria and the string. |
Useful for creating a item at random.
(itmGetName (itmCreateRandom "s" "----- --c--"))
Returns the name of a random shield of level 8.
Return to Functions list