Difference for server/spell_attack.c from version 1.16 to 1.17


version 1.16 version 1.17
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.16 2004/08/14 09:48:40 ryo_saeba Exp $";   *   "$Id: spell_attack.c,v 1.17 2005/01/07 21:23:59 ryo_saeba Exp $";
  */   */
   
   
Line 1473
 
Line 1473
      /* charm */       /* charm */
      if (QUERY_FLAG(spell, FLAG_NO_ATTACK) && !QUERY_FLAG(head, FLAG_FRIENDLY)) {       if (QUERY_FLAG(spell, FLAG_NO_ATTACK) && !QUERY_FLAG(head, FLAG_FRIENDLY)) {
  SET_FLAG(head, FLAG_FRIENDLY);   SET_FLAG(head, FLAG_FRIENDLY);
           /* Prevent uncontolled outbreaks of self replicating monsters.
              Typical use case is charm, go somwhere, use aggravation to make hostile.
              This could lead to fun stuff like mice outbreak in bigworld and server crawl. */
           CLEAR_FLAG(head, FLAG_GENERATOR);
  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);


Legend:
line(s) removed in v.1.16 
line(s) changed
 line(s) added in v.1.17

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