Searched refs:mhpmax (Results 1 - 9 of 9) sorted by relevance

/netbsd-6-1-5-RELEASE/games/hack/
H A Ddef.monst.h74 schar mhp,mhpmax; member in struct:monst
H A Dhack.potion.c327 if (mon->mhp < mon->mhpmax) {
328 mon->mhp = mon->mhpmax;
333 if (mon->mhpmax > 3)
334 mon->mhpmax /= 2;
H A Dhack.makemon.c129 mtmp->mhpmax = mtmp->mhp = 80;
131 mtmp->mhpmax = mtmp->mhp = rnd(4);
133 mtmp->mhpmax = mtmp->mhp = d(ptr->mlevel, 8);
H A Dhack.fight.c120 magr->mhpmax += 3;
128 magr->mhpmax += 1 + rn2(pd->mlevel + 1);
129 if (magr->mtame && magr->mhpmax > 8 * pa->mlevel) {
430 if (!rn2(25) && mtmp->mhp < mtmp->mhpmax / 2) {
H A Dhack.lev.c260 if (newhp > mtmp->mhpmax)
261 mtmp->mhp = mtmp->mhpmax;
H A Dhack.worm.c132 mtmp->mhpmax += 3;
154 mtmp->mhp -= 3; /* mhpmax not changed ! */
254 mtmp2->mhpmax = mtmp2->mhp =
H A Dhack.dog.c214 mtmp->mhpmax /= 3;
215 if (mtmp->mhp > mtmp->mhpmax)
216 mtmp->mhp = mtmp->mhpmax;
H A Dhack.mon.c246 mtmp->mhp < mtmp->mhpmax)
282 && mtmp->mhp == mtmp->mhpmax && !rn2(25))
969 hpn = mtmp->mhpmax;
970 mtmp->mhpmax = 2 + (hpn * mhp) / hpd;
H A Dhack.pri.c787 mtmp->data->mlevel, mtmp->mgold, mtmp->mhp, mtmp->mhpmax,

Completed in 67 milliseconds