version 1.82 | | version 1.83 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.82 2004/01/16 07:52:51 mwedel Exp $"; | | * "$Id: spell_util.c,v 1.83 2004/01/25 06:51:22 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
tmp=arch_to_object(at); | | tmp=arch_to_object(at); |
tmp->x=op->x+freearr_x[dir]+at->clone.x; | | tmp->x=op->x+freearr_x[dir]+at->clone.x; |
tmp->y=op->y+freearr_y[dir]+at->clone.y; | | tmp->y=op->y+freearr_y[dir]+at->clone.y; |
| | tmp->map = op->map; |
if (head) { | | if (head) { |
tmp->head=head; | | tmp->head=head; |
prev->more=tmp; | | prev->more=tmp; |
| | |
tmp = get_archetype(GOD_POWER); | | tmp = get_archetype(GOD_POWER); |
new_draw_info_format(NDI_UNIQUE, 0,op,"%s smites you!",godname); | | new_draw_info_format(NDI_UNIQUE, 0,op,"%s smites you!",godname); |
cast_magic_storm(op,tmp, power); | | cast_magic_storm(op,tmp, power); |
free_object(tmp); | | |
} | | } |
} | | } |
| | |