version 1.60 | | version 1.61 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.60 2001/10/15 21:12:08 garbled Exp $"; | | * "$Id: spell_util.c,v 1.61 2001/11/01 19:38:43 pcurrlin Exp $"; |
*/ | | */ |
| | |
| | |
| | |
case SP_TOWN_PORTAL: | | case SP_TOWN_PORTAL: |
success= cast_create_town_portal (op,caster,dir); | | success= cast_create_town_portal (op,caster,dir); |
break; | | break; |
| | case SP_MISSILE_SWARM: { |
| | success = 1; |
| | fire_swarm(op, caster, dir, spellarch[type], SP_M_MISSILE, |
| | die_roll(3, 3, op, PREFER_HIGH) + |
| | SP_level_strength_adjust(op,caster, type), 0); |
| | break; |
| | } |
} | | } |
| | |
play_sound_map(op->map, op->x, op->y, SOUND_CAST_SPELL_0 + type); | | play_sound_map(op->map, op->x, op->y, SOUND_CAST_SPELL_0 + type); |