OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rand_percent
(Results
1 - 12
of
12
) sorted by relevancy
/src/games/rogue/
spec_hit.c
75
if ((monster->m_flags & CONFUSED) &&
rand_percent
(66)) {
128
if (
rand_percent
(12)) {
144
if (
rand_percent
(freeze_percent)) {
160
if ((rogue.gold <= 0) ||
rand_percent
(10)) {
183
if (
rand_percent
(15)) {
260
if (!
rand_percent
((int)monster->drop_percent)) {
404
if (
rand_percent
(sting_chance)) {
417
if (
rand_percent
(80) || (rogue.exp <= 5)) {
437
if (
rand_percent
(60) || (rogue.hp_max <= 30) || (rogue.hp_current < 10)) {
467
if (
rand_percent
(45))
[
all
...]
random.c
137
rand_percent
(int percentage)
function in typeref:typename:int
trap.c
99
if (
rand_percent
(rogue.exp + ring_exp)) {
122
if ((!sustain_strength) &&
rand_percent
(40) &&
259
if (
rand_percent
(17 + (rogue.exp + ring_exp))) {
zap.c
335
if (
rand_percent
(33)) {
358
if (
rand_percent
(33)) {
375
if (
rand_percent
(10 + (3 * get_armor_class(rogue.armor)))) {
level.c
158
if (
rand_percent
(8)) {
161
big_room = ((party_room != NO_ROOM) &&
rand_percent
(1));
293
if ((rn != r1) && (rn != r2) && (rn != r3) &&
rand_percent
(40)) {
354
} while (
rand_percent
(4));
421
if ((cur_level > 2) &&
rand_percent
(HIDE_PERCENT)) {
464
if (
rand_percent
(HIDE_PERCENT)) {
498
if (
rand_percent
(maze_percent)) {
657
if (
rand_percent
(20)) {
object.c
186
while (
rand_percent
(33)) {
213
if (is_maze ||
rand_percent
(GOLD_PERCENT)) {
606
if (force_ration ||
rand_percent
(80)) {
667
n =
rand_percent
(99) ? party_objects(party_room) : 11;
668
if (
rand_percent
(99)) {
hit.c
90
if (!
rand_percent
(hit_chance)) {
138
if (!
rand_percent
(hit_chance)) {
monster.c
334
rand_percent
(((stealthy > 0) ?
590
if (
rand_percent
(wake_percent)) {
773
} else if (
rand_percent
(15)) {
797
if (!
rand_percent
(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
800
if (
rand_percent
(10)) {
move.c
101
if (
rand_percent
(R_TELE_PERCENT)) {
399
if (
rand_percent
(40)) {
throw.c
151
if (!
rand_percent
(hit_chance)) {
use.c
414
if ((obj->which_kind == FRUIT) ||
rand_percent
(60)) {
rogue.h
585
int
rand_percent
(int);
Completed in 17 milliseconds
Indexes created Mon Oct 20 11:09:49 GMT 2025