version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_egoitem_c = | | * static char *rcsid_egoitem_c = |
* "$Id: egoitem.c,v 1.2 1999/07/13 06:03:04 cvs Exp $"; | | * "$Id: egoitem.c,v 1.3 2000/05/26 09:50:49 jec Exp $"; |
*/ | | */ |
| | |
| | |
| | |
crystal->stats.sp +=power_grab; | | crystal->stats.sp +=power_grab; |
crystal->speed = (float)crystal->stats.sp/(float)crystal->stats.maxsp; | | crystal->speed = (float)crystal->stats.sp/(float)crystal->stats.maxsp; |
update_ob_speed(crystal); | | update_ob_speed(crystal); |
| | if (op->type == PLAYER) |
esrv_update_item(UPD_ANIMSPEED, op, crystal); | | esrv_update_item(UPD_ANIMSPEED, op, crystal); |
| | |
return 1; | | return 1; |