Searched refs:mdat (Results 1 - 5 of 5) sorted by relevance

/netbsd-6-1-5-RELEASE/games/hack/
H A Dhack.mon.c235 const struct permonst *mdat; local
240 mdat = mtmp->data;
241 if (mdat->mlevel < 0)
242 panic("bad monster %c (%d)", mdat->mlet, mdat->mlevel);
245 if ((!(moves % 20) || strchr(MREGEN, mdat->mlet)) &&
257 (!Stealth || (mdat->mlet == 'e' && rn2(10))) &&
258 (!strchr("NL", mdat->mlet) || !rn2(50)) &&
259 (Aggravate_monster || strchr("d1", mdat->mlet)
273 if (mtmp->mflee && strchr("tNL", mdat
794 const struct permonst *mdat; local
941 newcham(struct monst *mtmp, const struct permonst *mdat) argument
[all...]
H A Dhack.mhitu.c79 const struct permonst *mdat = mtmp->data; local
87 if (mdat->mlet == 'c' && !rn2(13)) {
98 switch (mdat->mlet) { /* now mtmp == u.ustuck */
118 if (mdat->mlet == 'c' && Stoned)
122 if (mdat->mlet == ';' && mtmp->minvis && cansee(mtmp->mx, mtmp->my)) {
126 if (!strchr("1&DuxynNF", mdat->mlet))
127 tmp = hitu(mtmp, d(mdat->damn, mdat->damd));
130 if (strchr(UNDEAD, mdat->mlet) && midnight())
131 tmp += hitu(mtmp, d(mdat
[all...]
H A Dhack.fight.c350 const struct permonst *mdat; local
351 mdat = mtmp->data;
356 if (mdat->mlet == 'L' && !mtmp->mfroz && !mtmp->msleep &&
386 mdat->mname, doname(obj));
389 tmp = u.uluck + u.ulevel + mdat->ac + abon();
400 strchr("XDne", mdat->mlet))
443 if (mdat->mlet == 'a') {
454 if (malive && mdat->mlet == 'E' && canseemon(mtmp)
H A Dhack.dog.c195 const struct permonst *mdat = mtmp->data; local
370 if (mtmp2->data->mlevel >= mdat->mlevel + 2 ||
457 (void) hitu(mtmp, d(mdat->damn, mdat->damd) + 1);
H A Dhack.shk.c941 const struct permonst *mdat = shkp->data; local
957 (void) hitu(shkp, d(mdat->damn, mdat->damd) + 1);
1089 (void) hitu(shkp, d(mdat->damn, mdat->damd) + 1);

Completed in 205 milliseconds