version 1.43 | | version 1.44 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.43 2001/01/26 00:59:09 avogl Exp $"; | | * "$Id: spell_util.c,v 1.44 2001/02/23 06:06:35 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (caster->path_denied & s->path) { | | if (caster->path_denied & s->path) { |
new_draw_info(NDI_UNIQUE, 0,op, "You are unable to cast that spell."); | | new_draw_info(NDI_UNIQUE, 0,op, "You are unable to cast that spell."); |
if(op->type==PLAYER) op->contr->count_left=0; | | if(op->type==PLAYER) op->contr->count_left=0; |
return RANDOM()%(s->sp)+1; | | return 0; |
} | | } |
/* If it is an ability, assume that the designer of the archetype knows | | /* If it is an ability, assume that the designer of the archetype knows |
* what they are doing. | | * what they are doing. |