Lines Matching refs:mon
300 potionhit(struct monst *mon, struct obj *obj) in potionhit() argument
303 boolean uclose, isyou = (mon == &youmonst); in potionhit()
311 uclose = (dist(mon->mx, mon->my) < 3); in potionhit()
314 botlnam, monnam(mon)); in potionhit()
315 if (rn2(5) && mon->mhp > 1) in potionhit()
316 mon->mhp--; in potionhit()
327 if (mon->mhp < mon->mhpmax) { in potionhit()
328 mon->mhp = mon->mhpmax; in potionhit()
329 pline("%s looks sound and hale again!", Monnam(mon)); in potionhit()
333 if (mon->mhpmax > 3) in potionhit()
334 mon->mhpmax /= 2; in potionhit()
335 if (mon->mhp > 2) in potionhit()
336 mon->mhp /= 2; in potionhit()
340 mon->mconf = 1; in potionhit()
343 unpmon(mon); in potionhit()
344 mon->minvis = 1; in potionhit()
345 pmon(mon); in potionhit()
348 mon->mfroz = 1; in potionhit()
351 mon->mspeed = MFAST; in potionhit()
354 mon->mblinded |= 64 + rn2(64); in potionhit()