version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.11 2000/12/27 07:53:35 cvs Exp $"; | | * "$Id: rune.c,v 1.12 2001/04/16 07:12:24 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 */ |
set_owner(tmp,op); | | if(inspell||tmp->stats.dam) set_owner(tmp,op); // runes withou need no owner |
insert_ob_in_map(tmp,op->map,op); | | insert_ob_in_map(tmp,op->map,op); |
return 1; | | return 1; |
| | |