Searched refs:mon_weight (Results 1 – 1 of 1) sorted by relevance
5307 int mon_weight = 1; in choose_random_nearby_monster() local5310 mon_weight += mon->is_named() + mon->is_priest(); in choose_random_nearby_monster()5312 if (x_chance_in_y(mon_weight, weight += mon_weight)) in choose_random_nearby_monster()5331 int mon_weight = 1; in choose_random_monster_on_level() local5334 mon_weight += mon->is_named() + mon->is_priest(); in choose_random_monster_on_level()5336 if (x_chance_in_y(mon_weight, weight += mon_weight)) in choose_random_monster_on_level()