Difference for include/attack.h from version 1.1 to 1.2


version 1.1 version 1.2
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_h =   * static char *rcsid_attack_h =
  *   "$Id: attack.h,v 1.1 2000/12/04 00:40:04 cvs Exp $";   *   "$Id: attack.h,v 1.2 2000/12/14 03:51:49 avogl Exp $";
  */   */
   
 /*  /*
Line 113
 
Line 113
  */   */
 #ifndef INIT_C  #ifndef INIT_C
 EXTERN int resist_table[];  EXTERN int resist_table[];
 EXTERN char *resist_change[NROFATTACKS][4];  EXTERN char *change_resist_msg[NROFATTACKS];
 EXTERN char *resist_plus[NROFATTACKS];  EXTERN char *resist_plus[NROFATTACKS];
 EXTERN char *attacktype_desc[NROFATTACKS];  EXTERN char *attacktype_desc[NROFATTACKS];
 EXTERN char *resist_save[NROFATTACKS];  EXTERN char *resist_save[NROFATTACKS];
Line 149
 
Line 149
 "resist internal"  "resist internal"
 };  };
   
 /* These are the message displayed when a player puts on/takes off an item  /* These are the descriptions of the resistances displayed when a
  * that gives them some resistance.  These are triples - immune (100),   * player puts on/takes off an item. See change_abil() in living.c.
  * protection (positive) and negative, with the message of when you add  
  * and subtract the entry.  
  * Index 0 is what you see when you add an immunity.  
  * Index 1 is what you see when you remove an immuity.  
  * Index 2 is what you see when you gain protective value  
  * Index 3 is what you see when you lose protective value.  
  */   */
   EXTERN char *change_resist_msg[NROFATTACKS] = {
 EXTERN char *resist_change[NROFATTACKS][4] = {  "physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
     /* Physical isn't used right now */  "draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",
     {"You feel impervious to attack.", "You no longer feel impervious to attack.",  "turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",
      "You feel more armoured.", "You feel less armoured."},  "counterspell", "god power", "holy word", "blinding attacks",
   "internal"
     {"You feel immune to magic.",  "You feel less immune to magic.",  
      "You feel more resistant to magic.", "You feel less resistant to magic."},  
   
     {"You feel immune to fire.", "You feel less immune to fire.",  
      "You feel resistant to fire.", "You feel less resistant to fire."},  
   
     {"You feel immune to electricity.", "You feel less immune to electricity.",  
      "You feel more resistant to electricity.", "You feel less resistant to electricity."},  
   
     {"You feel immune to cold.","You feel less immune to cold.",  
  "You feel resistant to cold.", "You feel less resistant to cold."},  
   
     {"Your mind is warded against disruption .", "Your mind is no longer warded against disruption.",   
  "You feel more resistant to confusion.", "You feel less resistant to confusion."},  
   
     {"You feel immune to acid.",  
      "You feel less immune to acid.",   
      "You feel more resistant to acid.",  
      "You feel less resistant to acid."  
     },  
   
     {"You feel very full of life.",  
      "You shiver, everything seems so bleak.",  
      "You feel more resistant to draining.",  
      "You feel less resistant to draining."  
     },  
     /* Player shouldn't see these */  
     {"You feel immune to weapon magic.",    
  "You feel less immune to weapon magic.",  
  "You feel more resistant to weapon magic.",   
  "You feel less resistant to weapon magic."  
     },  
   
     /* More than just ghosts have ghosthit, but we will  
      * use ghosts as a general term here.  
      */  
     {"You feel immune to ghosts.",    
  "You feel less immune to ghosts.",  
  "You feel more resistant to ghosts.",   
  "You feel less resistant to ghosts."  
     },  
     {"You feel immune to poison.",  
  "You feel less immune to poision.",  
  "You feel more resistant to poison.",  
  "You feel less resistant to poison."  
     },  
     {"You feel in sync with time.", /* SLOW */  
  "You feel out of sync with time.",  
  "You feel more in sync with time.",  
  "You feel less in sync with time."  
     },  
     {"You feel very unrestrained.",  
  "You feel more restrained.",  
  "You feel more resistant to paralyzation.",  
  "You feel less resistant to paralyzation."  
     },  
     {"You feel immune to clerical turning",  
  "You feel less immune to clerical turning",  
  "You feel more resistant to clerical turning",  
  "You feel less resistant to clerical turning"  
     },  
     {"You feel extremely brave.",  
  "You feel less brave.",  
  "You feel more resistant to fear.",  
  "You feel less resistant to fear."  
     },  
     {"", "", "", ""}, /* Cancellation - not attainable by players */  
   
     {"You feel immune to depletion.",  
      "You feel less immune to depletion",  
      "You feel more resistant to depletion.",  
      "You feel less resistant to depletion."  
     },  
   
     {"You feel immune to death magic.",  
      "You feel less immune to death magic",  
      "You feel more resistant to death magic.",  
      "You feel less resistant to death magic."  
     },  
     {"", "", "", ""}, /* Chaos - not attainable by players */  
     {"", "", "", ""}, /* Counterspell - not attainable by players */  
     {"", "", "", ""}, /* God Power - not attainable by players */  
     {"You feel immune to the power of holy words",  
  "You feel less immune to the power of holy words",  
  "You feel more resistant to the power of holy words",  
  "You feel less resistant to the power of holy words"  
     },  
     {"You feel immune to blinding",  
  "You feel less immune to blinding",  
  "You feel more resistant to blinding",  
  "You feel less resistant to blinding"  
     },  
     {"", "", "", ""} /* Internal - not attainable by players */  
 };  };
   
   
 /* If you want to weight things so certain resistances show up more often than  /* If you want to weight things so certain resistances show up more often than
  * others, just add more entries in the table for the protections you want to   * others, just add more entries in the table for the protections you want to
  * show up.   * show up.


Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2

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