Home
last modified time | relevance | path

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

/openbsd/src/games/hack/
Dhack.potion.c314 if(mon->mhp < mon->mhpmax) { in potionhit()
315 mon->mhp = mon->mhpmax; in potionhit()
320 if(mon->mhpmax > 3) in potionhit()
321 mon->mhpmax /= 2; in potionhit()
Dhack.makemon.c114 if(ptr->mlet == 'D') mtmp->mhpmax = mtmp->mhp = 80; in makemon()
115 else if(!ptr->mlevel) mtmp->mhpmax = mtmp->mhp = rnd(4); in makemon()
116 else mtmp->mhpmax = mtmp->mhp = d(ptr->mlevel, 8); in makemon()
Dhack.fight.c112 magr->mhpmax += 3; in hitmm()
120 magr->mhpmax += 1 + rn2(pd->mlevel+1); in hitmm()
121 if(magr->mtame && magr->mhpmax > 8*pa->mlevel){ in hitmm()
397 if(!rn2(25) && mtmp->mhp < mtmp->mhpmax/2) { in attack()
Dhack.worm.c124 mtmp->mhpmax += 3; in worm_move()
242 mtmp2->mhpmax = mtmp2->mhp = in cutworm()
Ddef.monst.h73 schar mhp,mhpmax; member
Dhack.lev.c259 if(newhp > mtmp->mhpmax) in getlev()
260 mtmp->mhp = mtmp->mhpmax; in getlev()
Dhack.dog.c209 mtmp->mhpmax /= 3; in dog_move()
210 if(mtmp->mhp > mtmp->mhpmax) in dog_move()
211 mtmp->mhp = mtmp->mhpmax; in dog_move()
Dhack.mon.c230 mtmp->mhp < mtmp->mhpmax) in dochug()
263 && mtmp->mhp == mtmp->mhpmax && !rn2(25)) in dochug()
881 hpn = mtmp->mhpmax; in newcham()
882 mtmp->mhpmax = 2 + (hpn*mhp)/hpd; in newcham()
Dhack.pri.c734 mtmp->data->mlevel, mtmp->mgold, mtmp->mhp, mtmp->mhpmax,