Searched refs:A_STR (Results 1 - 25 of 54) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dattrib.h10 #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 Dattrib.h10 #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 Dattrib.c158 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 Dbotl.c200 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 Dmhitu.c930 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 Dlock.c142 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 Ddokick.c1003 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 Dpray.c147 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 Dpolyself.c403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100);
579 exercise(A_STR, FALSE);
1291 exercise(A_STR, TRUE);
H A Dsit.c83 exercise(A_STR, FALSE);
H A Dpotion.c432 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 Dread.c680 exercise(A_STR, !sobj->cursed);
789 exercise(A_STR, FALSE);
800 exercise(A_STR, FALSE);
1313 exercise(A_STR, FALSE);
H A Dball.c777 exercise(A_STR, FALSE);
784 exercise(A_STR, FALSE);
H A Dmthrowu.c84 exercise(A_STR, FALSE);
389 poisoned(onmbuf, A_STR, knmbuf, -10);
H A Dweapon.c692 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 Dattrib.c158 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 Dbotl.c200 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 Dmhitu.c930 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 Dlock.c142 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 Ddokick.c1003 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 Dpray.c147 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 Dpolyself.c403 if(strongmonst(&mons[mntmp])) ABASE(A_STR) = AMAX(A_STR) = STR18(100);
579 exercise(A_STR, FALSE);
1291 exercise(A_STR, TRUE);
H A Dsit.c83 exercise(A_STR, FALSE);
H A Dpotion.c432 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 Dread.c680 exercise(A_STR, !sobj->cursed);
789 exercise(A_STR, FALSE);
800 exercise(A_STR, FALSE);
1313 exercise(A_STR, FALSE);

Completed in 115 milliseconds

123