Difference for server/skills.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.18 2001/07/14 04:11:18 mwedel Exp $";   *   "$Id: skills.c,v 1.19 2001/08/21 05:39:31 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 91
 
Line 91
     object *success=NULL, *tmp=NULL, *next;      object *success=NULL, *tmp=NULL, *next;
     int roll=0, chance=0, stats_value = get_weighted_skill_stats(who)*3;      int roll=0, chance=0, stats_value = get_weighted_skill_stats(who)*3;
     int victim_lvl=op->level*3, thief_lvl = SK_level(who)*10;      int victim_lvl=op->level*3, thief_lvl = SK_level(who)*10;
       rv_vector rv;
   
     /* if the victim is aware of a thief in the area (FLAG_NO_STEAL set on them)      /* if the victim is aware of a thief in the area (FLAG_NO_STEAL set on them)
      * they will try to prevent stealing if they can. Only unseen theives will       * they will try to prevent stealing if they can. Only unseen theives will
      * have much chance of success.        * have much chance of success.
      */       */
     if(op->type!=PLAYER && QUERY_FLAG(op,FLAG_NO_STEAL)) {      if(op->type!=PLAYER && QUERY_FLAG(op,FLAG_NO_STEAL)) {
  if(can_detect_enemy(op,who)) {   if(can_detect_enemy(op,who,&rv)) {
      npc_call_help(op);       npc_call_help(op);
      CLEAR_FLAG(op, FLAG_UNAGGRESSIVE);       CLEAR_FLAG(op, FLAG_UNAGGRESSIVE);
      new_draw_info(NDI_UNIQUE, 0,who,"Your attempt is prevented!");       new_draw_info(NDI_UNIQUE, 0,who,"Your attempt is prevented!");


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

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