Difference for include/attack.h from version 1.7 to 1.8


version 1.7 version 1.8
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_h =   * static char *rcsid_attack_h =
  *   "$Id: attack.h,v 1.7 2001/11/01 06:29:29 garbled Exp $";   *   "$Id: attack.h,v 1.8 2001/12/18 09:45:07 darth_bob Exp $";
  */   */
   
 /*  /*
Line 43
 
Line 43
  * the resist array in the object structure.   * the resist array in the object structure.
  */   */
   
 #define NROFATTACKS 24  #define NROFATTACKS 25
 #define NROFATTACKMESS 20  #define NROFATTACKMESS 20
 #define MAXATTACKMESS 20  #define MAXATTACKMESS 20
   
Line 98
 
Line 98
 #define ATNR_HOLYWORD 21  #define ATNR_HOLYWORD 21
 #define ATNR_BLIND 22  #define ATNR_BLIND 22
 #define ATNR_INTERNAL 23  #define ATNR_INTERNAL 23
   #define ATNR_LIFE_STEALING 24
   
 #define AT_PHYSICAL 0x00000001 /*       1 */  #define AT_PHYSICAL 0x00000001 /*       1 */
 #define AT_MAGIC 0x00000002 /*       2 */  #define AT_MAGIC 0x00000002 /*       2 */
Line 123
 
Line 124
 #define AT_HOLYWORD 0x00200000 /* 2097152 race selective attack thomas@astro.psu.edu */   #define AT_HOLYWORD 0x00200000 /* 2097152 race selective attack thomas@astro.psu.edu */
 #define AT_BLIND 0x00400000 /* 4194304 thomas@astro.psu.edu */   #define AT_BLIND 0x00400000 /* 4194304 thomas@astro.psu.edu */
 #define AT_INTERNAL 0x00800000 /* Only used for internal calculations */  #define AT_INTERNAL 0x00800000 /* Only used for internal calculations */
   #define AT_LIFE_STEALING 0x01000000 /* 16777216 dnh@hawthorn.csse.monash.edu.au */
   
 /* attacktypes_load is suffixed to resist_ when saving objects.  /* attacktypes_load is suffixed to resist_ when saving objects.
  * (so the line may be 'resist_fire' 20 for example).  These are never   * (so the line may be 'resist_fire' 20 for example).  These are never
Line 158
 
Line 160
 "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",  "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
 "drain", "weaponmagic", "ghosthit", "poison", "slow", "paralyze",  "drain", "weaponmagic", "ghosthit", "poison", "slow", "paralyze",
 "turn_undead", "fear", "cancellation", "deplete", "death", "chaos",  "turn_undead", "fear", "cancellation", "deplete", "death", "chaos",
 "counterspell", "godpower", "holyword", "blind" ,  "counterspell", "godpower", "holyword", "blind" , "internal", "life stealing"
 "internal"  
 };  };
   
 /* Short description of names of the attacktypes */  /* Short description of names of the attacktypes */
Line 167
 
Line 168
 "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",  "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
 "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze",  "drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze",
 "turn undead", "fear", "cancellation", "deplete", "death", "chaos",  "turn undead", "fear", "cancellation", "deplete", "death", "chaos",
 "counterspell", "god power", "holy word", "blind" ,  "counterspell", "god power", "holy word", "blind" , "internal", "life stealing"
 "internal"  
 };  };
   
 /* This is the array that is what the player sees. */  /* This is the array that is what the player sees. */
Line 180
 
Line 180
 "resist paralyzation", "resist turn undead", "resist fear",   "resist paralyzation", "resist turn undead", "resist fear",
 "resist cancellation", "resist depletion", "resist death", "resist chaos",  "resist cancellation", "resist depletion", "resist death", "resist chaos",
 "resist counterspell", "resist god power", "resist holy word",  "resist counterspell", "resist god power", "resist holy word",
 "resist blindness" ,   "resist blindness" ,  "resist internal", "resist life stealing"
 "resist internal"  
 };  };
   
 /* These are the descriptions of the resistances displayed when a  /* These are the descriptions of the resistances displayed when a
Line 191
 
Line 190
 "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",  "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
 "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",  "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",
 "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",  "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",
 "counterspell", "god power", "holy word", "blinding attacks",  "counterspell", "god power", "holy word", "blinding attacks", "internal",
 "internal"  "life stealing"
 };  };
   
   
Line 203
 
Line 202
 EXTERN int resist_table[] = {ATNR_PHYSICAL, ATNR_MAGIC, ATNR_FIRE,   EXTERN int resist_table[] = {ATNR_PHYSICAL, ATNR_MAGIC, ATNR_FIRE,
     ATNR_ELECTRICITY,ATNR_COLD, ATNR_CONFUSION, ATNR_ACID, ATNR_DRAIN,      ATNR_ELECTRICITY,ATNR_COLD, ATNR_CONFUSION, ATNR_ACID, ATNR_DRAIN,
     ATNR_GHOSTHIT, ATNR_POISON, ATNR_SLOW, ATNR_PARALYZE, ATNR_TURN_UNDEAD,      ATNR_GHOSTHIT, ATNR_POISON, ATNR_SLOW, ATNR_PARALYZE, ATNR_TURN_UNDEAD,
     ATNR_FEAR, ATNR_DEPLETE, ATNR_DEATH, ATNR_HOLYWORD, ATNR_BLIND};      ATNR_FEAR, ATNR_DEPLETE, ATNR_DEATH, ATNR_HOLYWORD, ATNR_BLIND, ATNR_LIFE_STEALING};
   
 #endif  #endif
   
 #define num_resist_table 18  #define num_resist_table 19
   
 #endif  #endif


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

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