| 2019 | } |
| 2020 | |
| 2021 | staticfn int |
| 2022 | invoke_fling_poison(struct obj *obj) |
| 2023 | { |
| 2024 | if (getdir((char *) 0)) { |
| 2025 | int venom = rn2(2) ? BLINDING_VENOM : ACID_VENOM; |
| 2026 | struct obj *otmp = mksobj(venom, TRUE, FALSE); |
| 2027 | |
| 2028 | otmp->spe = 1; /* the poison is yours */ |
| 2029 | throwit(otmp, 0L, FALSE, (struct obj *) 0); |
| 2030 | } else { |
| 2031 | /* no direction picked */ |
| 2032 | pline("%s", Never_mind); |
| 2033 | obj->age = svm.moves; |
| 2034 | return ECMD_CANCEL; |
| 2035 | } |
| 2036 | return ECMD_TIME; |
| 2037 | } |
| 2038 | |
| 2039 | staticfn int |
| 2040 | invoke_storm_spell(struct obj *obj) |