rand_num

dw_fluffos_v1/lib/doc/creator/autodoc/obj/monster/rand_num · 558 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

.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

Site Stats

Snippets: 1791
Codebases: 571