| 878 | } |
| 879 | |
| 880 | staticfn void |
| 881 | peffect_paralysis(struct obj *otmp) |
| 882 | { |
| 883 | if (Free_action) { |
| 884 | You("stiffen momentarily."); |
| 885 | } else { |
| 886 | if (Levitation || Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)) |
| 887 | You("are motionlessly suspended."); |
| 888 | else if (u.usteed) |
| 889 | You("are frozen in place!"); |
| 890 | else |
| 891 | Your("%s are frozen to the %s!", makeplural(body_part(FOOT)), |
| 892 | surface(u.ux, u.uy)); |
| 893 | nomul(-(rn1(10, 25 - 12 * bcsign(otmp)))); |
| 894 | gm.multi_reason = "frozen by a potion"; |
| 895 | gn.nomovemsg = You_can_move_again; |
| 896 | exercise(A_DEX, FALSE); |
| 897 | } |
| 898 | } |
| 899 | |
| 900 | staticfn void |
| 901 | peffect_sleeping(struct obj *otmp) |