version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.12 2004/05/20 05:50:00 mwedel Exp $"; | | * "$Id: spell_attack.c,v 1.13 2004/06/01 07:20:56 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
tmp->stats.dam = op->dam_modifier; | | tmp->stats.dam = op->dam_modifier; |
tmp->range = op->stats.maxhp; | | tmp->range = op->stats.maxhp; |
tmp->duration = op->stats.hp; | | tmp->duration = op->stats.hp; |
| | /* Used for spell tracking - just need a unique val for this spell - |
| | * the count of the parent should work fine. |
| | */ |
| | tmp->stats.maxhp = op->count; |
} | | } |
| | |
/* Set direction of cone explosion */ | | /* Set direction of cone explosion */ |