Difference for server/skills.c from version 1.47 to 1.48


version 1.47 version 1.48
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.47 2004/01/16 21:17:02 ryo_saeba Exp $";   *   "$Id: skills.c,v 1.48 2004/02/17 00:22:24 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1213
 
Line 1213
  copy_object(chosen_spell, tmp);   copy_object(chosen_spell, tmp);
  insert_ob_in_ob(tmp, newscroll);   insert_ob_in_ob(tmp, newscroll);
   
    /* Same code as from treasure.c - so they can better merge.
    * if players want to sell them, so be it.
    */
    newscroll->value =  newscroll->arch->clone.value * newscroll->inv->value *
        (newscroll->level +50) / (newscroll->inv->level + 50);
    newscroll->stats.exp = newscroll->value/5;
   
  /* wait until finished manipulating the scroll before inserting it */   /* wait until finished manipulating the scroll before inserting it */
  if (newscroll != scroll)   if (newscroll != scroll)
      newscroll=insert_ob_in_ob(newscroll,pl);       newscroll=insert_ob_in_ob(newscroll,pl);


Legend:
line(s) removed in v.1.47 
line(s) changed
 line(s) added in v.1.48

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