Lines Matching refs:mon
288 potionhit(struct monst *mon, struct obj *obj) in potionhit() argument
291 boolean uclose, isyou = (mon == &youmonst); in potionhit()
299 uclose = (dist(mon->mx,mon->my) < 3); in potionhit()
302 botlnam, monnam(mon)); in potionhit()
303 if(rn2(5) && mon->mhp > 1) in potionhit()
304 mon->mhp--; in potionhit()
314 if(mon->mhp < mon->mhpmax) { in potionhit()
315 mon->mhp = mon->mhpmax; in potionhit()
316 pline("%s looks sound and hale again!", Monnam(mon)); in potionhit()
320 if(mon->mhpmax > 3) in potionhit()
321 mon->mhpmax /= 2; in potionhit()
322 if(mon->mhp > 2) in potionhit()
323 mon->mhp /= 2; in potionhit()
327 mon->mconf = 1; in potionhit()
330 unpmon(mon); in potionhit()
331 mon->minvis = 1; in potionhit()
332 pmon(mon); in potionhit()
335 mon->mfroz = 1; in potionhit()
338 mon->mspeed = MFAST; in potionhit()
341 mon->mblinded |= 64 + rn2(64); in potionhit()