| 1315 | } |
| 1316 | |
| 1317 | staticfn void |
| 1318 | peffect_polymorph(struct obj *otmp) |
| 1319 | { |
| 1320 | You_feel("a little %s.", Hallucination ? "normal" : "strange"); |
| 1321 | if (!Unchanging) { |
| 1322 | if (!otmp->blessed || (u.umonnum != u.umonster)) |
| 1323 | polyself(POLY_NOFLAGS); |
| 1324 | else { |
| 1325 | polyself(POLY_CONTROLLED|POLY_LOW_CTRL); |
| 1326 | if (u.mtimedone && u.umonnum != u.umonster) |
| 1327 | u.mtimedone = min(u.mtimedone, rn2(15) + 10); |
| 1328 | } |
| 1329 | } |
| 1330 | } |
| 1331 | |
| 1332 | int |
| 1333 | peffects(struct obj *otmp) |