.DT rand_num DW_wibble creator help rand_num .SH Name .SP 5 5 rand_num - This method generates a random number. .EP .SH Syntax .SI 5 int rand_num(int no, int type) .EI .SH Parameters .SI 5 %^BOLD%^no%^RESET%^ - the number of times to roll the dice %^BOLD%^type%^RESET%^ - the size of the dice .EI .SH Returns .SI 5 the randomly generate number .EI .SH Defined in .SI 5 /obj/monster.c .EI .SH Description .SP 5 5 This method generates a random number. It used to setup the random stats. .EP .SH See also .SP 5 5 set_random_stats() .EP