Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. local random_chances = {}
  2.  
  3. for i = 1, 20 do
  4. math.randomseed(os.time + (math.random(10000000))
  5. random_chances[1] = math.random(catch_chance)
  6. end
  7.  
  8. local monster_chance = random_chances[math.random(20)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement