Difference for common/living.c from version 1.57 to 1.58


version 1.57 version 1.58
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.57 2003/11/10 05:39:50 mwedel Exp $";   *   "$Id: living.c,v 1.58 2003/12/28 06:06:00 mwedel Exp $";
  */   */
   
 /*  /*
Line 914
 
Line 914
      (tmp->type == BOOTS)    || (tmp->type == GLOVES) ||       (tmp->type == BOOTS)    || (tmp->type == GLOVES) ||
      (tmp->type == AMULET )  || (tmp->type == GIRDLE) ||       (tmp->type == AMULET )  || (tmp->type == GIRDLE) ||
      (tmp->type == BRACERS ) || (tmp->type == CLOAK) ||       (tmp->type == BRACERS ) || (tmp->type == CLOAK) ||
      (tmp->type == DISEASE)  || (tmp->type == FORCE)) {       (tmp->type == DISEASE)  || (tmp->type == FORCE) ||
        (tmp->type == SKILL)) {
  op->contr->digestion    += tmp->stats.food;   op->contr->digestion    += tmp->stats.food;
  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;
Line 1445
 
Line 1446
   if (abil == NULL) return;    if (abil == NULL) return;
      
   /* The ability_force keeps track of maximum level ever achieved.    /* The ability_force keeps track of maximum level ever achieved.
      New abilties can only be gained by surpassing this max level */       * New abilties can only be gained by surpassing this max level
        */
   if (who->level > abil->level) {    if (who->level > abil->level) {
     /* increase our focused ability */      /* increase our focused ability */
     abil->resist[abil->stats.exp]++;      abil->resist[abil->stats.exp]++;
          
   
     if (abil->resist[abil->stats.exp]>0 && abil->resist[abil->stats.exp]%5 == 0) {      if (abil->resist[abil->stats.exp]>0 && abil->resist[abil->stats.exp]%5 == 0) {
       /* time to hand out a new ability-gift */        /* time to hand out a new ability-gift */
       (*dragon_gain_func)(who, (int)abil->stats.exp,        (*dragon_gain_func)(who, (int)abil->stats.exp,


Legend:
line(s) removed in v.1.57 
line(s) changed
 line(s) added in v.1.58

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:08