Symbol: rand_percent
games/rogue/hit.c
132
if (!rand_percent(hit_chance)) {
games/rogue/hit.c
82
if (!rand_percent(hit_chance)) {
games/rogue/level.c
150
if (rand_percent(8)) {
games/rogue/level.c
153
big_room = ((party_room != NO_ROOM) && rand_percent(1));
games/rogue/level.c
286
if ((rn != r1) && (rn != r2) && (rn != r3) && rand_percent(40)) {
games/rogue/level.c
347
} while (rand_percent(4));
games/rogue/level.c
414
if ((cur_level > 2) && rand_percent(HIDE_PERCENT)) {
games/rogue/level.c
457
if (rand_percent(HIDE_PERCENT)) {
games/rogue/level.c
491
if (rand_percent(maze_percent)) {
games/rogue/level.c
650
if (rand_percent(20)) {
games/rogue/monster.c
313
rand_percent(((stealthy > 0) ?
games/rogue/monster.c
569
if (rand_percent(wake_percent)) {
games/rogue/monster.c
750
} else if (rand_percent(15)) {
games/rogue/monster.c
774
if (!rand_percent(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
games/rogue/monster.c
777
if (rand_percent(10)) {
games/rogue/move.c
395
if (rand_percent(40)) {
games/rogue/move.c
93
if (rand_percent(R_TELE_PERCENT)) {
games/rogue/object.c
173
while (rand_percent(33)) {
games/rogue/object.c
200
if (is_maze || rand_percent(GOLD_PERCENT)) {
games/rogue/object.c
587
if (force_ration || rand_percent(80)) {
games/rogue/object.c
648
n = rand_percent(99) ? party_objects(party_room) : 11;
games/rogue/object.c
649
if (rand_percent(99)) {
games/rogue/rogue.h
598
boolean rand_percent(int);
games/rogue/spec_hit.c
120
if (rand_percent(12)) {
games/rogue/spec_hit.c
136
if (rand_percent(freeze_percent)) {
games/rogue/spec_hit.c
152
if ((rogue.gold <= 0) || rand_percent(10)) {
games/rogue/spec_hit.c
175
if (rand_percent(15)) {
games/rogue/spec_hit.c
253
if (!rand_percent((int)monster->drop_percent)) {
games/rogue/spec_hit.c
401
if (rand_percent(sting_chance)) {
games/rogue/spec_hit.c
415
if (rand_percent(80) || (rogue.exp <= 5)) {
games/rogue/spec_hit.c
435
if (rand_percent(60) || (rogue.hp_max <= 30) || (rogue.hp_current < 10)) {
games/rogue/spec_hit.c
467
if (rand_percent(45)) {
games/rogue/spec_hit.c
471
if (rand_percent(55)) {
games/rogue/spec_hit.c
67
if ((monster->m_flags & CONFUSED) && rand_percent(66)) {
games/rogue/throw.c
143
if (!rand_percent(hit_chance)) {
games/rogue/trap.c
114
if ((!sustain_strength) && rand_percent(40) &&
games/rogue/trap.c
251
if (rand_percent(17 + (rogue.exp + ring_exp))) {
games/rogue/trap.c
91
if (rand_percent(rogue.exp + ring_exp)) {
games/rogue/use.c
413
if ((obj->which_kind == FRUIT) || rand_percent(60)) {
games/rogue/zap.c
328
if (rand_percent(33)) {
games/rogue/zap.c
351
if (rand_percent(33)) {
games/rogue/zap.c
368
if (rand_percent(10 + (3 * get_armor_class(rogue.armor)))) {