version 1.37 | | version 1.38 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.37 2000/12/18 17:43:30 avogl Exp $"; | | * "$Id: spell_effect.c,v 1.38 2000/12/19 06:54:52 peterm Exp $"; |
*/ | | */ |
| | |
| | |
| | |
level = MAX(1,SK_level(caster)/2); | | level = MAX(1,SK_level(caster)/2); |
if(RANDOM()%level > tmp->level) { /* successfully induced conflict */ | | if(RANDOM()%level > tmp->level) { /* successfully induced conflict */ |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
/* SET_FLAG(tmp,FLAG_BERSERK); */ | | SET_FLAG(tmp,FLAG_BERSERK); |
if(tmp->name) { | | if(tmp->name) { |
sprintf(buf,"You've clouded %s's mind. He turns on his friends!",tmp->name); | | sprintf(buf,"You've clouded %s's mind. He turns on his friends!",tmp->name); |
new_draw_info(NDI_RED,0,op,buf); | | new_draw_info(NDI_RED,0,op,buf); |