ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/attack.h
(Generate patch)

Comparing deliantra/server/include/attack.h (file contents):
Revision 1.1 by root, Fri Feb 3 07:12:47 2006 UTC vs.
Revision 1.2 by elmex, Sun Aug 13 17:16:02 2006 UTC

1/* 1/*
2 * static char *rcsid_attack_h = 2 * static char *rcsid_attack_h =
3 * "$Id: attack.h,v 1.1 2006/02/03 07:12:47 root Exp $"; 3 * "$Id: attack.h,v 1.2 2006/08/13 17:16:02 elmex Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
160 160
161/* Beware, names require an _ if there is a space, else they will be read 161/* Beware, names require an _ if there is a space, else they will be read
162 * as for example: resist_life stealing 50! 162 * as for example: resist_life stealing 50!
163 */ 163 */
164#else 164#else
165EXTERN char *resist_save[NROFATTACKS] = { 165EXTERN const char* resist_save[NROFATTACKS] = {
166"physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ", 166"physical ", "magic ", "fire ", "electricity ", "cold ", "confusion ", "acid ",
167"drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ", 167"drain ", "weaponmagic ", "ghosthit ", "poison ", "slow ", "paralyze ",
168"turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ", 168"turn_undead ", "fear ", "cancellation ", "deplete ", "death ", "chaos ",
169"counterspell ", "godpower ", "holyword ", "blind " , "internal ", "life_stealing ", 169"counterspell ", "godpower ", "holyword ", "blind " , "internal ", "life_stealing ",
170"disease " 170"disease "
171}; 171};
172 172
173/* Short description of names of the attacktypes */ 173/* Short description of names of the attacktypes */
174EXTERN char *attacktype_desc[NROFATTACKS] = { 174EXTERN const char* attacktype_desc[NROFATTACKS] = {
175"physical", "magic", "fire", "electricity", "cold", "confusion", "acid", 175"physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
176"drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze", 176"drain", "weapon magic", "ghost hit", "poison", "slow", "paralyze",
177"turn undead", "fear", "cancellation", "deplete", "death", "chaos", 177"turn undead", "fear", "cancellation", "deplete", "death", "chaos",
178"counterspell", "god power", "holy word", "blind" , "internal", "life stealing", 178"counterspell", "god power", "holy word", "blind" , "internal", "life stealing",
179"disease" 179"disease"
180}; 180};
181 181
182/* This is the array that is what the player sees. */ 182/* This is the array that is what the player sees. */
183 183
184EXTERN char *resist_plus[NROFATTACKS] = { 184EXTERN const char* resist_plus[NROFATTACKS] = {
185"armour", "resist magic", "resist fire", "resist electricity", "resist cold", 185"armour", "resist magic", "resist fire", "resist electricity", "resist cold",
186"resist confusion", "resist acid", "resist drain", 186"resist confusion", "resist acid", "resist drain",
187"resist weaponmagic", "resist ghosthit", "resist poison", "resist slow", 187"resist weaponmagic", "resist ghosthit", "resist poison", "resist slow",
188"resist paralyzation", "resist turn undead", "resist fear", 188"resist paralyzation", "resist turn undead", "resist fear",
189"resist cancellation", "resist depletion", "resist death", "resist chaos", 189"resist cancellation", "resist depletion", "resist death", "resist chaos",
193}; 193};
194 194
195/* These are the descriptions of the resistances displayed when a 195/* These are the descriptions of the resistances displayed when a
196 * player puts on/takes off an item. See change_abil() in living.c. 196 * player puts on/takes off an item. See change_abil() in living.c.
197 */ 197 */
198EXTERN char *change_resist_msg[NROFATTACKS] = { 198EXTERN const char* change_resist_msg[NROFATTACKS] = {
199"physical", "magic", "fire", "electricity", "cold", "confusion", "acid", 199"physical", "magic", "fire", "electricity", "cold", "confusion", "acid",
200"draining", "weapon magic", "ghosts", "poison", "slow", "paralyze", 200"draining", "weapon magic", "ghosts", "poison", "slow", "paralyze",
201"turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos", 201"turn undead", "fear", "cancellation", "depletion", "death attacks", "chaos",
202"counterspell", "god power", "holy word", "blinding attacks", "internal", 202"counterspell", "god power", "holy word", "blinding attacks", "internal",
203"life stealing", "disease" 203"life stealing", "disease"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines