Swamp Slogger
Posts: 165
Joined: Thursday, 23rd December 2010, 03:28
maybe_random2()
I'm trying to understand fight.cc, and all the to_hit functionality is calling this function. It's clearly not just random between a minimum and a maximum. Can anyone explain how maybe_random2() works (or direct me to where it is in the code)?
For instance:
For instance: