const.cpp
./rogue25b1/src/const.cpp · 73.9 KB
From the archive rogue2.5b1.tar.gz
Download the archive « Back to the archive contents
/***************************************************************************
* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *
* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *
* *
* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *
* Chastain, Michael Quan, and Mitchell Tse. *
* *
* In order to use any part of this Merc Diku Mud, you must comply with *
* both the original Diku license in 'license.doc' as well the Merc *
* license in 'license.txt'. In particular, you may not remove either of *
* these copyright notices. *
* *
* Much time and thought has gone into this software and you are *
* benefitting. We hope that you share your changes too. What goes *
* around, comes around. *
***************************************************************************/
/***************************************************************************
* ROM 2.4 is copyright 1993-1998 Russ Taylor *
* ROM has been brought to you by the ROM consortium *
* Russ Taylor (rtaylor@hypercube.org) *
* Gabrielle Taylor (gtaylor@hypercube.org) *
* Brian Moore (zump@rom.org) *
* By using this code, you have agreed to follow the terms of the *
* ROM license, in the file Rom24/doc/rom.license *
***************************************************************************/
#include "merc.h"
#include "magic.h"
#include "interp.h"
char roguemud_version[] = {
"Rogue MUD: Version 2.5b1\n\r"
"Compiled on " __DATE__ " at " __TIME__ ".\n\r"
};
char *MENU =
"\n\r"
"Rogue MUD: Menu Mode!\n\r"
"0) Exit the game.\n\r"
"1) Enter the game.\n\r"
"2) Enter description.\n\r"
"3) Change last name.\n\r"
"4) Change password.\n\r"
"5) Delete this character.\n\r"
"\n\r"
" Make your choice: ";
char *WELC_MESSG =
"\n\r"
"Welcome to Rogue v2.4. Feed the mobs at your own risk!\n\r";
char *ability_type[] = {
"strength",
"intelligence",
"wisdom",
"dexterity",
"constitution",
"charisma",
"\n"
};
char *align_names[] = {
"any",
"lawful good",
"lawful neutral",
"lawful evil",
"neutral good",
"true neutral",
"neutral evil",
"chaotic good",
"chaotic neutral",
"chaotic evil",
"\n"
};
/* Body Type */
char *body_type[] = {
"slender",
"wiry",
"broad",
"large",
"muscular",
"heavy",
"normal",
"fragile",
"overweight",
"tall",
"stocky",
"voluptuous",
"puny",
"\n"
};
char *facial_style[] = {
"ordinary",
"round",
"long",
"pleasant",
"plain",
"gentle",
"rugged",
"scary",
"ugly",
"distinguished",
"chubby",
"chiseled",
"\n"
};
char *eye_color[] = {
"blue",
"brown",
"green",
"hazel",
"black",
"gray",
"emerald",
"\n"
};
char *skin_color[] = {
"pale",
"tan",
"brown",
"\n"
};
char *hair_color[] = {
"blonde",
"red",
"brown",
"gray",
"light blonde",
"dark blonde",
"auburn",
"light brown",
"strawberry blonde",
"white",
"silver",
"\n"
};
char *hair_length[] = {
"short",
"close",
"cropped",
"shoulder length",
"long",
"waist long",
"crewcut",
"partially bald",
"\n"
};
char *hair_type[] = {
"curly",
"straight",
"wavey",
"shaggy",
"kinky",
"dreadlocked",
"nappy",
"thick",
"thin",
"\n"
};
/* PLR_x */
char *player_bits[] = {
"ISNPC",
"AUTODAM",
"AUTOASS",
"AUTOEX",
"AUTOLOOT",
"AUTOSAC",
"AUTOGOLD",
"AUTOSPLIT",
"QUESTING",
"UNUSED09",
"LOADRM",
"HOLYLIGHT",
"CANLOOT",
"NOSUMN",
"NOFOLL",
"LONGEX",
"AUTOMAP",
"PUEBLO",
"MSP",
"PERMIT",
"LOGGED",
"UNUSED21",
"FROZEN",
"THIEF",
"KILLER",
"!HASS",
"LOG1",
"LOG2",
"WRITING",
"UNUSED29",
"UNUSED30",
"UNUSED31", // end of bits
"\n"
};
char *staff_bits[] = {
"GENERAL",
"ADMIN",
"SECURITY",
"GAME",
"SECADMIN",
"CHARACTERS",
"CLANS",
"OLC",
"OLCADMIN",
"SOCIALS",
"HELP",
"SCRIPTS",
"CODER",
"ASSOCIATE",
"TRAINEE",
"PUEBLO",
"\n"
};
char *comm_bits[] = {
"QUIET",
"!TELL",
"!WIZ",
"UNUSED03",
"!CHAT",
"UNUSED05",
"!MUSIC",
"!CLAN",
"!QUEST",
"!SHOUT",
"!INFO",
"COMPACT",
"BRIEF",
"PROMPT",
"COMBINE",
"TEL_GA",
"AFFECTS",
"!GRATS",
"!PUEBLO",
"MUTED",
"!SNOOP",
"AFK",
"UNUSED22",
"UNUSED23",
"UNUSED24",
"UNUSED25",
"UNUSED26",
"UNUSED27",
"UNUSED28",
"UNUSED29",
"UNUSED30",
"UNUSED31", // end of bits
"\n"
};
char *room_bits[] = {
"DARK",
"VEHICLE",
"!MOB",
"INDOORS",
"VACUUM",
"SPACECRAFT",
"CAN-LAND",
"UNUSED7",
"UNUSED8",
"PRIVATE",
"SAFE",
"SOLITARY",
"PETSHOP",
"!RECALL",
"IMP-ONLY",
"GOD-ONLY",
"HERO-ONLY",
"NEWBIE-ONLY",
"LAW",
"NOWHERE",
"UNUSED20",
"UNUSED21",
"UNUSED22",
"UNUSED23",
"UNUSED24",
"UNUSED25",
"UNUSED26",
"UNUSED27",
"UNUSED28",
"UNUSED29",
"UNUSED30",
"DELETED",
"\n"
};
char *desc_bits[] = {
"CANZLIB",
"HASMSP",
"HASMXP",
"PUEBLO",
"ANSI",
"MXPON",
"MCPON",
"MSPON",
"\n"
};
UInt32 xp_table[21] = {
0, // level 0 placeholder
0, // level 1
1000, // level 2
3000, // level 3
6000, // level 4
10000, // level 5
15000, // level 6
21000, // level 7
28000, // level 8
36000, // level 9
45000, // level 10
55000, // level 11
66000, // level 12
78000, // level 13
91000, // level 14
105000, // level 15
120000, // level 16
136000, // level 17
153000, // level 18
171000, // level 19
190000 // level 20 max level
};
SInt32 abil_mod[23] = {
-5,
-4,
-3,
-2,
-1,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17
};
SInt32 age_table[MAX_PC_RACE] = {
0, // null race
15, // Human
110, // Elf
40, // Dwarf
20, // Half-elf
40, // Gnome
20, // Kender
14, // Draconian
};
SInt32 get_abil_mod(SInt32 score) {
return abil_mod[UMIN(22, UMAX(0, score / 2))];
}
ACMD(do_test) {
ch->Send("That is a %d modifier.\n\r", get_abil_mod(atoi(argument)));
}
/* item type list */
const struct item_type item_table [] =
{
{ ITEM_LIGHT, "light" },
{ ITEM_SCROLL, "scroll" },
{ ITEM_WAND, "wand" },
{ ITEM_STAFF, "staff" },
{ ITEM_WEAPON, "weapon" },
{ ITEM_INSTRUMENT, "instrument" },
{ ITEM_BODYPART, "bodypart" },
{ ITEM_TREASURE, "treasure" },
{ ITEM_ARMOR, "armor" },
{ ITEM_POTION, "potion" },
{ ITEM_CLOTHING, "clothing" },
{ ITEM_FURNITURE, "furniture" },
{ ITEM_TRASH, "trash" },
{ ITEM_QUEST, "quest" },
{ ITEM_CONTAINER, "container" },
{ ITEM_DRINK_CON, "drink" },
{ ITEM_KEY, "key" },
{ ITEM_FOOD, "food" },
{ ITEM_MONEY, "money" },
{ ITEM_BOAT, "boat" },
{ ITEM_CORPSE_NPC,"npc_corpse" },
{ ITEM_CORPSE_PC, "pc_corpse" },
{ ITEM_FOUNTAIN, "fountain" },
{ ITEM_PILL, "pill" },
{ ITEM_PROTECT, "protect" },
{ ITEM_MAP, "map" },
{ ITEM_PORTAL, "portal" },
{ ITEM_WARP_STONE,"warp_stone" },
{ ITEM_ROOM_KEY, "room_key" },
{ ITEM_GEM, "gem" },
{ ITEM_JEWELRY, "jewelry" },
{ ITEM_JUKEBOX, "jukebox" },
{ ITEM_NOTE, "note" },
{ ITEM_VEHICLE, "vehicle" },
{ ITEM_V_HATCH, "v_hatch" },
{ ITEM_V_CONTROLS,"v_controls" },
{ ITEM_V_WINDOW, "v_window" },
{ 0, NULL }
};
char *relation_colors = "nyr";
char *relations[] = {
"friend",
"neutral",
"enemy",
"\n"
};
/* weapon selection table */
const struct weapon_type weapon_table [] =
{
{ "sword", OBJ_VNUM_SCHOOL_SWORD, WEAPON_SWORD, &gsn_sword },
{ "mace", OBJ_VNUM_SCHOOL_MACE, WEAPON_MACE, &gsn_mace },
{ "dagger", OBJ_VNUM_SCHOOL_DAGGER, WEAPON_DAGGER, &gsn_dagger },
{ "axe", OBJ_VNUM_SCHOOL_AXE, WEAPON_AXE, &gsn_axe },
{ "staff", OBJ_VNUM_SCHOOL_STAFF, WEAPON_SPEAR, &gsn_spear },
{ "flail", OBJ_VNUM_SCHOOL_FLAIL, WEAPON_FLAIL, &gsn_flail },
{ "whip", OBJ_VNUM_SCHOOL_WHIP, WEAPON_WHIP, &gsn_whip },
{ "polearm", OBJ_VNUM_SCHOOL_POLEARM,WEAPON_POLEARM, &gsn_polearm },
{ "quarterstaff", OBJ_VNUM_SCHOOL_QSTAFF, WEAPON_QUARTERSTAFF, &gsn_quarterstaff},
{ NULL, 0, 0, NULL }
};
/* attack table -- not very organized :( */
const struct attack_type attack_table [MAX_DAMAGE_MESSAGE] =
{
{ "none", "hit", -1 }, /* 0 */
{ "slice", "slice", DAM_SLASH },
{ "stab", "stab", DAM_PIERCE },
{ "slash", "slash", DAM_SLASH },
{ "whip", "whip", DAM_SLASH },
{ "claw", "claw", DAM_SLASH }, /* 5 */
{ "blast", "blast", DAM_BASH },
{ "pound", "pound", DAM_BASH },
{ "crush", "crush", DAM_BASH },
{ "grep", "grep", DAM_SLASH },
{ "bite", "bite", DAM_PIERCE }, /* 10 */
{ "pierce", "pierce", DAM_PIERCE },
{ "suction", "suction", DAM_BASH },
{ "beating", "beating", DAM_BASH },
{ "digestion", "digestion", DAM_ACID },
{ "charge", "charge", DAM_BASH }, /* 15 */
{ "slap", "slap", DAM_BASH },
{ "punch", "punch", DAM_BASH },
{ "wrath", "wrath", DAM_ENERGY },
{ "magic", "magic", DAM_ENERGY },
{ "divine", "divine power", DAM_HOLY }, /* 20 */
{ "cleave", "cleave", DAM_SLASH },
{ "scratch", "scratch", DAM_PIERCE },
{ "peck", "peck", DAM_PIERCE },
{ "peckb", "peck", DAM_BASH },
{ "chop", "chop", DAM_SLASH }, /* 25 */
{ "sting", "sting", DAM_PIERCE },
{ "smash", "smash", DAM_BASH },
{ "shbite", "shocking bite",DAM_LIGHTNING },
{ "flbite", "flaming bite", DAM_FIRE },
{ "frbite", "freezing bite", DAM_COLD }, /* 30 */
{ "acbite", "acidic bite", DAM_ACID },
{ "chomp", "chomp", DAM_PIERCE },
{ "drain", "life drain", DAM_NEGATIVE },
{ "thrust", "thrust", DAM_PIERCE },
{ "slime", "slime", DAM_ACID },
{ "shock", "shock", DAM_LIGHTNING },
{ "thwack", "thwack", DAM_BASH },
{ "flame", "flame", DAM_FIRE },
{ "chill", "chill", DAM_COLD },
{ NULL, NULL, 0 }
};
const struct deity_type deity_table [] =
{
/*
{
"Name", "Description",
"Domains", ALIGNMENT,
{ -1, Hum, Elf, Dwf, Hlf, Gno, Ken, Dra },
{ Bar, Cle, Dru, Fig, Pal, Ran, Rog, Wiz }
},
*/
{
"Paladine", "the God of Rulership",
"Good, Law, Protection, Sun", ALIGN_GOOD,
{ },
{ }
},
{
"Mishakal", "the Goddess of Healing",
"Healing, Luck, Mercy, Protection", ALIGN_GOOD,
{ },
{ }
},
{
"Kiri-Jolith", "the God of Justice and Manhood",
"Law, Protection, Strength, War", ALIGN_GOOD,
{ },
{ }
},
{
"Solinari", "the God of Good Magic",
"Good, Knowledge, Magic", ALIGN_GOOD,
{ },
{ }
},
{
"Branchala", "the God of Elves, Kender, and Creativity",
"Luck, Good, Song", ALIGN_NEUTRAL | ALIGN_GOOD,
{ },
{ }
},
{
"Habbakuk", "the God of Sea and Sky",
"Air, Sun, Travel, Water", ALIGN_NEUTRAL | ALIGN_GOOD,
{ }, { }
},
{
"Majere", "the God of Wisdom and Contemplation",
"Animal, Knowledge, Mind, Protection", ALIGN_NEUTRAL | ALIGN_GOOD,
{ }, { }
},
{
"Chislev", "the Supreme Goddess of the Natural World",
"Animal, Healing, Plant, Protection", ALIGN_NEUTRAL,
{ }, { }
},
{
"Gilean", "the God of Meditation and Learning",
"Knowledge, Magic, Protection", ALIGN_NEUTRAL,
{ }, { }
},
{
"Lunitari", "the Goddess of Neutral Magic and Illusions",
"Knowledge, Magic, Transformation", ALIGN_NEUTRAL,
{ }, { }
},
{
"Reorx", "the God of the Forge",
"Earth, Law, Strength, War", ALIGN_NEUTRAL,
{ }, { }
},
{
"Shinare", "the Goddess of Trade, Industry and Civilisation",
"Knowledge, Law, Luck, Protection", ALIGN_NEUTRAL,
{ }, { }
},
{
"Sirrion", "the God of Change and Flame",
"Chaos, Fire, Knowledge, Luck", ALIGN_NEUTRAL,
{ }, { }
},
{
"Zivilyn", "the God of Wisdom, Time and the Universe",
"Knowledge, Plant, Sun, World", ALIGN_NEUTRAL,
{ }, { }
},
{
"Morgion", "the God of Disease and Mystery",
"Destruction, Evil, Healing", ALIGN_EVIL | ALIGN_NEUTRAL,
{ }, { }
},
{
"Chemosh", "the God of Undeath",
"Death, Evil, Plant", ALIGN_EVIL,
{ }, { }
},
{
"Nuitari", "the God of Dark Magic",
"Evil, Knowledge, Magic", ALIGN_EVIL,
{ }, { }
},
{
"Sargonnas", "the Minotaur God",
"Destruction, Fire, Strength, Trickery", ALIGN_EVIL,
{ }, { }
},
{
"Takhisis", "the Dark Goddess of Dragons",
"Evil, Healing, Trickery, War", ALIGN_EVIL,
{ }, { }
},
{
"Hiddukel", "the God of Deceit, Wealth, and Tyrants",
"Chaos, Knowledge, Trickery", ALIGN_EVIL,
{ }, { }
},
{
"Zeboim", "the Goddess of Tempests and the Sea",
"Animal, Chaos, Water", ALIGN_EVIL,
{ }, { }
},
{
NULL, NULL, NULL, 0, { }, { }
}
};
/* race table */
const struct race_type race_table [] =
{
/*
{
name, pc_race?,
act bits, aff_by bits, aff2 bits, off bits,
imm, res, vuln,
form, parts
},
*/
{ "unique", FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{
"human", TRUE,
0, 0, 0, 0,
0, 0, 0,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"elf", TRUE,
0, AFF_INFRARED, 0, 0,
0, RES_CHARM, VULN_IRON,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"dwarf", TRUE,
0, AFF_INFRARED, 0, 0,
0, RES_POISON|RES_DISEASE, VULN_DROWNING,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"half-elf", TRUE,
0, 0, 0, 0,
0, 0, 0,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"gnome", TRUE,
0, 0, 0, 0,
0, 0, 0,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"kender", TRUE,
0, 0, 0, 0,
0, 0, 0,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"draconian", TRUE,
0, 0, 0, 0,
0, 0, 0,
A|H|Z, A|C|D|E|F|G|H|I|J|K|P|Q|U|V|X
},
{
"giant", FALSE,
0, 0, 0, 0,
0, RES_FIRE|RES_COLD, VULN_MENTAL|VULN_LIGHTNING,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"bat", FALSE,
0, AFF_FLYING|AFF_DARK_VISION, 0,
OFF_DODGE|OFF_FAST,
0, 0, VULN_LIGHT,
A|G|V, A|C|D|E|F|H|J|K|P
},
{
"bear", FALSE,
0, 0, 0, OFF_CRUSH|OFF_DISARM|OFF_BERSERK,
0, RES_BASH|RES_COLD, 0,
A|G|V, A|B|C|D|E|F|H|J|K|U|V
},
{
"cat", FALSE,
0, AFF_DARK_VISION, 0, OFF_FAST|OFF_DODGE,
0, 0, 0,
A|G|V, A|C|D|E|F|H|J|K|Q|U|V
},
{
"centipede", FALSE,
0, AFF_DARK_VISION,0, 0,
0, RES_PIERCE|RES_COLD, VULN_BASH,
A|B|G|O, A|C|K
},
{
"dog", FALSE,
0, 0, 0, OFF_FAST,
0, 0, 0,
A|G|V, A|C|D|E|F|H|J|K|U|V
},
{
"doll", FALSE,
0, 0, 0, 0,
IMM_COLD|IMM_POISON|IMM_HOLY|IMM_NEGATIVE|IMM_MENTAL|IMM_DISEASE
|IMM_DROWNING, RES_BASH|RES_LIGHT,
VULN_SLASH|VULN_FIRE|VULN_ACID|VULN_LIGHTNING|VULN_ENERGY,
E|J|M|cc, A|B|C|G|H|K
},
{ "dragon", FALSE,
0, AFF_INFRARED|AFF_FLYING, 0, 0,
0, RES_FIRE|RES_BASH|RES_CHARM,
VULN_PIERCE|VULN_COLD,
A|H|Z, A|C|D|E|F|G|H|I|J|K|P|Q|U|V|X
},
{
"fido", FALSE,
0, 0, 0, OFF_DODGE|ASSIST_RACE,
0, 0, VULN_MAGIC,
A|B|G|V, A|C|D|E|F|H|J|K|Q|V
},
{
"fox", FALSE,
0, AFF_DARK_VISION,0, OFF_FAST|OFF_DODGE,
0, 0, 0,
A|G|V, A|C|D|E|F|H|J|K|Q|V
},
{
"goblin", FALSE,
0, AFF_INFRARED, 0, 0,
0, RES_DISEASE, VULN_MAGIC,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"hobgoblin", FALSE,
0, AFF_INFRARED, 0, 0,
0, RES_DISEASE|RES_POISON, 0,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K|Y
},
{
"kobold", FALSE,
0, AFF_INFRARED,0, 0,
0, RES_POISON, VULN_MAGIC,
A|B|H|M|V, A|B|C|D|E|F|G|H|I|J|K|Q
},
{
"lizard", FALSE,
0, 0, 0, 0,
0, RES_POISON, VULN_COLD,
A|G|X|cc, A|C|D|E|F|H|K|Q|V
},
{
"modron", FALSE,
0, AFF_INFRARED, 0, ASSIST_RACE|ASSIST_ALIGN,
IMM_CHARM|IMM_DISEASE|IMM_MENTAL|IMM_HOLY|IMM_NEGATIVE,
RES_FIRE|RES_COLD|RES_ACID, 0,
H, A|B|C|G|H|J|K
},
{
"orc", FALSE,
0, AFF_INFRARED, 0, 0,
0, RES_DISEASE, VULN_LIGHT,
A|H|M|V, A|B|C|D|E|F|G|H|I|J|K
},
{
"pig", FALSE,
0, 0, 0, 0,
0, 0, 0,
A|G|V, A|C|D|E|F|H|J|K
},
{
"rabbit", FALSE,
0, 0, 0, OFF_DODGE|OFF_FAST,
0, 0, 0,
A|G|V, A|C|D|E|F|H|J|K
},
{
"school monster", FALSE,
ACT_NOALIGN, 0, 0, 0,
IMM_CHARM|IMM_SUMMON, 0, VULN_MAGIC,
A|M|V, A|B|C|D|E|F|H|J|K|Q|U
},
{
"snake", FALSE,
0, 0, 0, 0,
0, RES_POISON, VULN_COLD,
A|G|X|Y|cc, A|D|E|F|K|L|Q|V|X
},
{
"song bird", FALSE,
0, AFF_FLYING, 0, OFF_FAST|OFF_DODGE,
0, 0, 0,
A|G|W, A|C|D|E|F|H|K|P
},
{
"troll", FALSE,
0, AFF_REGENERATION|AFF_INFRARED|AFF_DETECT_HIDDEN,
0, OFF_BERSERK,
0, RES_CHARM|RES_BASH, VULN_FIRE|VULN_ACID,
A|B|H|M|V, A|B|C|D|E|F|G|H|I|J|K|U|V
},
{
"water fowl", FALSE,
0, AFF_SWIM|AFF_FLYING, 0, 0,
0, RES_DROWNING, 0,
A|G|W, A|C|D|E|F|H|K|P
},
{
"wolf", FALSE,
0, AFF_DARK_VISION, 0, OFF_FAST|OFF_DODGE,
0, 0, 0,
A|G|V, A|C|D|E|F|J|K|Q|V
},
{
"wyvern", FALSE,
0, AFF_FLYING|AFF_DETECT_INVIS|AFF_DETECT_HIDDEN,
0, OFF_BASH|OFF_FAST|OFF_DODGE,
IMM_POISON, 0, VULN_LIGHT,
A|B|G|Z, A|C|D|E|F|H|J|K|Q|V|X
},
{
"unique", FALSE,
0, 0, 0, 0,
0, 0, 0,
0, 0
},
{
NULL, 0, 0, 0, 0, 0, 0, 0
}
};
const struct pc_race_type pc_race_table [] = {
{
"null race", "null race", "NUL", SIZE_MEDIUM, FALSE,
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"human", "human", "Hum", SIZE_MEDIUM, FALSE,
{ 0, 0, 0, 0, 0, 0 }, // Ability Adjustments (used for rolling stats)
{ 0, // Body Type
0, // Facial Style
0, // Eye Color
0, // Skin Color
0, // Hair Color
0, // Hair Length
0 // Hair Type
}
},
{
"elf", "elven", "Elf", SIZE_MEDIUM, TRUE,
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 2, -2, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "dwarven", "Dwf", SIZE_MEDIUM, TRUE,
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 2, -2 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"half-elf", "half-elven", "Hlv", SIZE_MEDIUM, FALSE,
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"gnome", "gnomish", "Gno", SIZE_SMALL, FALSE,
// Str Int Wis Dex Con Cha
{ -2, 0, 0, 2, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"kender", "kender", "Ken", SIZE_SMALL, FALSE,
// Str Int Wis Dex Con Cha
{ -2, 0, 0, 2, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "draconian", "Dra", SIZE_MEDIUM, TRUE,
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
},
{
NULL, NULL, NULL, 0, FALSE,
{ 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0 }
}
};
const struct pc_subrace_type pc_subrace_table[] = {
{
"null subrace", "",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"elf", "silvanesti",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"elf", "qualinesti",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"elf", "kagonesti",
// Str Int Wis Dex Con Cha
{ 0, -2, 0, 0, +2, 0 }
},
{
"dwarf", "daergar",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "daewar",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "hylar",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "neidar",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "thiewar",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"dwarf", "zhakar",
// Str Int Wis Dex Con Cha
{ -2, 0, 0, 0, 0, 0 }
},
{
"draconian", "aurak",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "baaz",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "kapak",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "khardra",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "sivak",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "sesk",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
"draconian", "traag",
// Str Int Wis Dex Con Cha
{ 0, 0, 0, 0, 0, 0 }
},
{
NULL, NULL,
{ 0, 0, 0, 0, 0, 0 }
}
};
/*
* Class table.
*/
const struct class_type class_table [MAX_CLASS] = {
/*
* name who hd alignment
*/
{ "barbarian", "Bar", 12, ALIGN_BARBARIAN },
{ "cleric", "Cle", 8, ALIGN_ANY },
{ "druid", "Dru", 8, ALIGN_DRUID },
{ "fighter", "Fig", 10, ALIGN_ANY },
{ "paladin", "Pal", 10, ALIGN_LAWFUL_GOOD },
{ "ranger", "Ran", 10, ALIGN_ANY },
{ "rogue", "Rog", 6, ALIGN_ANY },
{ "wizard", "Wiz", 4, ALIGN_ANY }
};
/*
* Titles.
*/
char * const title_table [MAX_CLASS][MAX_LEVEL+1][2] =
{
{ // Barbarians
{ "Man", "Woman" },
{ "1", "1" },
{ "2", "2" },
{ "3", "3" },
{ "4", "4" },
{ "5", "5" },
{ "6", "6" },
{ "7", "7" },
{ "8", "8" },
{ "9", "9" },
{ "10", "10" },
{ "11", "11" },
{ "12", "12" },
{ "13", "13" },
{ "14", "14" },
{ "15", "15" },
{ "16", "16" },
{ "17", "17" },
{ "18", "18" },
{ "19", "19" },
{ "20", "20" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Clerics
{ "Man", "Woman" },
{ "Believer", "Believer" },
{ "Attendant", "Attendant" },
{ "Acolyte", "Acolyte" },
{ "Novice", "Novice" },
{ "Missionary", "Missionary" },
{ "Adept", "Adept" },
{ "Deacon", "Deaconess" },
{ "Vicar", "Vicaress" },
{ "Priest", "Priestess" },
{ "Minister", "Lady Minister" },
{ "Levite", "Levitess" },
{ "Curate", "Curess" },
{ "Healer", "Healess" },
{ "Expositor", "Expositress" },
{ "Arch Bishop", "Arch Lady of the Church" },
{ "Demon Killer", "Demon Killer" },
{ "Greater Demon Killer", "Greater Demon Killer" },
{ "Cardinal of the Ether", "Cardinal of the Ether" },
{ "Cardinal of the Heavens", "Cardinal of the Heavens" },
{ "Master of all Divinity", "Mistress of all Divinity" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Druids
{ "Man", "Woman" },
{ "Aspirant", "Aspirant" },
{ "Ovate", "Ovate" },
{ "Initiate of the 1st Circle", "Initiate of the 1st Circle" },
{ "Initiate of the 2nd Circle", "Initiate of the 2nd Circle" },
{ "Initiate of the 3rd Circle", "Initiate of the 3rd Circle" },
{ "Initiate of the 4th Circle", "Initiate of the 4th Circle" },
{ "Initiate of the 5th Circle", "Initiate of the 5th Circle" },
{ "Initiate of the 6th Circle", "Initiate of the 6th Circle" },
{ "Initiate of the 7th Circle", "Initiate of the 7th Circle" },
{ "Initiate of the 8th Circle", "Initiate of the 8th Circle" },
{ "Initiate of the 9th Circle", "Initiate of the 9th Circle" },
{ "Druid", "Druid" },
{ "Archdruid", "Archdruid" },
{ "Great Druid", "Great Druid" },
{ "Grand Druid", "Grand Druid" },
{ "Hierophant Druid", "Hierophant Druid" },
{ "Hierophant Adept", "Hierophant Adept" },
{ "Hierophant Master", "Hierophant Master" },
{ "Mystic Hierophant", "Mystic Hierophant" },
{ "Arcane Hierophant", "Arcane Hierophant" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Fighters
{ "Man", "Woman" },
{ "Swordpupil", "Swordpupil" },
{ "Recruit", "Recruit" },
{ "Sentry", "Sentry" },
{ "Fighter", "Fighter" },
{ "Soldier", "Soldier" },
{ "Warrior", "Warrior" },
{ "Veteran", "Veteran" },
{ "Swordsman", "Swordsman" },
{ "Fencer", "Fencer" },
{ "Combatant", "Combatess" },
{ "Myrmidon", "Myrmidon" },
{ "Swashbuckler", "Swashbuckleress" },
{ "Mercenary", "Mercenaress" },
{ "Swordmaster", "Swordmistress" },
{ "Champion", "Lady Champion" },
{ "Dragoon", "Lady Dragoon" },
{ "Cavalier", "Lady Cavalier" },
{ "Knight", "Lady Knight" },
{ "Grand Knight", "Grand Knight" },
{ "Master Knight", "Master Knight" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Paladins
{ "Man", "Woman" },
{ "Shield Bearer", "Shield Bearer" },
{ "Sword Bearer", "Sword Bearer" },
{ "Bow Bearer", "Bow Bearer" },
{ "Standard Bearer", "Standard Bearer" },
{ "Horseman", "Horsewoman" },
{ "Squire", "Squire" },
{ "Footman", "Footwoman" },
{ "Pikeman", "Pikewoman" },
{ "Bowman", "Bowwoman" },
{ "Swordsman", "Swordswoman" },
{ "Chivalrous", "Chivalrous" },
{ "Paladin", "Paladin" },
{ "Cavalier", "Cavalier" },
{ "Champion", "Champion" },
{ "Knight", "Knight" },
{ "Paladin Knight", "Paladin Knight" },
{ "Templar Initiate", "Templar Initiate" },
{ "Knight Templar", "Lady Templar" },
{ "Lord of the Templar", "Lady of the Templar" },
{ "Holy Knight", "Holy Knight" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Rangers
{ "Man", "Woman" },
{ "Apprentice of the Hunt", "Apprentice of the Hunt" },
{ "Runner", "Runner" },
{ "Strider", "Strider" },
{ "Scout", "Scout" },
{ "Explorer", "Explorer" },
{ "Tracker", "Tracker" },
{ "Survivalist", "Survivalist" },
{ "Watcher", "Watcher" },
{ "Hunter", "Hunter" },
{ "Woodsman", "Woodsman" },
{ "Pathfinder", "Pathfinder" },
{ "Stalker", "Stalker" },
{ "Deerhunter", "Deerhunter" },
{ "Falconer", "Falconer" },
{ "Manhunter", "Manhunter" },
{ "Gianthunter", "Gianthunter" },
{ "Lord of the Hunt", "Lady of the Hunt" },
{ "Master of the Hunt", "Mistress of the Hunt" },
{ "Beastmaster", "Beastmistress" },
{ "Dragonhunter", "Dragonhunter" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Rogues
{ "Man", "Woman" },
{ "Pilferer", "Pilferess" },
{ "Footpad", "Footpad" },
{ "Filcher", "Filcheress" },
{ "Pick-Pocket", "Pick-Pocket" },
{ "Sneak", "Sneak" },
{ "Pincher", "Pincheress" },
{ "Cut-Purse", "Cut-Purse" },
{ "Snatcher", "Snatcheress" },
{ "Sharper", "Sharpress" },
{ "Rogue", "Rogue" },
{ "Magsman", "Magswoman" },
{ "Burgler", "Burgleress" },
{ "Thief", "Thief" },
{ "Knifer", "Knifer" },
{ "Quick-Blade", "Quick-Blade" },
{ "Brigand", "Brigand" },
{ "Cut-Throat", "Cut-Throat" },
{ "Spy", "Spy" },
{ "Grand Spy", "Grand Spy" },
{ "Master Spy", "Master Spy" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
},
{ // Wizards
{ "Man", "Woman" },
{ "Apprentice of Magic", "Apprentice of Magic" },
{ "Spell Student", "Spell Student" },
{ "Scholar of Magic", "Scholar of Magic" },
{ "Delver in Spells", "Delveress in Spells" },
{ "Medium of Magic", "Medium of Magic" },
{ "Scribe of Magic", "Scribess of Magic" },
{ "Illusionist", "Illusionist" },
{ "Abjurer", "Abjurer" },
{ "Invoker", "Invoker" },
{ "Enchanter", "Enchantress" },
{ "Conjurer", "Conjuress" },
{ "Savant", "Savant" },
{ "Magus", "Craftess" },
{ "Wizard", "Wizard" },
{ "Sorcerer", "Sorceress" },
{ "Elder Sorcerer", "Elder Sorceress" },
{ "Grand Sorcerer", "Grand Sorceress" },
{ "Great Sorcerer", "Great Sorceress" },
{ "Summoner", "Summoner" },
{ "Great Summoner", "Great Summoner" },
{ "Avatar", "Angel" },
{ "Demigod", "Gemigoddess" },
{ "God", "Goddess" },
{ "Supreme Deity", "Supreme Deity" },
{ "Implementor", "Implementress" }
}
};
/*
* Attribute bonus tables.
*/
const struct str_app_type str_app [26] =
{
{ -5, -4, 0, 0 }, /* 0 */
{ -5, -4, 3, 1 }, /* 1 */
{ -3, -2, 3, 2 },
{ -3, -1, 10, 3 }, /* 3 */
{ -2, -1, 25, 4 },
{ -2, -1, 55, 5 }, /* 5 */
{ -1, 0, 80, 6 },
{ -1, 0, 90, 7 },
{ 0, 0, 100, 8 },
{ 0, 0, 100, 9 },
{ 0, 0, 115, 10 }, /* 10 */
{ 0, 0, 115, 11 },
{ 0, 0, 130, 12 },
{ 0, 0, 130, 13 }, /* 13 */
{ 0, 1, 140, 14 },
{ 1, 1, 150, 15 }, /* 15 */
{ 1, 2, 165, 16 },
{ 2, 3, 180, 22 },
{ 2, 3, 200, 25 }, /* 18 */
{ 3, 4, 225, 30 },
{ 3, 5, 250, 35 }, /* 20 */
{ 4, 6, 300, 40 },
{ 4, 6, 350, 45 },
{ 5, 7, 400, 50 },
{ 5, 8, 450, 55 },
{ 6, 9, 500, 60 } /* 25 */
};
const struct int_app_type int_app [26] =
{
{ 3 }, /* 0 */
{ 5 }, /* 1 */
{ 7 },
{ 8 }, /* 3 */
{ 9 },
{ 10 }, /* 5 */
{ 11 },
{ 12 },
{ 13 },
{ 15 },
{ 17 }, /* 10 */
{ 19 },
{ 22 },
{ 25 },
{ 28 },
{ 31 }, /* 15 */
{ 34 },
{ 37 },
{ 40 }, /* 18 */
{ 44 },
{ 49 }, /* 20 */
{ 55 },
{ 60 },
{ 70 },
{ 80 },
{ 85 } /* 25 */
};
const struct wis_app_type wis_app [26] =
{
{ 0 }, /* 0 */
{ 0 }, /* 1 */
{ 0 },
{ 0 }, /* 3 */
{ 0 },
{ 1 }, /* 5 */
{ 1 },
{ 1 },
{ 1 },
{ 1 },
{ 1 }, /* 10 */
{ 1 },
{ 1 },
{ 1 },
{ 1 },
{ 2 }, /* 15 */
{ 2 },
{ 2 },
{ 3 }, /* 18 */
{ 3 },
{ 3 }, /* 20 */
{ 3 },
{ 4 },
{ 4 },
{ 4 },
{ 5 } /* 25 */
};
const struct dex_app_type dex_app [26] =
{
{ 60 }, /* 0 */
{ 50 }, /* 1 */
{ 50 },
{ 40 },
{ 30 },
{ 20 }, /* 5 */
{ 10 },
{ 0 },
{ 0 },
{ 0 },
{ 0 }, /* 10 */
{ 0 },
{ 0 },
{ 0 },
{ 0 },
{ - 10 }, /* 15 */
{ - 15 },
{ - 20 },
{ - 30 },
{ - 40 },
{ - 50 }, /* 20 */
{ - 60 },
{ - 75 },
{ - 90 },
{ -105 },
{ -120 } /* 25 */
};
const struct con_app_type con_app [26] =
{
{ -4, 20 }, /* 0 */
{ -3, 25 }, /* 1 */
{ -2, 30 },
{ -2, 35 }, /* 3 */
{ -1, 40 },
{ -1, 45 }, /* 5 */
{ -1, 50 },
{ 0, 55 },
{ 0, 60 },
{ 0, 65 },
{ 0, 70 }, /* 10 */
{ 0, 75 },
{ 0, 80 },
{ 0, 85 },
{ 0, 88 },
{ 1, 90 }, /* 15 */
{ 2, 95 },
{ 2, 97 },
{ 3, 99 }, /* 18 */
{ 3, 99 },
{ 4, 99 }, /* 20 */
{ 4, 99 },
{ 5, 99 },
{ 6, 99 },
{ 7, 99 },
{ 8, 99 } /* 25 */
};
/*
* Liquid properties.
* Used in world.obj.
*/
const struct liq_type liq_table [] =
{
/* name color proof, full, thirst, food, ssize */
{ "water", "clear", { 0, 1, 10, 0, 16 } },
{ "beer", "amber", { 12, 1, 8, 1, 12 } },
{ "red wine", "burgundy", { 30, 1, 8, 1, 5 } },
{ "ale", "brown", { 15, 1, 8, 1, 12 } },
{ "dark ale", "dark", { 16, 1, 8, 1, 12 } },
{ "whisky", "golden", { 120, 1, 5, 0, 2 } },
{ "lemonade", "pink", { 0, 1, 9, 2, 12 } },
{ "firebreather", "boiling", { 190, 0, 4, 0, 2 } },
{ "local specialty", "clear", { 151, 1, 3, 0, 2 } },
{ "slime mold juice", "green", { 0, 2, -8, 1, 2 } },
{ "milk", "white", { 0, 2, 9, 3, 12 } },
{ "tea", "tan", { 0, 1, 8, 0, 6 } },
{ "coffee", "black", { 0, 1, 8, 0, 6 } },
{ "blood", "red", { 0, 2, -1, 2, 6 } },
{ "salt water", "clear", { 0, 1, -2, 0, 1 } },
{ "coke", "brown", { 0, 2, 9, 2, 12 } },
{ "dr pepper", "brown", { 0, 2, 9, 2, 12 } },
{ "elvish wine", "green", { 35, 2, 8, 1, 5 } },
{ "white wine", "golden", { 28, 1, 8, 1, 5 } },
{ "champagne", "golden", { 32, 1, 8, 1, 5 } },
{ "mead", "honey-colored",{ 34, 2, 8, 2, 12 } },
{ "rose wine", "pink", { 26, 1, 8, 1, 5 } },
{ "benedictine wine", "burgundy", { 40, 1, 8, 1, 5 } },
{ "vodka", "clear", { 130, 1, 5, 0, 2 } },
{ "cranberry juice", "red", { 0, 1, 9, 2, 12 } },
{ "orange juice", "orange", { 0, 2, 9, 3, 12 } },
{ "absinthe", "green", { 200, 1, 4, 0, 2 } },
{ "brandy", "golden", { 80, 1, 5, 0, 4 } },
{ "aquavit", "clear", { 140, 1, 5, 0, 2 } },
{ "schnapps", "clear", { 90, 1, 5, 0, 2 } },
{ "icewine", "purple", { 50, 2, 6, 1, 5 } },
{ "amontillado", "burgundy", { 35, 2, 8, 1, 5 } },
{ "sherry", "red", { 38, 2, 7, 1, 5 } },
{ "framboise", "red", { 50, 1, 7, 1, 5 } },
{ "rum", "amber", { 151, 1, 4, 0, 2 } },
{ "cordial", "clear", { 100, 1, 5, 0, 2 } },
{ NULL, NULL, { 0, 0, 0, 0, 0 } }
};
/*
* The skill and spell table.
* Slot numbers must never be changed as they appear in #OBJECTS sections.
*/
#define SLOT(n) n
const struct skill_type skill_table [MAX_SKILL] =
{
/*
* Magic spells.
*/
{
"reserved", { 199, 199, 199, 199, 199, 199, 199, 199 },
{ 199, 199, 199, 199, 199, 199, 199, 199 },
0, TAR_IGNORE, POS_STANDING,
NULL, SLOT( 0), 0, 0,
"", "", ""
},
{
"acid blast", { 55, 93, 101, 101, 101, 93, 101, 101 }, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_acid_blast, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(70), 20, 12,
"acid blast", "!Acid Blast!"
},
{
"armor", { 13, 2, 101, 101 }, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_armor, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT( 1), 5, 12,
"", "You feel less armored.", ""
},
{
"bless", { 101, 13, 101, 101, 41, 16, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_bless, TAR_OBJ_CHAR_DEF, POS_STANDING,
NULL, SLOT( 3), 5, 12,
"", "You feel less righteous.",
"$p's holy aura fades."
},
{
"blindness", { 24, 15, 101, 101, 101, 20, 101, 50}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_blindness, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
&gsn_blindness, SLOT( 4), 5, 12,
"", "You can see again.", ""
},
{
"burning hands", { 13, 87, 101, 101, 101, 47, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_burning_hands, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT( 5), 15, 12,
"burning hands", "!Burning Hands!", ""
},
{
"call lightning", { 101, 36, 101, 101, 84, 31, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_call_lightning, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT( 6), 15, 12,
"lightning bolt", "!Call Lightning!", ""
},
{ "calm", { 85, 32, 101, 101, 50, 45, 101, 30}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_calm, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(509), 30, 12,
"", "You have lost your peace of mind.", ""
},
{
"cancellation", { 51, 51, 101, 101, 51, 51, 101, 51}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cancellation, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(507), 20, 12,
"" "!cancellation!", ""
},
{
"cause critical", { 45, 45, 101, 101, 101, 45, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cause_critical, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(63), 20, 12,
"spell", "!Cause Critical!", ""
},
{
"cause light", { 5, 2, 101, 101, 30, 11, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cause_light, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(62), 15, 12,
"spell", "!Cause Light!", ""
},
{
"cause serious", { 20, 23, 101, 101, 101, 25, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cause_serious, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(64), 17, 12,
"spell", "!Cause Serious!", ""
},
{
"chain lightning", { 66, 101, 101, 101, 101, 50, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_chain_lightning, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(500), 25, 12,
"lightning", "!Chain Lightning!", ""
},
{
"change sex", { 53, 53, 101, 101, 101, 53, 101, 53 }, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_change_sex, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(82), 15, 12,
"", "Your body feels familiar again.", ""
},
{
"charm person", { 40, 30, 50, 101, 101, 30, 101, 50}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_charm_person, TAR_CHAR_OFFENSIVE, POS_STANDING,
&gsn_charm_person, SLOT( 7), 5, 12,
"", "You feel more self-confident.", ""
},
{
"chill touch", { 12, 101, 101, 101, 101, 101, 101, 12}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_chill_touch, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT( 8), 15, 12,
"chilling touch", "You feel less cold.", ""
},
{
"colour spray", { 32, 101, 101, 101, 101, 101, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_colour_spray, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(10), 15, 12,
"colour spray", "!Colour Spray!", ""
},
{
"continual light", { 11, 8, 101, 101, 25, 9, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_continual_light, TAR_IGNORE, POS_STANDING,
NULL, SLOT(57), 7, 12,
"", "!Continual Light!", ""
},
{
"control weather", { 101, 48, 101, 101, 101, 38, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_control_weather, TAR_IGNORE, POS_STANDING,
NULL, SLOT(11), 25, 12,
"", "!Control Weather!", ""
},
{
"create food", { 19, 10, 101, 101, 20, 15, 101, 19}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_create_food, TAR_IGNORE, POS_STANDING,
NULL, SLOT(12), 5, 12,
"", "!Create Food!", ""
},
{
"create rose", { 32, 21, 101, 101, 101, 21, 101, 10}, { 1, 1, 2, 2, 2, 1, 2, 2 },
spell_create_rose, TAR_IGNORE, POS_STANDING,
NULL, SLOT(511), 30, 12,
"", "!Create Rose!", ""
},
{
"create spring", { 28, 34, 101, 101, 34, 28, 101, 38}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_create_spring, TAR_IGNORE, POS_STANDING,
NULL, SLOT(80), 20, 12,
"", "!Create Spring!", ""
},
{
"create water", { 15, 5, 101, 101, 15, 5, 101, 70}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_create_water, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(13), 5, 12,
"", "!Create Water!", ""
},
{
"cure blindness", { 101, 11, 101, 101, 101, 15, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_blindness, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(14), 5, 12,
"", "!Cure Blindness!", ""
},
{
"cure critical", { 101, 25, 101, 101, 60, 60, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_critical, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(15), 20, 12,
"", "!Cure Critical!", ""
},
{
"cure disease", { 101, 26, 101, 101, 101, 80, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_disease, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(501), 20, 12,
"", "!Cure Disease!", ""
},
{
"cure light", { 101, 4, 101, 101, 101, 40, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_light, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(16), 10, 12,
"", "!Cure Light!", ""
},
{
"cure poison", { 101, 28, 101, 101, 101, 20, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_poison, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(43), 5, 12,
"", "!Cure Poison!", ""
},
{
"cure serious", { 101, 14, 101, 101, 101, 70, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_cure_serious, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(61), 15, 12,
"", "!Cure Serious!", ""
},
{
"curse", { 35, 35, 101, 101, 101, 101, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_curse, TAR_OBJ_CHAR_OFF, POS_FIGHTING,
&gsn_curse, SLOT(17), 20, 12,
"curse", "The curse wears off.",
"$p is no longer impure."
},
{
"demonfire", { 76, 68, 101, 101, 101, 101, 60, 101},
{ 1, 1, 2, 2, 2, 1, 2, 2},
spell_demonfire, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(505), 20, 12,
"torments", "!Demonfire!", ""
},
{
"preserve", { 29, 7, 15, 49, 47, 18, 17, 19 }, { 2, 2, 2, 2, 2, 2, 2, 2 },
spell_preserve, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(550), 20, 12,
"preserves?", "!PRESERVE!", ""
},
{
"regenerate", { 49, 23, 53, 53, 43, 23, 53, 49 }, { 2, 2, 2, 2, 2, 2, 2, 2 },
spell_regenerate, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(551), 200, 14,
"", "You accelerated healing slows.", ""
},
{
"polymorph", { 62, 101, 101, 32, 101, 101, 38, 101 }, { 3, 3, 3, 3, 3, 3, 3, 3 },
spell_polymorph, TAR_IGNORE, POS_STANDING,
NULL, SLOT(600), 150, 12,
"", "You resume your natural shape."
},
{
"mana", { 32, 101, 101, 101, 101, 38, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_mana, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(602), 0, 12,
"", "!MANA!"
},
{
"energyflux", { 999, 999, 999, 999, 999, 999, 999, 9999 }, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_energyflux, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(605), 0, 12,
"", "!ENERGYFLUX!"
},
{
"transport", { 24, 44, 101, 101, 101, 101, 101, 44}, { 3, 3, 4, 4, 4, 3, 4, 4},
spell_transport, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(607), 150, 12,
"", "!TRANS!"
},
{
"minor creation", { 16, 68, 101, 101, 101, 101, 60, 101}, { 4, 4, 6, 6, 6, 4, 6, 6},
spell_minor_creation, TAR_IGNORE, POS_STANDING,
NULL, SLOT(612), 500, 12,
"", "!Minor Creation!"
},
{
"brew", { 36, 68, 101, 101, 101, 101, 60, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_brew, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(613), 100, 12,
"", "!BREW!"
},
{
"scribe", { 26, 68, 101, 101, 101, 101, 60, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_scribe, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(614), 100, 12,
"", "!SCRIBE!"
},
{
"carve", { 36, 68, 101, 101, 101, 101, 60, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_carve, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(615), 200, 12,
"", "!CARVE!"
},
{
"engrave", { 46, 68, 101, 101, 101, 101, 60, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_engrave, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(616), 300, 12,
"", "!ENGRAVE"
},
{
"bake", { 56, 68, 101, 101, 101, 101, 60, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_bake, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(617), 100, 12,
"", "!Bake!"
},
{
"scry", { 22, 22, 101, 101, 101, 1, 101, 101}, { 1, 1, 2, 2, 1, 2, 2},
spell_scry, TAR_IGNORE, POS_STANDING,
NULL, SLOT(618), 50, 12,
"", "!SCRY!"
},
{
"detect evil", { 22, 22, 101, 101, 101, 1, 101, 101}, { 1, 1, 2, 2, 1, 2, 2},
spell_detect_evil, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(18), 5, 12,
"", "The red in your vision disappears.", ""
},
{
"detect good", { 23, 22, 101, 101, 101, 3, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_detect_good, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(513), 5, 12,
"", "The gold in your vision disappears.", ""
},
{
"detect motion", { 21, 24, 28, 101, 29, 24, 101, 28}, {4, 4, 4, 4, 4, 4, 4, 4},
spell_detect_motion, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(619), 10, 24,
"", "You feel less aware of your surroundings.",
""
},
{
"detect hidden", { 24, 22, 24, 101, 25, 22, 101, 24}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_detect_hidden, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(44), 5, 12,
"", "You feel less aware of your surroundings.",
""
},
{
"detect invis", { 25, 16, 11, 101, 101, 16, 101, 25}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_detect_invis, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(19), 5, 12,
"", "You no longer see invisible objects.",
""
},
{
"detect magic", { 26, 11, 8, 101, 101, 26, 101, 18}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_detect_magic, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(20), 5, 12,
"", "The detect magic wears off.", ""
},
{
"detect poison", { 27, 14, 18, 101, 30, 8, 101, 27}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_detect_poison, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(21), 5, 12,
"", "!Detect Poison!", ""
},
{
"dispel evil", { 101, 30, 101, 101, 101, 30, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_dispel_evil, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(22), 15, 12,
"dispel evil", "!Dispel Evil!", ""
},
{
"dispel good", { 101, 30, 101, 101, 101, 30, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_dispel_good, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(512), 15, 12,
"dispel good", "!Dispel Good!", ""
},
{
"dispel magic", { 48, 48, 101, 101, 101, 48, 101, 48}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_dispel_magic, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(59), 15, 12,
"", "!Dispel Magic!", ""
},
{
"earthquake", { 83, 20, 101, 101, 101, 10, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_earthquake, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(23), 15, 12,
"earthquake", "!Earthquake!", ""
},
{
"enchant armor", { 31, 90, 101, 101, 101, 80, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4 },
spell_enchant_armor, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(510), 100, 24,
"", "!Enchant Armor!", ""
},
{
"enchant weapon", { 32, 91, 101, 101, 101, 81, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4},
spell_enchant_weapon, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(24), 100, 24,
"", "!Enchant Weapon!", ""
},
{
"energy drain", { 38, 44, 101, 101, 101, 54, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_energy_drain, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(25), 35, 12,
"energy drain", "!Energy Drain!", ""
},
{
"faerie fire", { 12, 5, 101, 101, 12, 6, 101, 8}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_faerie_fire, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(72), 5, 12,
"faerie fire", "The pink aura around you fades away.",
""
},
{
"faerie fog", { 28, 41, 101, 101, 41, 38, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_faerie_fog, TAR_IGNORE, POS_STANDING,
NULL, SLOT(73), 12, 12,
"faerie fog", "!Faerie Fog!", ""
},
{
"farsight", { 4, 8, 101, 101, 12, 8, 101, 5}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_farsight, TAR_IGNORE, POS_STANDING,
NULL, SLOT(521), 36, 20,
"farsight", "!Farsight!", ""
},
{
"fireball", { 44, 89, 101, 101, 101, 69, 101, 80}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_fireball, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(26), 15, 12,
"fireball", "!Fireball!", ""
},
{
"fireproof", { 25, 24, 101, 101, 31, 25, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_fireproof, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(523), 10, 12,
"", "", "$p's protective aura fades."
},
{
"flamestrike", { 34, 40, 101, 101, 101, 40, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_flamestrike, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(65), 20, 12,
"flamestrike", "!Flamestrike!", ""
},
{
"fly", { 19, 36, 101, 101, 101, 30, 101, 26}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_fly, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(56), 10, 18,
"", "You slowly float to the ground.", ""
},
{
"floating disc", { 7, 19, 101, 101, 101, 101, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_floating_disc, TAR_IGNORE, POS_STANDING,
NULL, SLOT(522), 40, 24,
"", "!Floating disc!", ""
},
{
"frenzy", { 66, 48, 101, 101, 40, 66, 101, 48}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_frenzy, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(504), 30, 24,
"", "Your rage ebbs.", ""
},
{
"gate", { 54, 34, 101, 101, 101, 64, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_gate, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(83), 80, 12,
"", "!Gate!", ""
},
{
"giant strength", { 41, 42, 101, 101, 41, 42, 101, 41}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_giant_strength, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(39), 20, 12,
"", "You feel weaker.", ""
},
{
"harm", { 43, 46, 101, 101, 101, 46, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_harm, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(27), 35, 12,
"harm spell", "!Harm!, """
},
{
"haste", { 42, 54, 101, 101, 101, 42, 101, 54}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_haste, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(502), 30, 12,
"", "You feel yourself slow down.", ""
},
{
"heal", { 101, 32, 101, 101, 101, 32, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_heal, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(28), 50, 12,
"", "!Heal!", ""
},
{
"heat metal", { 73, 42, 101, 101, 101, 42, 101, 73}, { 1, 1, 2, 2, 2, 1, 2, 2 },
spell_heat_metal, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(516), 25, 18,
"spell", "!Heat Metal!", ""
},
{
"holy word", { 101, 71, 101, 101, 101, 101, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4},
spell_holy_word, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(506), 200, 24,
"divine wrath", "!Holy Word!", ""
},
{
"identify", { 30, 32, 35, 101, 101, 35, 101, 32}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_identify, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(53), 12, 24,
"", "!Identify!", ""
},
{
"infravision", { 18, 26, 101, 101, 101, 22, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_infravision, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(77), 5, 18,
"", "You no longer see in the dark.", ""
},
{
"invisibility", { 9, 37, 17, 101, 101, 27, 101, 19}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_invis, TAR_OBJ_CHAR_DEF, POS_STANDING,
&gsn_invis, SLOT(29), 5, 12,
"", "You are no longer invisible.",
"$p fades into view."
},
{
"know alignment", { 24, 17, 101, 101, 101, 24, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_know_alignment, TAR_CHAR_DEFENSIVE, POS_FIGHTING,
NULL, SLOT(58), 9, 12,
"", "!Know Alignment!", ""
},
{
"lightning bolt", { 25, 46, 101, 101, 101, 46, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_lightning_bolt, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(30), 15, 12,
"lightning bolt", "!Lightning Bolt!", ""
},
{
"locate object", { 17, 30, 101, 101, 101, 30, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_locate_object, TAR_IGNORE, POS_STANDING,
NULL, SLOT(31), 20, 18,
"", "!Locate Object!", ""
},
{
"magic missile", { 1, 101, 101, 101, 101, 101, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_magic_missile, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(32), 15, 12,
"magic missile", "!Magic Missile!", ""
},
{
"mass healing", { 101, 75, 101, 101, 101, 85, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4},
spell_mass_healing, TAR_IGNORE, POS_STANDING,
NULL, SLOT(508), 100, 36,
"", "!Mass Healing!", ""
},
{
"mass invis", { 43, 49, 101, 101, 101, 50, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_mass_invis, TAR_IGNORE, POS_STANDING,
&gsn_mass_invis, SLOT(69), 20, 24,
"", "You are no longer invisible.", ""
},
{
"music", {101, 101, 101, 101, 101, 101, 101, 1}, {20, 20, 20, 20, 20, 20, 20, 20},
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_music, SLOT(0), 0, 5,
"music", "Your musical aura fades away.",
"$p's musical aura fades away."
},
{
"nexus", { 79, 69, 101, 101, 101, 79, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4},
spell_nexus, TAR_IGNORE, POS_STANDING,
NULL, SLOT(520), 150, 36,
"", "!Nexus!", ""
},
{
"pass door", { 48, 63, 49, 101, 101, 63, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_pass_door, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(74), 20, 12,
"", "You feel solid again.", ""
},
{
"plague", { 46, 34, 101, 101, 101, 34, 101, 101}, { 1, 1, 2, 2, 2, 1, 4, 2},
spell_plague, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
&gsn_plague, SLOT(503), 20, 12,
"sickness", "Your sores vanish.", ""
},
{
"poison", { 33, 24, 101, 101, 101, 23, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_poison, TAR_OBJ_CHAR_OFF, POS_FIGHTING,
&gsn_poison, SLOT(33), 10, 12,
"poison", "You feel less sick.",
"The poison on $p dries up."
},
{
"portal", { 70, 59, 101, 101, 101, 60, 101, 101}, { 2, 2, 4, 4, 4, 2, 4, 4},
spell_portal, TAR_IGNORE, POS_STANDING,
NULL, SLOT(519), 100, 24,
"", "!Portal!", ""
},
{
"protection evil", { 24, 18, 101, 101, 101, 18, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_protection_evil, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(34), 5, 12,
"", "You feel less protected.", ""
},
{
"protection good", { 24, 18, 101, 101, 101, 18, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_protection_good, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(514), 5, 12,
"", "You feel less protected.", ""
},
{
"ray of truth", { 101, 69, 101, 101, 101, 69, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_ray_of_truth, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(518), 20, 12,
"ray of truth", "!Ray of Truth!", ""
},
{
"recharge", { 18, 63, 101, 101, 101, 63, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2 },
spell_recharge, TAR_OBJ_INV, POS_STANDING,
NULL, SLOT(517), 60, 24,
"", "!Recharge!", ""
},
{
"refresh", { 16, 9, 101, 101, 101, 10, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_refresh, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(81), 12, 18,
"refresh", "!Refresh!", ""
},
{
"remove curse", { 101, 35, 101, 101, 101, 101, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_remove_curse, TAR_OBJ_CHAR_DEF, POS_STANDING,
NULL, SLOT(35), 5, 12,
"", "!Remove Curse!", ""
},
{
"sanctuary", { 52, 39, 101, 101, 52, 40, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_sanctuary, TAR_CHAR_DEFENSIVE, POS_STANDING,
&gsn_sanctuary, SLOT(36), 75, 12,
"", "The white aura around your body fades.",
""
},
{
"shield", { 40, 70, 101, 101, 101, 70, 101, 40}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_shield, TAR_CHAR_DEFENSIVE, POS_STANDING,
NULL, SLOT(67), 12, 18,
"", "Your force shield shimmers then fades away.",
""
},
{
"shocking grasp", { 20, 101, 101, 101, 101, 101, 101, 20}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_shocking_grasp, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(53), 15, 12,
"shocking grasp", "!Shocking Grasp!", ""
},
{
"sleep", { 20, 101, 101, 101, 101, 16, 101, 21}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_sleep, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
&gsn_sleep, SLOT(38), 15, 12,
"", "You feel less tired.", ""
},
{
"slow", { 45, 40, 101, 101, 101, 40, 101, 45}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_slow, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(515), 30, 12,
"", "You feel yourself speed up.", ""
},
{
"stone skin", { 49, 70, 101, 101, 101, 49, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_stone_skin, TAR_CHAR_SELF, POS_STANDING,
NULL, SLOT(66), 12, 18,
"", "Your skin feels soft again.", ""
},
{
"summon", { 48, 23, 101, 101, 101, 48, 101, 48}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_summon, TAR_IGNORE, POS_STANDING,
NULL, SLOT(40), 50, 12,
"", "!Summon!", ""
},
{
"teleport", { 24, 44, 101, 101, 101, 101, 101, 44}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_teleport, TAR_CHAR_SELF, POS_FIGHTING,
NULL, SLOT( 2), 35, 12,
"", "!Teleport!", ""
},
{
"ventriloquate", { 1, 101, 2, 101, 101, 101, 101, 3}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_ventriloquate, TAR_IGNORE, POS_STANDING,
NULL, SLOT(41), 5, 12,
"", "!Ventriloquate!", ""
},
{
"weaken", { 21, 28, 101, 101, 101, 28, 101, 30}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_weaken, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(68), 20, 12,
"spell", "You feel stronger.", ""
},
{
"word of recall", { 63, 56, 101, 101, 101, 56, 101, 63}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_word_of_recall, TAR_CHAR_SELF, POS_RESTING,
NULL, SLOT(42), 5, 12,
"", "!Word of Recall!", ""
},
/*
* Dragon breath
*/
{
"acid breath", { 62, 101, 101, 101, 101, 62, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_acid_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(200), 100, 24,
"blast of acid", "!Acid Breath!", ""
},
{
"fire breath", { 80, 90, 101, 101, 101, 80, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_fire_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(201), 200, 24,
"blast of flame", "The smoke leaves your eyes.", ""
},
{
"frost breath", { 67, 101, 101, 101, 101, 67, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_frost_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(202), 125, 24,
"blast of frost", "!Frost Breath!", ""
},
{
"gas breath", { 77, 101, 101, 101, 101, 77, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_gas_breath, TAR_IGNORE, POS_FIGHTING,
NULL, SLOT(203), 175, 24,
"blast of gas", "!Gas Breath!", ""
},
{
"lightning breath", { 74, 101, 101, 101, 101, 74, 101, 101}, { 1, 1, 2, 2, 2, 1, 2, 2},
spell_lightning_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(204), 150, 24,
"blast of lightning", "!Lightning Breath!", ""
},
/*
* Spells for mega1.are from Glop/Erkenbrand.
*/
{
"general purpose", { 104, 104, 104, 104, 104, 104, 104, 104}, { 1, 1, 2, 2, 2, 1, 2, 2 },
spell_general_purpose, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(401), 0, 12,
"general purpose ammo", "!General Purpose Ammo!", ""
},
{
"high explosive", { 104, 104, 104, 104, 104, 104, 104, 104}, { 0, 0, 0, 0, 0, 0, 0, 0 },
spell_high_explosive, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
NULL, SLOT(402), 0, 12,
"high explosive ammo", "!High Explosive Ammo!", ""
},
/* combat and weapons skills */
{
"axe", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 6, 6, 5, 4, 5, 6, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_axe, SLOT( 0), 0, 0,
"", "!Axe!", ""
},
{
"dagger", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 2, 3, 2, 2, 2, 3, 2, 2},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_dagger, SLOT( 0), 0, 0,
"", "!Dagger!", ""
},
{
"flail", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 6, 3, 6, 4, 4, 3, 6, 6},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_flail, SLOT( 0), 0, 0,
"", "!Flail!", ""
},
{
"mace", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 5, 2, 3, 3, 3, 2, 5, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_mace, SLOT( 0), 0, 0,
"", "!Mace!", ""
},
{
"polearm", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 6, 6, 6, 4, 4, 2, 6, 6},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_polearm, SLOT( 0), 0, 0,
"", "!Polearm!", ""
},
{
"quarterstaff", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 4, 4, 4, 6, 6, 4, 4, 4 },
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_quarterstaff, SLOT(0), 0, 0,
"", "!QUARTERSTAFF!", ""
},
{
"shield block", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 6, 4, 6, 2, 3, 4, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_shield_block, SLOT(0), 0, 0,
"", "!Shield!", ""
},
{
"spear", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 4, 4, 4, 3, 3, 4, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_spear, SLOT( 0), 0, 0,
"", "!Spear!", ""
},
{
"sword", { 1, 1, 1, 1, 1, 1, 1}, { 5, 6, 3, 2, 2, 6, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_sword, SLOT( 0), 0, 0,
"", "!sword!", ""
},
{
"whip", { 1, 1, 1, 1, 1, 1, 1, 1}, { 6, 5, 5, 4, 4, 4, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_whip, SLOT( 0), 0, 0,
"", "!Whip!", ""
},
{
"backstab", { 101, 101, 1, 50, 101, 101, 101, 50}, { 1, 1, 5, 5, 2, 2, 5},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_backstab, SLOT( 0), 0, 24,
"backstab", "!Backstab!", ""
},
{
"bash", { 101, 101, 101, 1, 1, 101, 1, 1}, { 1, 1, 1, 4, 4, 1, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_bash, SLOT( 0), 0, 24,
"bash", "!Bash!", ""
},
{
"berserk", { 101, 101, 101, 27, 27, 101, 101, 101}, { 1, 1, 1, 5, 5, 1, 1, 1},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_berserk, SLOT( 0), 0, 24,
"", "You feel your pulse slow down.", ""
},
{
"dirt kicking", { 101, 101, 4, 4, 4, 101, 8, 8}, { 1, 1, 4, 4, 4, 1, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_dirt, SLOT( 0), 0, 24,
"kicked dirt", "You rub the dirt out of your eyes.", ""
},
{
"disarm", { 101, 101, 18, 18, 28, 101, 28, 28}, { 1, 1, 6, 4, 5, 1, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_disarm, SLOT( 0), 0, 24,
"", "!Disarm!", ""
},
{
"dodge", { 101, 101, 1, 19, 19, 19, 19, 19}, { 8, 8, 4, 6, 6, 6, 6, 6},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_dodge, SLOT( 0), 0, 0,
"", "!Dodge!", ""
},
{
"enhanced damage", { 101, 101, 101, 1, 21, 101, 101, 101}, { 10, 9, 5, 3, 4, 1, 1, 1},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_enhanced_damage, SLOT( 0), 0, 0,
"", "!Enhanced Damage!", ""
},
{
"envenom", { 101, 101, 15, 90, 101, 15, 101, 101}, { 1, 1, 4, 1, 1, 4, 1, 1 },
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_envenom, SLOT(0), 0, 36,
"", "!Envenom!", ""
},
{
"hand to hand", { 101, 101, 22, 9, 10, 22, 10, 22}, { 8, 5, 6, 4, 4, 5, 4, 4},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_hand_to_hand, SLOT( 0), 0, 0,
"", "!Hand to Hand!", ""
},
{
"kick", { 101, 18, 21, 12, 12, 21, 18, 12}, { 1, 4, 6, 3, 4, 4, 4, 4},
spell_null, TAR_CHAR_OFFENSIVE, POS_FIGHTING,
&gsn_kick, SLOT( 0), 0, 12,
"kick", "!Kick!", ""
},
{
"parry", { 101, 101, 19, 1, 5, 19, 6, 101}, { 8, 8, 6, 4, 5, 5, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_parry, SLOT( 0), 0, 0,
"", "!Parry!", ""
},
{
"rescue", { 101, 101, 101, 1, 7, 101, 101, 101}, { 1, 1, 1, 4, 1, 2, 2, 2},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_rescue, SLOT( 0), 0, 12,
"", "!Rescue!", ""
},
{
"trip", { 101, 101, 2, 22, 32, 101, 101, 101}, { 1, 1, 4, 8, 1, 1, 1, 1},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_trip, SLOT( 0), 0, 24,
"trip", "!Trip!", ""
},
{
"second attack", { 45, 36, 18, 7, 8, 36, 18, 18}, { 10, 8, 5, 3, 4, 8, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_second_attack, SLOT( 0), 0, 0,
"", "!Second Attack!", ""
},
{
"third attack", { 101, 101, 36, 18, 48, 101, 101, 101}, { 1, 1, 10, 4, 5, 5, 5, 5},
spell_null, TAR_IGNORE, POS_FIGHTING,
&gsn_third_attack, SLOT( 0), 0, 0,
"", "!Third Attack!", ""
},
/* non-combat skills */
{
"fast healing", { 101, 13, 21, 9, 13, 9, 101, 101}, { 8, 5, 6, 4, 5, 5, 5, 5},
spell_null, TAR_IGNORE, POS_SLEEPING,
&gsn_fast_healing, SLOT( 0), 0, 0,
"", "!Fast Healing!", ""
},
{
"haggle", { 101, 101, 1, 101, 101, 101, 101, 8}, { 5, 8, 3, 6, 6, 6, 5, 4},
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_haggle, SLOT( 0), 0, 0,
"", "!Haggle!", ""
},
{
"hide", { 101, 101, 1, 18, 18, 2, 101, 68}, { 1, 1, 4, 6, 6, 4, 6, 6},
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_hide, SLOT( 0), 0, 12,
"", "!Hide!", ""
},
{
"lore", { 15, 15, 9, 101, 101, 15, 25, 15}, { 6, 6, 4, 8, 8, 4, 8, 8},
spell_null, TAR_IGNORE, POS_RESTING,
&gsn_lore, SLOT( 0), 0, 36,
"", "!Lore!", ""
},
{
"meditation", { 9, 9, 101, 101, 101, 9, 101, 19}, { 5, 5, 8, 8, 8, 5, 8, 8},
spell_null, TAR_IGNORE, POS_SLEEPING,
&gsn_meditation, SLOT( 0), 0, 0,
"", "Meditation", ""
},
{
"peek", { 101, 101, 1, 101, 101, 11, 101, 1}, { 5, 7, 3, 6, 6, 7, 5, 3},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_peek, SLOT( 0), 0, 0,
"", "!Peek!", ""
},
{
"pick lock", { 101, 101, 10, 101, 101, 101, 101, 10}, { 8, 8, 4, 8, 8, 8, 8, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_pick_lock, SLOT( 0), 0, 12,
"", "!Pick!", ""
},
{
"sneak", { 101, 101, 6, 15, 15, 9, 101, 15}, { 1, 1, 4, 6, 6, 6, 6, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_sneak, SLOT( 0), 0, 12,
"", "You no longer feel stealthy.", ""
},
{
"steal", { 101, 101, 7, 101, 101, 101, 101, 17}, { 1, 1, 4, 1, 1, 1, 1, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_steal, SLOT( 0), 0, 24,
"", "!Steal!", ""
},
{
"scrolls", { 2, 1, 1, 1, 1, 1, 2, 2}, { 2, 3, 5, 8, 8, 3, 5, 2},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_scrolls, SLOT( 0), 0, 24,
"", "!Scrolls!", ""
},
{
"staves", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 2, 3, 5, 8, 4, 4, 4, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_staves, SLOT( 0), 0, 12,
"", "!Staves!", ""
},
{
"wands", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 2, 3, 5, 8, 4, 4, 4, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_wands, SLOT( 0), 0, 12,
"", "!Wands!", ""
},
{
"shapeshift", { 45, 101, 101, 51, 101, 101, 24, 101 }, { 2, 2, 2, 2, 2, 2, 2, 2},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_shapeshift, SLOT(0), 0, 12,
"", "Your features return to normal."
},
{
"timeshift", { 50, 50, 101, 101, 101, 101, 50, 101 }, { 8, 8, 8, 8, 8, 8, 8, 8 },
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_timeshift, SLOT(0), 0, 0,
"", "!TIMESHIFT!"
},
{
"spellbane", { 50, 50, 50, 50, 50, 50, 50, 50 }, { 5, 5, 5, 5, 5, 5, 5, 5 },
spell_null, TAR_CHAR_SELF, POS_STANDING,
&gsn_spellbane, SLOT(0), 0, 12,
"mana burn", "You feel less resistant to magic.", ""
},
{
"intoxication", { 999, 999, 999, 999, 999, 999, 999, 999 }, { 0, 0, 0, 0, 0, 0, 0, 0 },
spell_null, TAR_CHAR_SELF, POS_DEAD,
&gsn_intoxication, SLOT(0), 0, 12,
"intoxication", "You are no longer intoxicated.", ""
},
{
"watch", {51, 51, 51, 51, 51, 51, 51, 51}, {4, 4, 4, 4, 4, 4, 4, 4},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_watch, SLOT(0), 0, 12,
"", "You stop watching.", ""
},
{
"recall", { 1, 1, 1, 1, 1, 1, 1, 1 }, { 2, 2, 2, 2, 2, 2, 2, 2},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_recall, SLOT( 0), 0, 12,
"", "!Recall!", ""
}
};
const struct group_type group_table [MAX_GROUP] =
{
{
"basics", { 0, 0, 0, 0, 0, 0, 0, 0 },
{ "scrolls", "staves", "wands", "recall" }
},
{
"mage basics", { 0, -1, -1, -1, -1, -1, -1, -1 },
{ "dagger" }
},
{
"cleric basics", { -1, 0, -1, -1, -1, -1, -1, -1 },
{ "mace" }
},
{
"thief basics", { -1, -1, 0, -1, -1, -1, -1, -1 },
{ "dagger", "steal" }
},
{
"warrior basics", { -1, -1, -1, 0, -1, -1, -1, -1 },
{ "sword", "second attack" }
},
{
"ranger basics", { -1, -1, -1, -1, 0, -1, -1, -1},
{ "spear", "second attack", "track" }
},
{
"druid basics", { -1, -1, -1, -1, -1, 0, -1, -1},
{ "polearm", "invisibility" }
},
{
"psionic basics", { -1, -1, -1, -1, -1, -1, 0, -1},
{ "dagger" }
},
{
"bard basics", { -1, -1, -1, -1, -1, -1, -1, 0 },
{ "dagger", "steal" }
},
{
"mage default", { 40, -1, -1, -1, -1, -1, -1, -1 },
{ "lore", "beguiling", "combat", "detection", "enhancement", "illusion",
"maladictions", "protective", "transportation", "weather" }
},
{
"cleric default", { -1, 40, -1, -1, -1, -1, -1, -1 },
{ "flail", "attack", "creation", "curative", "benedictions",
"detection", "healing", "maladictions", "protective", "shield block",
"transportation", "weather" }
},
{
"thief default", { -1, -1, 40, -1, -1, -1, -1, -1 },
{ "mace", "sword", "backstab", "disarm", "dodge", "second attack",
"trip", "hide", "peek", "pick lock", "sneak" }
},
{
"warrior default", { -1, -1, -1, 40, -1, -1, -1, -1 },
{ "weaponsmaster", "shield block", "bash", "disarm", "enhanced damage",
"parry", "rescue", "third attack" }
},
{
"ranger default", { -1, -1, -1, -1, 40, -1, -1, -1 },
{
"weaponsmaster", "dirt kick", "enhanced damage", "envenom", "hand to hand",
"kick", "parry", "shield block", "third attack", "curative", "healing",
"transportation", "earthquake" }
},
{
"druid default", { -1, -1, -1, -1, -1, 40, -1, -1 },
{
"lore", "shield block", "second attack", "attack", "benedictions", "combat",
"creation", "curative", "healing", "protective", "weather", "harm" }
},
{
"psionic default", { -1, -1, -1, -1, -1, -1, 40, -1 },
{
"beguiling"
}
},
{
"bard default", { -1, -1, -1, -1, -1, -1, -1, 40 },
{ "beguiling", "music" }
},
{
"weaponsmaster", { 40, 40, 40, 20, 30, 40, 35, 40},
{ "axe", "dagger", "flail", "mace", "polearm", "spear", "sword","whip" }
},
{
"attack", { 6, 5, -1, -1, 6, 5, -1, -1},
{ "demonfire", "dispel evil", "dispel good", "earthquake",
"flamestrike", "heat metal", "ray of truth" }
},
{
"beguiling", { 5, 4, -1, -1, 6, 5, -1, 4},
{ "calm", "charm person", "sleep", "shapeshift" }
},
{
"benedictions", { 2, 4, -1, -1, -1, 5, -1, -1},
{ "bless", "calm", "frenzy", "holy word", "remove curse" }
},
{
"combat", { 5, 5, -1, -1, -1, -1, -1, 6},
{ "acid blast", "burning hands", "chain lightning", "chill touch",
"colour spray", "fireball", "lightning bolt", "magic missile",
"shocking grasp" }
},
{
"creation", { 4, 4, -1, -1, 5, 4, -1, -1},
{ "continual light", "create food", "create spring", "create water",
"create rose", "floating disc", "minor creation" }
},
{
"curative", { -1, 4, -1, -1, 5, 5, -1, -1},
{ "cure blindness", "cure disease", "cure poison" }
},
{
"detection", { 4, 3, 6, -1, -1, 4, -1, 6},
{ "detect evil", "detect good", "detect hidden", "detect invis",
"detect magic", "detect poison", "farsight", "identify",
"know alignment", "locate object", "scry" }
},
{
"draconian", { 8, 4, -1, -1, -1, 4, -1, -1},
{ "acid breath", "fire breath", "frost breath", "gas breath",
"lightning breath" }
},
{
"enchantment", { 4, 7, -1, -1, -1, 6, -1, -1},
{ "enchant armor", "enchant weapon", "fireproof", "recharge",
"brew", "scribe", "carve", "engrave", "bake" }
},
{
"enhancement", { 5, 6, -1, -1, 6, 6, -1, 6},
{ "giant strength", "haste", "infravision", "refresh" }
},
{
"harmful", { 3, 4, -1, -1, -1, 4, -1, -1},
{ "cause critical", "cause light", "cause serious", "harm" }
},
{
"healing", { -1, 3, -1, -1, -1, 4, -1, -1},
{ "cure critical", "cure light", "cure serious", "heal",
"mass healing", "refresh", "mana" }
},
{
"illusion", { 4, 6, 7, -1, -1, 6, -1, 5},
{ "invis", "mass invis", "ventriloquate" }
},
{
"maladictions", { 5, 5, -1, -1, -1, 6, -1, -1},
{ "blindness", "change sex", "curse", "energy drain", "plague",
"poison", "slow", "weaken" }
},
{
"protective", { 4, 4, -1, -1, 6, 5, -1, -1},
{ "armor", "cancellation", "dispel magic", "fireproof",
"protection evil", "protection good", "sanctuary", "shield",
"stone skin", "preserve" }
},
{
"transportation", { 4, 4, -1, -1, -1, 5, -1, 8},
{ "fly", "gate", "nexus", "pass door", "portal", "summon", "teleport",
"word of recall", "transport" }
},
{
"weather", { 4, 4, -1, -1, 6, 4, -1, 8},
{ "call lightning", "control weather", "faerie fire", "faerie fog",
"lightning bolt" }
}
};