/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | attrib.h | 10 #define A_STR 0 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 D | attrib.h | 10 #define A_STR 0 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 D | attrib.c | 158 if (moves > 1 && (ndx == A_STR || ndx == A_CON)) 172 if(ABASE(A_STR) < 18) num = (rn2(4) ? 1 : rnd(6) ); 173 else if (ABASE(A_STR) < STR18(85)) num = rnd(10); 175 (void) adjattrib(A_STR, (otmp && otmp->cursed) ? -num : num, TRUE); 182 int ustr = ABASE(A_STR) - num; 195 (void) adjattrib(A_STR, -num, TRUE); 288 (i == A_STR) ? "Str" : (i == A_WIS) ? "Wis" : 293 if (moves > 0 && (i == A_STR || i == A_CON)) (void)encumber_msg(); 325 case WEAK: exercise(A_STR, FALSE); 338 case MOD_ENCUMBER: exercise(A_STR, TRU [all...] |
H A D | botl.c | 200 if (ACURR(A_STR) > 18) { 201 if (ACURR(A_STR) > STR18(100)) 202 Sprintf(nb = eos(nb),"St:%2d ",ACURR(A_STR)-100); 203 else if (ACURR(A_STR) < STR18(100)) 204 Sprintf(nb = eos(nb), "St:18/%02d ",ACURR(A_STR)-18); 208 Sprintf(nb = eos(nb), "St:%-1d ",ACURR(A_STR));
|
H A D | mhitu.c | 930 exercise(A_STR, FALSE); 960 if (dmg > 1) exercise(A_STR, FALSE); 1044 ptmp = A_STR; 1175 exercise(A_STR, FALSE); 1405 if (!rn2(3)) exercise(A_STR, TRUE); 1458 exercise(A_STR, FALSE); 1713 exercise(A_STR, FALSE); 1727 exercise(A_STR, FALSE); 1737 exercise(A_STR, FALSE); 2314 exercise(A_STR, FALS [all...] |
H A D | lock.c | 142 exercise((xlock.picktyp) ? A_DEX : A_STR, TRUE); 207 exercise((xlock.picktyp) ? A_DEX : A_STR, TRUE); 576 exercise(A_STR, TRUE); 692 exercise(A_STR, TRUE);
|
H A D | dokick.c | 1003 exercise(A_STR, FALSE); 1031 exercise(A_STR, FALSE); 1051 exercise(A_STR, FALSE); 1054 } else if(ACURR(A_STR) > 18 && !rn2(5) && !shopdoor) { 1056 exercise(A_STR, TRUE); 1060 exercise(A_STR, TRUE); 1090 exercise(A_STR, TRUE);
|
H A D | pray.c | 147 if(near_capacity() >= EXT_ENCUMBER && AMAX(A_STR)-ABASE(A_STR) > 3) 331 ABASE(A_STR) = AMAX(A_STR); 929 ABASE(A_STR) = AMAX(A_STR);
|
H A D | polyself.c | 403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100); 579 exercise(A_STR, FALSE); 1291 exercise(A_STR, TRUE);
|
H A D | sit.c | 83 exercise(A_STR, FALSE);
|
H A D | potion.c | 432 if (i == A_STR && u.uhs >= 3) --lim; /* WEAK */ 800 exercise(A_STR, TRUE); 813 exercise(A_STR, TRUE); 1671 exercise(A_STR, FALSE);
|
H A D | read.c | 680 exercise(A_STR, !sobj->cursed); 789 exercise(A_STR, FALSE); 800 exercise(A_STR, FALSE); 1313 exercise(A_STR, FALSE);
|
H A D | ball.c | 777 exercise(A_STR, FALSE); 784 exercise(A_STR, FALSE);
|
H A D | mthrowu.c | 84 exercise(A_STR, FALSE); 389 poisoned(onmbuf, A_STR, knmbuf, -10);
|
H A D | weapon.c | 692 int str = ACURR(A_STR), dex = ACURR(A_DEX); 718 int str = ACURR(A_STR);
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | attrib.c | 158 if (moves > 1 && (ndx == A_STR || ndx == A_CON)) 172 if(ABASE(A_STR) < 18) num = (rn2(4) ? 1 : rnd(6) ); 173 else if (ABASE(A_STR) < STR18(85)) num = rnd(10); 175 (void) adjattrib(A_STR, (otmp && otmp->cursed) ? -num : num, TRUE); 182 int ustr = ABASE(A_STR) - num; 195 (void) adjattrib(A_STR, -num, TRUE); 288 (i == A_STR) ? "Str" : (i == A_WIS) ? "Wis" : 293 if (moves > 0 && (i == A_STR || i == A_CON)) (void)encumber_msg(); 325 case WEAK: exercise(A_STR, FALSE); 338 case MOD_ENCUMBER: exercise(A_STR, TRU [all...] |
H A D | botl.c | 200 if (ACURR(A_STR) > 18) { 201 if (ACURR(A_STR) > STR18(100)) 202 Sprintf(nb = eos(nb),"St:%2d ",ACURR(A_STR)-100); 203 else if (ACURR(A_STR) < STR18(100)) 204 Sprintf(nb = eos(nb), "St:18/%02d ",ACURR(A_STR)-18); 208 Sprintf(nb = eos(nb), "St:%-1d ",ACURR(A_STR));
|
H A D | mhitu.c | 930 exercise(A_STR, FALSE); 960 if (dmg > 1) exercise(A_STR, FALSE); 1044 ptmp = A_STR; 1175 exercise(A_STR, FALSE); 1405 if (!rn2(3)) exercise(A_STR, TRUE); 1458 exercise(A_STR, FALSE); 1713 exercise(A_STR, FALSE); 1727 exercise(A_STR, FALSE); 1737 exercise(A_STR, FALSE); 2314 exercise(A_STR, FALS [all...] |
H A D | lock.c | 142 exercise((xlock.picktyp) ? A_DEX : A_STR, TRUE); 207 exercise((xlock.picktyp) ? A_DEX : A_STR, TRUE); 576 exercise(A_STR, TRUE); 692 exercise(A_STR, TRUE);
|
H A D | dokick.c | 1003 exercise(A_STR, FALSE); 1031 exercise(A_STR, FALSE); 1051 exercise(A_STR, FALSE); 1054 } else if(ACURR(A_STR) > 18 && !rn2(5) && !shopdoor) { 1056 exercise(A_STR, TRUE); 1060 exercise(A_STR, TRUE); 1090 exercise(A_STR, TRUE);
|
H A D | pray.c | 147 if(near_capacity() >= EXT_ENCUMBER && AMAX(A_STR)-ABASE(A_STR) > 3) 331 ABASE(A_STR) = AMAX(A_STR); 929 ABASE(A_STR) = AMAX(A_STR);
|
H A D | polyself.c | 403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100); 579 exercise(A_STR, FALSE); 1291 exercise(A_STR, TRUE);
|
H A D | sit.c | 83 exercise(A_STR, FALSE);
|
H A D | potion.c | 432 if (i == A_STR && u.uhs >= 3) --lim; /* WEAK */ 800 exercise(A_STR, TRUE); 813 exercise(A_STR, TRUE); 1671 exercise(A_STR, FALSE);
|
H A D | read.c | 680 exercise(A_STR, !sobj->cursed); 789 exercise(A_STR, FALSE); 800 exercise(A_STR, FALSE); 1313 exercise(A_STR, FALSE);
|