rand_percent
if (!rand_percent(hit_chance)) {
if (!rand_percent(hit_chance)) {
if (rand_percent(8)) {
big_room = ((party_room != NO_ROOM) && rand_percent(1));
if ((rn != r1) && (rn != r2) && (rn != r3) && rand_percent(40)) {
} while (rand_percent(4));
if ((cur_level > 2) && rand_percent(HIDE_PERCENT)) {
if (rand_percent(HIDE_PERCENT)) {
if (rand_percent(maze_percent)) {
if (rand_percent(20)) {
rand_percent(((stealthy > 0) ?
if (rand_percent(wake_percent)) {
} else if (rand_percent(15)) {
if (!rand_percent(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
if (rand_percent(10)) {
if (rand_percent(R_TELE_PERCENT)) {
if (rand_percent(40)) {
while (rand_percent(33)) {
if (is_maze || rand_percent(GOLD_PERCENT)) {
if (force_ration || rand_percent(80)) {
n = rand_percent(99) ? party_objects(party_room) : 11;
if (rand_percent(99)) {
int rand_percent(int);
if (rand_percent(12)) {
if (rand_percent(freeze_percent)) {
if ((rogue.gold <= 0) || rand_percent(10)) {
if (rand_percent(15)) {
if (!rand_percent((int)monster->drop_percent)) {
if (rand_percent(sting_chance)) {
if (rand_percent(80) || (rogue.exp <= 5)) {
if (rand_percent(60) || (rogue.hp_max <= 30) || (rogue.hp_current < 10)) {
if (rand_percent(45)) {
if (rand_percent(55)) {
if ((monster->m_flags & CONFUSED) && rand_percent(66)) {
if (!rand_percent(hit_chance)) {
if ((!sustain_strength) && rand_percent(40) &&
if (rand_percent(17 + (rogue.exp + ring_exp))) {
if (rand_percent(rogue.exp + ring_exp)) {
if ((obj->which_kind == FRUIT) || rand_percent(60)) {
if (rand_percent(33)) {
if (rand_percent(33)) {
if (rand_percent(10 + (3 * get_armor_class(rogue.armor)))) {