| 487 | } |
| 488 | |
| 489 | staticfn void |
| 490 | mcast_disappear(struct monst *mtmp) |
| 491 | { |
| 492 | if (!mtmp->minvis && !mtmp->invis_blkd) { |
| 493 | if (canseemon(mtmp)) |
| 494 | pline_mon(mtmp, "%s suddenly %s!", Monnam(mtmp), |
| 495 | !See_invisible ? "disappears" : "becomes transparent"); |
| 496 | mon_set_minvis(mtmp, FALSE); |
| 497 | if (cansee(mtmp->mx, mtmp->my) && !canspotmon(mtmp)) |
| 498 | map_invisible(mtmp->mx, mtmp->my); |
| 499 | } else |
| 500 | impossible("no reason for monster to cast disappear spell?"); |
| 501 | } |
| 502 | |
| 503 | staticfn void |
| 504 | mcast_stun_you(int dmg) |
no test coverage detected