| 2037 | } |
| 2038 | |
| 2039 | staticfn int |
| 2040 | invoke_storm_spell(struct obj *obj) |
| 2041 | { |
| 2042 | const struct artifact *oart = get_artifact(obj); |
| 2043 | int storm = oart->inv_prop == SNOWSTORM ? SPE_CONE_OF_COLD : SPE_FIREBALL; |
| 2044 | int skill = spell_skilltype(storm); |
| 2045 | int expertise = P_SKILL(skill); |
| 2046 | |
| 2047 | P_SKILL(skill) = P_EXPERT; |
| 2048 | (void) spelleffects(storm, FALSE, TRUE); |
| 2049 | P_SKILL(skill) = expertise; |
| 2050 | return ECMD_TIME; |
| 2051 | } |
| 2052 | |
| 2053 | staticfn int |
| 2054 | invoke_blinding_ray(struct obj *obj) |
no test coverage detected