Results 1 to 10 of 32

Threaded View

  1. #29
    Quote Originally Posted by BgSt View Post
    That's not how it works. Say for the sake of argument there's a 0.1% chance of a drop, and mt_getrandmax() is 2147483647. You call mt_rand() and if the result is < (2147483647/1000) then a girl drops. If you want to increase the chance of a drop you don't go "oh mt_rand() returned 9823625 I'll remember that number and if mt_rand() returns that again I'll get a new random number instead" you just increase the probability.
    It isn't something this game does, but it's quite a common thing. In systems that do use that, a 0.1% chance would be guaranteed to happen within every full set (assuming the sets size is 1000, then it would happen exactly once), but it would be at a random place in the set. This also has a very different effect compared to just increasing the probability, as it also limits the max amount of something you can have in a row. It's very important to have that kind of behavior in certain cases, like when simulating a deck of cards on the go. Also, both me and the other guy said the game doesn't do that, so I don't know why you're trying to argue that it doesn't do that...
    Last edited by soviras; 05-17-2017 at 07:39 PM.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •