Searched refs:attack (Results 1 - 25 of 36) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dpermonst.h8 /* This structure covers all attack forms.
9 * aatyp is the gross attack type (eg. claw, bite, breath, ...)
11 * damn is the number of hit dice of damage from the attack.
17 * for a blinding attack, they determine the amount of time blinded.
20 struct attack { struct
50 struct attack mattk[NATTK]; /* attacks matrix */
H A Dartifact.h15 #define SPFX_ATTK 0x0000040L /* item has a special attack (attk) */
29 #define SPFX_DMONS 0x0100000L /* attack bonus on one monster type */
30 #define SPFX_DCLAS 0x0200000L /* attack bonus on monsters w/ symbol mtype */
31 #define SPFX_DFLAG1 0x0400000L /* attack bonus on monsters w/ mflags1 flag */
32 #define SPFX_DFLAG2 0x0800000L /* attack bonus on monsters w/ mflags2 flag */
33 #define SPFX_DALIGN 0x1000000L /* attack bonus on non-aligned monsters */
34 #define SPFX_DBONUS 0x1F00000L /* attack bonus mask */
45 struct attack attk, defn, cary;
H A Dextern.h949 E int FDECL(castmu, (struct monst *,struct attack *,BOOLEAN_P,BOOLEAN_P));
950 E int FDECL(buzzmu, (struct monst *,struct attack *));
963 E const char *FDECL(mpoisons_subj, (struct monst *,struct attack *));
967 E struct attack *FDECL(getmattk, (struct permonst *,int,int *,struct attack *));
970 E int FDECL(gazemu, (struct monst *,struct attack *));
972 E int FDECL(could_seduce, (struct monst *,struct monst *,struct attack *));
1158 E struct attack *FDECL(attacktype_fordmg, (struct permonst *,int,int));
1174 E struct attack *FDECL(dmgtype_fromattack, (struct permonst *,int,int));
1186 E const char *FDECL(on_fire, (struct permonst *,struct attack *));
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dpermonst.h8 /* This structure covers all attack forms.
9 * aatyp is the gross attack type (eg. claw, bite, breath, ...)
11 * damn is the number of hit dice of damage from the attack.
17 * for a blinding attack, they determine the amount of time blinded.
20 struct attack { struct
50 struct attack mattk[NATTK]; /* attacks matrix */
H A Dartifact.h15 #define SPFX_ATTK 0x0000040L /* item has a special attack (attk) */
29 #define SPFX_DMONS 0x0100000L /* attack bonus on one monster type */
30 #define SPFX_DCLAS 0x0200000L /* attack bonus on monsters w/ symbol mtype */
31 #define SPFX_DFLAG1 0x0400000L /* attack bonus on monsters w/ mflags1 flag */
32 #define SPFX_DFLAG2 0x0800000L /* attack bonus on monsters w/ mflags2 flag */
33 #define SPFX_DALIGN 0x1000000L /* attack bonus on non-aligned monsters */
34 #define SPFX_DBONUS 0x1F00000L /* attack bonus mask */
45 struct attack attk, defn, cary;
H A Dextern.h949 E int FDECL(castmu, (struct monst *,struct attack *,BOOLEAN_P,BOOLEAN_P));
950 E int FDECL(buzzmu, (struct monst *,struct attack *));
963 E const char *FDECL(mpoisons_subj, (struct monst *,struct attack *));
967 E struct attack *FDECL(getmattk, (struct permonst *,int,int *,struct attack *));
970 E int FDECL(gazemu, (struct monst *,struct attack *));
972 E int FDECL(could_seduce, (struct monst *,struct monst *,struct attack *));
1158 E struct attack *FDECL(attacktype_fordmg, (struct permonst *,int,int));
1174 E struct attack *FDECL(dmgtype_fromattack, (struct permonst *,int,int));
1186 E const char *FDECL(on_fire, (struct permonst *,struct attack *));
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dmhitm.c22 STATIC_DCL int FDECL(hitmm, (struct monst *,struct monst *,struct attack *));
23 STATIC_DCL int FDECL(gazemm, (struct monst *,struct monst *,struct attack *));
24 STATIC_DCL int FDECL(gulpmm, (struct monst *,struct monst *,struct attack *));
25 STATIC_DCL int FDECL(explmm, (struct monst *,struct monst *,struct attack *));
26 STATIC_DCL int FDECL(mdamagem, (struct monst *,struct monst *,struct attack *));
28 STATIC_DCL void FDECL(noises,(struct monst *,struct attack *));
29 STATIC_DCL void FDECL(missmm,(struct monst *,struct monst *,struct attack *));
58 register struct attack *mattk;
75 struct attack *mattk;
99 * 1 - If the monster made an attack
[all...]
H A Dmondata.c32 struct attack *
37 struct attack *a;
43 return (struct attack *)0;
132 /* TRUE iff monster can be blinded by the given attack */
133 /* Note: may return TRUE when mdef is blind (e.g. new cream-pie attack) */
219 ranged_attk(ptr) /* returns TRUE if monster can attack at range */
326 struct attack *
331 struct attack *a;
337 return (struct attack *)0;
715 /* return a phrase describing the effect of fire attack o
[all...]
H A Dmhitu.c12 STATIC_DCL boolean FDECL(u_slip_free, (struct monst *,struct attack *));
13 STATIC_DCL int FDECL(passiveum, (struct permonst *,struct monst *,struct attack *));
23 STATIC_DCL int FDECL(hitmu, (struct monst *,struct attack *));
24 STATIC_DCL int FDECL(gulpmu, (struct monst *,struct attack *));
25 STATIC_DCL int FDECL(explmu, (struct monst *,struct attack *,BOOLEAN_P));
26 STATIC_DCL void FDECL(missmu,(struct monst *,BOOLEAN_P,struct attack *));
28 STATIC_DCL void FDECL(wildmiss, (struct monst *,struct attack *));
31 STATIC_DCL void FDECL(hitmsg,(struct monst *,struct attack *));
43 register struct attack *mattk;
89 register struct attack *matt
[all...]
H A Duhitm.c7 STATIC_DCL boolean FDECL(known_hitum, (struct monst *,int *,struct attack *));
8 STATIC_DCL void FDECL(steal_it, (struct monst *, struct attack *));
9 STATIC_DCL boolean FDECL(hitum, (struct monst *,int,struct attack *));
15 STATIC_DCL boolean FDECL(m_slips_free, (struct monst *mtmp,struct attack *mattk));
16 STATIC_DCL int FDECL(explum, (struct monst *,struct attack *));
19 STATIC_DCL int FDECL(gulpum, (struct monst *,struct attack *));
95 /* FALSE means it's OK to attack */
99 struct obj *wep; /* uwep for attack(), null for kick_monster() */
103 /* if you're close enough to attack, alert any waiting monster */
202 Sprintf(qbuf, "Really attack
293 attack(mtmp) function
[all...]
H A Dmcastu.c164 register struct attack *mattk;
177 * -- monster isn't trying to attack. Select a spell once. Don't keep
193 /* not trying to attack? don't allow directed spells */
232 if(rn2(ml*10) < (mtmp->mconf ? 100 : 20)) { /* fumbled attack */
762 register struct attack *mattk;
H A Dmthrowu.c126 passive_obj(mtmp, obj, (struct attack *)0);
483 /* monster attempts ranged weapon attack against player */
620 register struct attack *mattk;
638 impossible("bad attack type in spitmu");
662 register struct attack *mattk;
721 lined_up(mtmp) /* is mtmp in position to use ranged attack? */
H A Ddig.c873 if (u.uswallow && attack(u.ustuck)) {
903 if(MON_AT(rx, ry) && attack(m_at(rx, ry)))
H A Dsounds.c725 could_seduce(mtmp, &youmonst, (struct attack *)0) == 1) {
H A Dpolyself.c742 struct attack *mattk;
759 impossible("bad breath attack?"); /* mouthwash needed... */
813 impossible("Swallower has no engulfing attack?");
940 impossible("gaze attack %d?", adtyp);
975 (adtyp == AD_CONF) ? "confuse" : "attack",
997 You("attack %s with a fiery gaze!", mon_nam(mtmp));
1029 * the Medusa gaze is an active monster attack that only
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dmhitm.c22 STATIC_DCL int FDECL(hitmm, (struct monst *,struct monst *,struct attack *));
23 STATIC_DCL int FDECL(gazemm, (struct monst *,struct monst *,struct attack *));
24 STATIC_DCL int FDECL(gulpmm, (struct monst *,struct monst *,struct attack *));
25 STATIC_DCL int FDECL(explmm, (struct monst *,struct monst *,struct attack *));
26 STATIC_DCL int FDECL(mdamagem, (struct monst *,struct monst *,struct attack *));
28 STATIC_DCL void FDECL(noises,(struct monst *,struct attack *));
29 STATIC_DCL void FDECL(missmm,(struct monst *,struct monst *,struct attack *));
58 register struct attack *mattk;
75 struct attack *mattk;
99 * 1 - If the monster made an attack
[all...]
H A Dmondata.c32 struct attack *
37 struct attack *a;
43 return (struct attack *)0;
132 /* TRUE iff monster can be blinded by the given attack */
133 /* Note: may return TRUE when mdef is blind (e.g. new cream-pie attack) */
219 ranged_attk(ptr) /* returns TRUE if monster can attack at range */
326 struct attack *
331 struct attack *a;
337 return (struct attack *)0;
715 /* return a phrase describing the effect of fire attack o
[all...]
H A Dmhitu.c12 STATIC_DCL boolean FDECL(u_slip_free, (struct monst *,struct attack *));
13 STATIC_DCL int FDECL(passiveum, (struct permonst *,struct monst *,struct attack *));
23 STATIC_DCL int FDECL(hitmu, (struct monst *,struct attack *));
24 STATIC_DCL int FDECL(gulpmu, (struct monst *,struct attack *));
25 STATIC_DCL int FDECL(explmu, (struct monst *,struct attack *,BOOLEAN_P));
26 STATIC_DCL void FDECL(missmu,(struct monst *,BOOLEAN_P,struct attack *));
28 STATIC_DCL void FDECL(wildmiss, (struct monst *,struct attack *));
31 STATIC_DCL void FDECL(hitmsg,(struct monst *,struct attack *));
43 register struct attack *mattk;
89 register struct attack *matt
[all...]
H A Duhitm.c7 STATIC_DCL boolean FDECL(known_hitum, (struct monst *,int *,struct attack *));
8 STATIC_DCL void FDECL(steal_it, (struct monst *, struct attack *));
9 STATIC_DCL boolean FDECL(hitum, (struct monst *,int,struct attack *));
15 STATIC_DCL boolean FDECL(m_slips_free, (struct monst *mtmp,struct attack *mattk));
16 STATIC_DCL int FDECL(explum, (struct monst *,struct attack *));
19 STATIC_DCL int FDECL(gulpum, (struct monst *,struct attack *));
95 /* FALSE means it's OK to attack */
99 struct obj *wep; /* uwep for attack(), null for kick_monster() */
103 /* if you're close enough to attack, alert any waiting monster */
202 Sprintf(qbuf, "Really attack
293 attack(mtmp) function
[all...]
H A Dmcastu.c164 register struct attack *mattk;
177 * -- monster isn't trying to attack. Select a spell once. Don't keep
193 /* not trying to attack? don't allow directed spells */
232 if(rn2(ml*10) < (mtmp->mconf ? 100 : 20)) { /* fumbled attack */
762 register struct attack *mattk;
H A Dmthrowu.c126 passive_obj(mtmp, obj, (struct attack *)0);
483 /* monster attempts ranged weapon attack against player */
620 register struct attack *mattk;
638 impossible("bad attack type in spitmu");
662 register struct attack *mattk;
721 lined_up(mtmp) /* is mtmp in position to use ranged attack? */
H A Ddig.c873 if (u.uswallow && attack(u.ustuck)) {
903 if(MON_AT(rx, ry) && attack(m_at(rx, ry)))
H A Dsounds.c725 could_seduce(mtmp, &youmonst, (struct attack *)0) == 1) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex711 Engraving the word ``{\tt Elbereth}'' will cause most monsters to not attack
712 you hand-to-hand (but if you attack, you will rub it out); this is
1265 you attack them. Some of them are very dangerous when angered.
1273 if the monster has moved, you will attack empty air. If you guess
1431 attack them, or throw it at them. You can simply elect to throw a spear.
1445 The chance that an attack will successfully hit a monster, and the amount
1953 attack against a monster is equivalent to eating the monster's corpse.
2590 attack to which it is resistant (default on).
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex711 Engraving the word ``{\tt Elbereth}'' will cause most monsters to not attack
712 you hand-to-hand (but if you attack, you will rub it out); this is
1265 you attack them. Some of them are very dangerous when angered.
1273 if the monster has moved, you will attack empty air. If you guess
1431 attack them, or throw it at them. You can simply elect to throw a spear.
1445 The chance that an attack will successfully hit a monster, and the amount
1953 attack against a monster is equivalent to eating the monster's corpse.
2590 attack to which it is resistant (default on).

Completed in 201 milliseconds

12