View Single Post
  #8  
Old 02-24-2014, 09:36 AM
Mirana Mirana is offline
Kobold


Join Date: Nov 2010
Posts: 171
Default

So I'm at work Monday and just looking at all this code (I didn't look during the weekend, I was busy playing, duh).

I'm able to decipher bits and pieces of the code but it looks like there are variables that are referenced elsewhere in the code. It's like trying to read a book in Spanish when you only know half the language.

Does anyone know how floats work? Specifically these functions
float mit_roll = MakeRandomFloat(0, mit_rating);
float atk_roll = MakeRandomFloat(0, atk_rating);

MakeRandomFloat is some sort of function with the inputs of "0" and "mit_rating" or "atk_rating" which are calculated elsewhere. What does MakeRandomFloat do?

THAC0 stands for "To Hit AC 0" correct?
Last edited by Mirana; 02-24-2014 at 09:40 AM..