the #cast command -- cast a spell */
| 817 | |
| 818 | /* the #cast command -- cast a spell */ |
| 819 | int |
| 820 | docast(void) |
| 821 | { |
| 822 | int spell_no; |
| 823 | |
| 824 | if (getspell(&spell_no)) { |
| 825 | cmdq_add_key(CQ_REPEAT, spellet(spell_no)); |
| 826 | return spelleffects(svs.spl_book[spell_no].sp_id, FALSE, FALSE); |
| 827 | } |
| 828 | return ECMD_FAIL; |
| 829 | } |
| 830 | |
| 831 | staticfn const char * |
| 832 | spelltypemnemonic(int skill) |
nothing calls this directly
no test coverage detected