Difference for server/skills.c from version 1.58 to 1.59


version 1.58 version 1.59
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.58 2005/07/16 14:20:39 akirschbaum Exp $";   *   "$Id: skills.c,v 1.59 2005/07/16 21:10:40 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 757
 
Line 757
     if(QUERY_FLAG(tmp,FLAG_FRIENDLY)&&(tmp->move_type==PETMOVE)){        if(QUERY_FLAG(tmp,FLAG_FRIENDLY)&&(tmp->move_type==PETMOVE)){ 
  if(get_owner(tmp)==pl) {   if(get_owner(tmp)==pl) {
      new_draw_info(NDI_UNIQUE, 0,pl,        new_draw_info(NDI_UNIQUE, 0,pl,
        "Your follower loves your speach.\n");         "Your follower loves your speech.\n");
      return 0;       return 0;
  } else if (skill->level > tmp->level) {   } else if (skill->level > tmp->level) {
      /* you steal the follower.  Perhaps we should really look at the       /* you steal the follower.  Perhaps we should really look at the
Line 795
 
Line 795
     /* Charm failed.  Creature may be angry now */      /* Charm failed.  Creature may be angry now */
     else if((skill->level+((pl->stats.Cha-10)/2)) < random_roll(1, 2*tmp->level, pl, PREFER_LOW)) {      else if((skill->level+((pl->stats.Cha-10)/2)) < random_roll(1, 2*tmp->level, pl, PREFER_LOW)) {
  new_draw_info_format(NDI_UNIQUE, 0,pl,    new_draw_info_format(NDI_UNIQUE, 0,pl,
    "Your speach angers the %s!\n",query_name(tmp));      "Your speech angers the %s!\n",query_name(tmp));
  if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) {   if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) {
      CLEAR_FLAG(tmp,FLAG_FRIENDLY);       CLEAR_FLAG(tmp,FLAG_FRIENDLY);
      remove_friendly_object(tmp);       remove_friendly_object(tmp);


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

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