Difference for server/skills.c from version 1.74 to 1.75


version 1.74 version 1.75
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.74 2006/05/05 09:26:35 ryo_saeba Exp $";   *   "$Id: skills.c,v 1.75 2006/06/29 06:09:23 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 997
 
Line 997
  if(trap_disarm(op,tmp2,1, skill) && (!tmp2->owner || tmp2->owner->type!=PLAYER)) {   if(trap_disarm(op,tmp2,1, skill) && (!tmp2->owner || tmp2->owner->type!=PLAYER)) {
      tmp->stats.exp = tmp->stats.Cha * tmp->level;        tmp->stats.exp = tmp->stats.Cha * tmp->level;
      success += calc_skill_exp(op,tmp2, skill);       success += calc_skill_exp(op,tmp2, skill);
    } else {
        /* Can't continue to disarm after failure */
        return success;
  }   }
      }       }
      }       }
Line 1005
 
Line 1008
  if (trap_disarm(op,tmp,1,skill) && (!tmp->owner || tmp->owner->type!=PLAYER)) {   if (trap_disarm(op,tmp,1,skill) && (!tmp->owner || tmp->owner->type!=PLAYER)) {
      tmp->stats.exp = tmp->stats.Cha * tmp->level;        tmp->stats.exp = tmp->stats.Cha * tmp->level;
      success += calc_skill_exp(op,tmp,skill);       success += calc_skill_exp(op,tmp,skill);
    } else {
        /* Can't continue to disarm after failure */
        return success;
  }   }
      }       }
  }   }


Legend:
line(s) removed in v.1.74 
line(s) changed
 line(s) added in v.1.75

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