Searched refs:attk (Results 1 - 10 of 10) sorted by relevance
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | artifact.h | 15 #define SPFX_ATTK 0x0000040L /* item has a special attack (attk) */ 45 struct attack attk, defn, cary; member in struct:artifact
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | artifact.h | 15 #define SPFX_ATTK 0x0000040L /* item has a special attack (attk) */ 45 struct attack attk, defn, cary; member in struct:artifact
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | artifact.c | 320 return((boolean)(weap->attk.adtyp == adtyp)); 570 return(weap->attk.adtyp == AD_PHYS); 593 defends((int)weap->attk.adtyp, defending_weapon)) 595 switch(weap->attk.adtyp) { 639 if (weap && weap->attk.damn && spec_applies(weap, mon)) 640 return rnd((int)weap->attk.damn); 653 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 654 weap->attk.damn == 0 && weap->attk.damd == 0)) 660 return weap->attk [all...] |
H A D | mhitu.c | 276 struct attack *attk = &mptr->mattk[indx]; local 282 (attk->adtyp == AD_DISE || 283 attk->adtyp == AD_PEST || 284 attk->adtyp == AD_FAMN) && 285 attk->adtyp == mptr->mattk[indx - 1].adtyp) { 286 *alt_attk_buf = *attk; 287 attk = alt_attk_buf; 288 attk->adtyp = AD_STUN; 290 return attk; 704 hurtarmor(attk) [all...] |
H A D | mhitm.c | 201 attk, /* attack attempted this time */ local 254 attk = 1; 328 attk = 0; 355 attk = 0; 359 if (attk && !(res[i] & MM_AGR_DIED))
|
H A D | uhitm.c | 35 hurtmarmor(mdef, attk) 37 int attk; 42 switch(attk) {
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | artifact.c | 320 return((boolean)(weap->attk.adtyp == adtyp)); 570 return(weap->attk.adtyp == AD_PHYS); 593 defends((int)weap->attk.adtyp, defending_weapon)) 595 switch(weap->attk.adtyp) { 639 if (weap && weap->attk.damn && spec_applies(weap, mon)) 640 return rnd((int)weap->attk.damn); 653 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 654 weap->attk.damn == 0 && weap->attk.damd == 0)) 660 return weap->attk [all...] |
H A D | mhitu.c | 276 struct attack *attk = &mptr->mattk[indx]; local 282 (attk->adtyp == AD_DISE || 283 attk->adtyp == AD_PEST || 284 attk->adtyp == AD_FAMN) && 285 attk->adtyp == mptr->mattk[indx - 1].adtyp) { 286 *alt_attk_buf = *attk; 287 attk = alt_attk_buf; 288 attk->adtyp = AD_STUN; 290 return attk; 704 hurtarmor(attk) [all...] |
H A D | mhitm.c | 201 attk, /* attack attempted this time */ local 254 attk = 1; 328 attk = 0; 355 attk = 0; 359 if (attk && !(res[i] & MM_AGR_DIED))
|
H A D | uhitm.c | 35 hurtmarmor(mdef, attk) 37 int attk; 42 switch(attk) {
|
Completed in 112 milliseconds