version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.23 2005/10/07 19:38:50 akirschbaum Exp $"; | | * "$Id: spell_attack.c,v 1.24 2005/10/29 21:59:42 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
add_friendly_object(head); | | add_friendly_object(head); |
head->attack_movement = PETMOVE; | | head->attack_movement = PETMOVE; |
done_one = 1; | | done_one = 1; |
change_exp(op, head->stats.exp / 2, spell->skill, SK_EXP_ADD_SKILL); | | change_exp(op, head->stats.exp / 2, head->skill, SK_EXP_ADD_SKILL); |
head->stats.exp = 0; | | head->stats.exp = 0; |
} | | } |
| | |