Sly 2:Pickpocketing: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) No edit summary |
TheOnlyZac (talk | contribs) m (→Items: Fixed typo) |
||
Line 40: | Line 40: | ||
# Sum up the total odds for all items in the loot table |
# Sum up the total odds for all items in the loot table |
||
# Select a random |
# Select a random value between 0 and the max odds |
||
# For each item in the loot table: |
# For each item in the loot table: |
||
## If the random value is greater than the current total odds, set the item to that item |
## If the random value is greater than the current total odds, set the item to that item |