Symbol: rand_percent
games/rogue/hit.c
138
if (!rand_percent(hit_chance)) {
games/rogue/hit.c
90
if (!rand_percent(hit_chance)) {
games/rogue/level.c
158
if (rand_percent(8)) {
games/rogue/level.c
161
big_room = ((party_room != NO_ROOM) && rand_percent(1));
games/rogue/level.c
293
if ((rn != r1) && (rn != r2) && (rn != r3) && rand_percent(40)) {
games/rogue/level.c
354
} while (rand_percent(4));
games/rogue/level.c
421
if ((cur_level > 2) && rand_percent(HIDE_PERCENT)) {
games/rogue/level.c
464
if (rand_percent(HIDE_PERCENT)) {
games/rogue/level.c
498
if (rand_percent(maze_percent)) {
games/rogue/level.c
657
if (rand_percent(20)) {
games/rogue/monster.c
334
rand_percent(((stealthy > 0) ?
games/rogue/monster.c
590
if (rand_percent(wake_percent)) {
games/rogue/monster.c
773
} else if (rand_percent(15)) {
games/rogue/monster.c
797
if (!rand_percent(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
games/rogue/monster.c
800
if (rand_percent(10)) {
games/rogue/move.c
101
if (rand_percent(R_TELE_PERCENT)) {
games/rogue/move.c
399
if (rand_percent(40)) {
games/rogue/object.c
186
while (rand_percent(33)) {
games/rogue/object.c
213
if (is_maze || rand_percent(GOLD_PERCENT)) {
games/rogue/object.c
606
if (force_ration || rand_percent(80)) {
games/rogue/object.c
667
n = rand_percent(99) ? party_objects(party_room) : 11;
games/rogue/object.c
668
if (rand_percent(99)) {
games/rogue/rogue.h
585
int rand_percent(int);
games/rogue/spec_hit.c
128
if (rand_percent(12)) {
games/rogue/spec_hit.c
144
if (rand_percent(freeze_percent)) {
games/rogue/spec_hit.c
160
if ((rogue.gold <= 0) || rand_percent(10)) {
games/rogue/spec_hit.c
183
if (rand_percent(15)) {
games/rogue/spec_hit.c
260
if (!rand_percent((int)monster->drop_percent)) {
games/rogue/spec_hit.c
404
if (rand_percent(sting_chance)) {
games/rogue/spec_hit.c
417
if (rand_percent(80) || (rogue.exp <= 5)) {
games/rogue/spec_hit.c
437
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
75
if ((monster->m_flags & CONFUSED) && rand_percent(66)) {
games/rogue/throw.c
151
if (!rand_percent(hit_chance)) {
games/rogue/trap.c
122
if ((!sustain_strength) && rand_percent(40) &&
games/rogue/trap.c
259
if (rand_percent(17 + (rogue.exp + ring_exp))) {
games/rogue/trap.c
99
if (rand_percent(rogue.exp + ring_exp)) {
games/rogue/use.c
414
if ((obj->which_kind == FRUIT) || rand_percent(60)) {
games/rogue/zap.c
335
if (rand_percent(33)) {
games/rogue/zap.c
358
if (rand_percent(33)) {
games/rogue/zap.c
375
if (rand_percent(10 + (3 * get_armor_class(rogue.armor)))) {