version 1.71 | | version 1.72 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.71 2002/08/31 07:28:07 mwedel Exp $"; | | * "$Id: attack.c,v 1.72 2002/09/01 06:32:30 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
add_exp(op,-op->stats.exp/rate); | | add_exp(op,-op->stats.exp/rate); |
} | | } |
dam = 0; /* Drain is an effect */ | | dam = 1; /* Drain is an effect. Still return 1 - otherwise, if you have pure |
| | * drain attack, you won't know that you are actually sucking out EXP, |
| | * as the messages will say you missed |
| | */ |
} | | } |
} | | } |
break; | | break; |