Searched refs:STR18 (Results 1 - 12 of 12) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dattrib.h34 #define STR18(x) (18+(x)) /* 18/xx */ macro
41 #define ATTRMAX(x) ((x == A_STR && Upolyd && strongmonst(youmonst.data)) ? STR18(100) : urace.attrmax[x])
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dattrib.h34 #define STR18(x) (18+(x)) /* 18/xx */ macro
41 #define ATTRMAX(x) ((x == A_STR && Upolyd && strongmonst(youmonst.data)) ? STR18(100) : urace.attrmax[x])
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dbotl.c201 if (ACURR(A_STR) > STR18(100))
203 else if (ACURR(A_STR) < STR18(100))
H A Drole.c415 { STR18(100), 18, 18, 18, 18, 18 },
439 { STR18(100), 16, 16, 20, 20, 16 },
451 {STR18(50),19, 18, 18, 18, 18 },
463 {STR18(50),16, 16, 18, 18, 16 },
482 { STR18(100), 18, 18, 18, 18, 18 },
H A Dweapon.c698 else if (str <= STR18(50)) sbon = 1; /* up to 18/50 */
699 else if (str < STR18(100)) sbon = 2;
726 else if (str <= STR18(75)) return(3); /* up to 18/75 */
727 else if (str <= STR18(90)) return(4); /* up to 18/90 */
728 else if (str < STR18(100)) return(5); /* up to 18/99 */
H A Dattrib.c173 else if (ABASE(A_STR) < STR18(85)) num = rnd(10);
H A Dpolyself.c403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dbotl.c201 if (ACURR(A_STR) > STR18(100))
203 else if (ACURR(A_STR) < STR18(100))
H A Drole.c415 { STR18(100), 18, 18, 18, 18, 18 },
439 { STR18(100), 16, 16, 20, 20, 16 },
451 {STR18(50),19, 18, 18, 18, 18 },
463 {STR18(50),16, 16, 18, 18, 16 },
482 { STR18(100), 18, 18, 18, 18, 18 },
H A Dweapon.c698 else if (str <= STR18(50)) sbon = 1; /* up to 18/50 */
699 else if (str < STR18(100)) sbon = 2;
726 else if (str <= STR18(75)) return(3); /* up to 18/75 */
727 else if (str <= STR18(90)) return(4); /* up to 18/90 */
728 else if (str < STR18(100)) return(5); /* up to 18/99 */
H A Dattrib.c173 else if (ABASE(A_STR) < STR18(85)) num = rnd(10);
H A Dpolyself.c403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100);

Completed in 205 milliseconds