version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.13 2001/04/21 00:31:11 mwedel Exp $"; | | * "$Id: rune.c,v 1.14 2001/04/23 19:59:41 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
tmp->map = op->map; | | tmp->map = op->map; |
tmp->direction=dir; /* where any spell will go upon detonation */ | | tmp->direction=dir; /* where any spell will go upon detonation */ |
tmp->level=SK_level(op); /* what level to cast the spell at */ | | tmp->level=SK_level(op); /* what level to cast the spell at */ |
if(inspell||tmp->stats.dam) set_owner(tmp,op); /* runes without need no owner */ | | /*if(inspell||tmp->stats.dam) set_owner(tmp,op);*/ /* runes without need no owner */ |
| | set_owner(tmp,op); |
insert_ob_in_map(tmp,op->map,op); | | insert_ob_in_map(tmp,op->map,op); |
return 1; | | return 1; |
| | |