version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.23 2001/03/11 03:15:18 avogl Exp $"; | | * "$Id: living.c,v 1.24 2001/04/12 06:03:40 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->contr->gen_hp += tmp->stats.hp; | | op->contr->gen_hp += tmp->stats.hp; |
op->contr->gen_sp += tmp->stats.sp; | | op->contr->gen_sp += tmp->stats.sp; |
op->contr->gen_grace += tmp->stats.grace; | | op->contr->gen_grace += tmp->stats.grace; |
| | /* Experience objects use last_heal for permanent exp, so |
| | * don't add those in. |
| | */ |
| | if (tmp->type != EXPERIENCE) |
op->contr->gen_sp_armour += tmp->last_heal; | | op->contr->gen_sp_armour += tmp->last_heal; |
#if 0 | | #if 0 |
if (tmp->last_heal) LOG(llevDebug,"Object %s applied, gen_sp_armour + %d = %d\n", tmp->name, tmp->last_heal, op->contr->gen_sp_armour); | | if (tmp->last_heal) LOG(llevDebug,"Object %s applied, gen_sp_armour + %d = %d\n", tmp->name, tmp->last_heal, op->contr->gen_sp_armour); |