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


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.18 2000/05/29 16:31:26 jec Exp $";   *   "$Id: spell_effect.c,v 1.19 2000/06/04 22:26:08 cvs Exp $";
  */   */
   
   
Line 3382
 
Line 3382
    disease->stats.exp = 0;     disease->stats.exp = 0;
    disease->level = op->level;     disease->level = op->level;
   
      /* Try to get the experience into the correct category */
      if(op->chosen_skill && op->chosen_skill->exp_obj)
    disease->exp_obj = op->chosen_skill->exp_obj;
   
    /*do level adjustments */     /*do level adjustments */
    if(disease->stats.wc)     if(disease->stats.wc)
  disease->stats.wc +=  SP_level_strength_adjust(op,caster,type)/2;   disease->stats.wc +=  SP_level_strength_adjust(op,caster,type)/2;
   
    if(disease->magic)     if(disease->magic> 0)
  disease->magic += SP_level_strength_adjust(op,caster,type)/4;   disease->magic += SP_level_strength_adjust(op,caster,type)/4;
   
    if(disease->stats.maxhp>0)     if(disease->stats.maxhp>0)


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:49