Difference for server/spell_attack.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.11 2004/05/04 07:14:53 mwedel Exp $";   *   "$Id: spell_attack.c,v 1.12 2004/05/20 05:50:00 mwedel Exp $";
  */   */
   
   
Line 1351
 
Line 1351
  * effects monsters, it seems best to put it into this file   * effects monsters, it seems best to put it into this file
  ***********************************************************************/   ***********************************************************************/
   
 /* This covers the variosu spells that change the moods of monsters -  /* This covers the various spells that change the moods of monsters -
  * makes them angry, peacful, friendly, etc.   * makes them angry, peacful, friendly, etc.
  */   */
 int mood_change(object *op, object *caster, object *spell) {  int mood_change(object *op, object *caster, object *spell) {
Line 1450
 
Line 1450
  set_owner(head, op);   set_owner(head, op);
  set_spell_skill(op, caster, spell, head);   set_spell_skill(op, caster, spell, head);
  add_friendly_object(head);   add_friendly_object(head);
  head->stats.exp = 0;  
  head->move_type = PETMOVE;   head->move_type = PETMOVE;
  done_one = 1;   done_one = 1;
    change_exp(op, head->stats.exp / 2, spell->skill, SK_EXP_ADD_SKILL);
    head->stats.exp = 0;
      }       }
   
      /* If a monster was effected, put an effect in */       /* If a monster was effected, put an effect in */


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

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