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


version 1.58 version 1.59
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_gods_c =   * static char *rcsid_gods_c =
  *   "$Id: gods.c,v 1.58 2006/01/07 18:56:51 akirschbaum Exp $";   *   "$Id: gods.c,v 1.59 2006/04/06 21:18:35 tchize Exp $";
  */   */
   
 /*  /*
Line 297
 
Line 297
  angry=3;   angry=3;
  new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl,   new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl,
                                 "Foul Priest! %s punishes you!",pl_god->name);                                  "Foul Priest! %s punishes you!",pl_god->name);
  tmp=get_archetype(LOOSE_MANA);   tmp=create_archetype(LOOSE_MANA);
  cast_magic_storm(pl,tmp, pl_god->level+20);   cast_magic_storm(pl,tmp, pl_god->level+20);
      } else        } else
  new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl,   new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,pl,
Line 437
 
Line 437
  new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,op,"Fool! %s detests your kind!",   new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,op,"Fool! %s detests your kind!",
       new_god->name);        new_god->name);
         if(random_roll(0, op->level-1, op, PREFER_LOW)-5>0) {          if(random_roll(0, op->level-1, op, PREFER_LOW)-5>0) {
      object *tmp = get_archetype(LOOSE_MANA);       object *tmp = create_archetype(LOOSE_MANA);
      cast_magic_storm(op,tmp, new_god->level+10);       cast_magic_storm(op,tmp, new_god->level+10);
  }   }
  return;   return;
Line 798
 
Line 798
                 /* Follower lacks the required grace for the following                  /* Follower lacks the required grace for the following
                  * treasure list items. */                   * treasure list items. */
   
          tmp = get_archetype(HOLY_POSSESSION);           tmp = create_archetype(HOLY_POSSESSION);
                 cast_change_ability(op, op, tmp, 0, 1);                  cast_change_ability(op, op, tmp, 0, 1);
          free_object(tmp);           free_object(tmp);
                 return;                  return;
Line 851
 
Line 851
      object *tmp;       object *tmp;
      int success;       int success;
   
      tmp = get_archetype_by_object_name(item->slaying);       tmp = create_archetype_by_object_name(item->slaying);
   
      success = cast_heal (op, op, tmp, 0);       success = cast_heal (op, op, tmp, 0);
      free_object(tmp);       free_object(tmp);
Line 990
 
Line 990
  change_exp(op, -random_roll(0, loss*angry-1, op, PREFER_LOW),   change_exp(op, -random_roll(0, loss*angry-1, op, PREFER_LOW),
     skop?skop->skill:"none", SK_SUBTRACT_SKILL_EXP);      skop?skop->skill:"none", SK_SUBTRACT_SKILL_EXP);
  if(random_roll(0, angry, op, PREFER_LOW)) {   if(random_roll(0, angry, op, PREFER_LOW)) {
      object *tmp = get_archetype(LOOSE_MANA);       object *tmp = create_archetype(LOOSE_MANA);
      cast_magic_storm(op,tmp,op->level+(angry*3));       cast_magic_storm(op,tmp,op->level+(angry*3));
  }   }
  new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,op,   new_draw_info_format(NDI_UNIQUE|NDI_NAVY,0,op,


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