Difference for server/alchemy.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 117
 
Line 117
      return;       return;
  } /* End of WIZ alchemy */   } /* End of WIZ alchemy */
   
 #ifdef ALCHEMY_DEBUG  
  LOG(llevDebug,"base success chance =  %f\n",success_chance);  
 #endif  
       
  /* find the recipe */   /* find the recipe */
  for(rp = fl->items;rp!=NULL && (formula % rp->index)!=0;rp=rp->next);   for(rp = fl->items;rp!=NULL && (formula % rp->index)!=0;rp=rp->next);
   
Line 222
 
Line 218
 object * attempt_recipe(object *caster, object *cauldron,int ability, recipe *rp, int nbatches) {   object * attempt_recipe(object *caster, object *cauldron,int ability, recipe *rp, int nbatches) {
   object *item=NULL;      object *item=NULL; 
   /* this should be passed to this fctn, not too effiecent cpu use this way */    /* this should be passed to this fctn, not too effiecent cpu use this way */
   int /*numb=numb_ob_inside(cauldron),unused?*/ batches=abs(nbatches);    int batches=abs(nbatches);
   
   if(rp->keycode)  /* code required for this recipe, search the caster */    if(rp->keycode)  /* code required for this recipe, search the caster */
  { object *tmp;   { object *tmp;


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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