version 1.68 | | version 1.69 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.68 2002/05/14 06:47:44 mwedel Exp $"; | | * "$Id: attack.c,v 1.69 2002/07/15 04:57:13 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2000 Mark Wedel | | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
| | |
if (effect==0) return; | | if (effect==0) return; |
| | |
SET_FLAG(op,FLAG_PARALYZED); /* we mark this object as paralyzed */ | | |
| | |
op->speed_left-=FABS(op->speed)*effect; | | op->speed_left-=FABS(op->speed)*effect; |
/* tmp->stats.food+=(signed short) effect/op->speed; */ | | /* tmp->stats.food+=(signed short) effect/op->speed; */ |
| | |