⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.c

📁 早期freebsd实现
💻 C
📖 第 1 页 / 共 3 页
字号:
/*	NAME			LV	AC	DAM	ATT	DEF	GEN INT GOLD	HP	EXP----------------------------------------------------------------- */{ "floating eye",	3,	8,	1,	0,	0,	 0,  3,   0,	 5,	 2	},{ "leprechaun",		3,	3,	0,	8,	0,	 0,  3,1500,    13,	45	},{ "nymph",			3,	3,	0,	14,	0,	 0,  9,   0,	18,	45	},{ "quasit",			3,	5,	3,	0,	0,	 0,  3,   0,	10,	15	},{ "rust monster",	3,	4,	0,	1,	0,	 0,  3,   0,	18,	25	},{ "zombie",			3,	12,	2,	0,	0,	 0,  3,   0,	 6,	 7	},{ "assassin bug",	4,	9,	3,	0,	0,	 0,  3,   0,	20,	15	},{ "bugbear",		4,	5,	4,	15,	0,	 0,  5,  40,	20,	35	},{ "hell hound",		4,	5,	2,	2,	0,	 0,  6,   0,	16,	35	},{ "ice lizard",		4,	11,	2,	10,	0,	 0,  6,  50,	16,	25	},{ "centaur",		4,	6,	4,	0,	0,	 0, 10,  40,	24,	45	},/*	NAME			LV	AC	DAM	ATT	DEF	GEN INT GOLD	HP	EXP----------------------------------------------------------------- */{ "troll",			5,	4,	5,	0,	0,	 0,  9,  80,	50,	300	},{ "yeti",			5,	6,	4,	0,	0,	 0,  5,  50, 	35,	100	},{ "white dragon",	5,	2,	4,	5,	0,	 0, 16, 500,	55,	1000},{ "elf",			5,	8,	1,	0,	0,	 0, 15,  50,	22,	35	},{ "gelatinous cube",5,	9,	1,	0,	0,	 0,  3,   0,	22,	45	},{ "metamorph",		6,	7,	3,	0,	0,	 0,  3,  0,		30,	40	},{ "vortex",			6,	4,	3,	0,	0,	 0,  3,  0,		30,	55	},{ "ziller",			6,	15,	3,	0,	0,	 0,  3,  0,		30,	35	},{ "violet fungi",	6,	12,	3,	0,	0,	 0,  3,  0,	 	38,	100	},{ "wraith",			6,	3,	1,	6,	0,	 0,  3,  0,		30,	325	},{ "forvalaka",		6,	2,	5,	0,	0,	 0,  7,  0,		50,	280	},/*	NAME			LV	AC	DAM	ATT	DEF	GEN INT GOLD	HP	EXP----------------------------------------------------------------- */{ "lama nobe",		7,	7,	3,	0,	0,	 0,  6,  0,		35,	80	},{ "osequip",		7,	4,	3,	16,	0,	 0,  4,  0,		35,	100	},{ "rothe",			7,	15,	5,	0,	0,	 0,  3,  100,	50,	250	},{ "xorn",			7,	0,	6,	0,	0,	 0, 13,  0,		60,	300	},{ "vampire",		7,	3,	4,	6,	0,	 0, 17,  0,		50,	1000},{ "invisible stalker",7,3,	6,	0,	0,	 0,  5,  0,		50,	350	},{ "poltergeist",	8,	1,	4,	0,	0,	 0,  3,  0,		50,	450	},{ "disenchantress",	8,	3,	0,	9,	0,	 0,  3,  0,		50,	500	},{ "shambling mound",8,	2,	5,	0,	0,	 0,  6,  0,		45,	400	},{ "yellow mold",	8,	12,	4,	0,	0,	 0,  3,  0,		35,	250	},{ "umber hulk",		8,	3,	7,	11,	0,	 0, 14,  0,		65,	600	},/*	NAME			LV	AC	DAM	ATT	DEF	GEN INT GOLD	HP	EXP----------------------------------------------------------------- */{ "gnome king",		9,	-1,	10,	0,	0,	 0, 18,  2000,	100,3000	},{ "mimic",			9,	 5,	6,	0,	0,	 0,  8,  0,		55,	99		},{ "water lord",		9, -10,	15,	7,	0,	 0, 20,  0,		150,15000	},{ "bronze dragon",	9,	 2,	9,	3,	0,	 0, 16,  300,	80, 4000	},{ "green dragon",	9,	 3,	8,	10,	0,	 0, 15,  200,	70, 2500	},{ "purple worm",	9,	-1,	11,	0,	0,	 0,  3,  100,	120,15000	},{ "xvart",			9,	-2,	12,	0,	0,	 0, 13,  0,		90,	1000	},{ "spirit naga",	10, -20,12,	12,	0,	 0, 23,  0,		95, 20000	},{ "silver dragon",	10,	-1,	12,	3,	0,	 0, 20,  700,	100,10000	},{ "platinum dragon",10,	-5,	15,	13,	0,	 0, 22,  1000,	130,24000	},{ "green urchin",	10,	-3,	12,	0,	0,	 0,  3,  0,		85, 5000	},{ "red dragon",		10,	-2,	13,	3,	0,	 0, 19,  800,	110,14000	},{ "type I demon lord",	12,-30,	18,	0,	 0,  0, 20,	0,	140,50000	},{ "type II demon lord",	13,-30,	18,	0,	 0,  0, 21,	0,	160,75000	},{ "type III demon lord",14,-30,	18,	0,	 0,  0, 22,	0,	180,100000	},{ "type IV demon lord",	15,-35,	20,	0,	 0,  0, 23,	0,	200,125000	},{ "type V demon lord",	16,-40,	22,	0,	 0,  0, 24,	0,	220,150000	},{ "type VI demon lord",	17,-45,	24,	0,	 0,  0, 25,	0,	240,175000	},{ "type VII demon lord",18,-70,	27,	6,	 0,  0, 26,	0,	260,200000	},{ "demon prince",		25,-127,30,	6,	 0,  0, 28,	0,	345,300000	}/*	NAME				LV	AC	DAM	ATT	DEF	GEN INT GOLD	HP	EXP--------------------------------------------------------------------- */ };/*	name array for scrolls		*/char *scrollname[] = {"\0enchant armor","\0enchant weapon","\0enlightenment","\0blank paper","\0create monster","\0create artifact","\0aggravate monsters","\0time warp","\0teleportation","\0expanded awareness","\0haste monsters","\0monster healing","\0spirit protection","\0undead protection","\0stealth","\0magic mapping","\0hold monsters","\0gem perfection","\0spell extension","\0identify","\0remove curse","\0annihilation","\0pulverization","\0life protection","\0 ","\0 ","\0 ","\0 " };/*	name array for magic potions	*/char *potionname[] = {"\0sleep","\0healing","\0raise level","\0increase ability","\0wisdom","\0strength","\0raise charisma","\0dizziness","\0learning","\0gold detection","\0monster detection","\0forgetfulness","\0water","\0blindness","\0confusion","\0heroism","\0sturdiness","\0giant strength","\0fire resistance","\0treasure finding","\0instant healing"," cure dianthroritis","\0poison","\0see invisible","\0 ","\0 ","\0 ","\0 ","\0 ","\0 ","\0 ","\0 ","\0 ","\0 ","\0 " };/*	spell data */char spelknow[SPNUM]={0};char splev[] = { 1, 4, 9, 14, 18, 22, 26, 29, 32, 35, 37, 37, 37, 37, 37 };char *spelcode[]={	"pro",	"mle",	"dex",	"sle",	"chm",	"ssp",	"web",	"str",	"enl",	"hel",	"cbl",	"cre",	"pha",	"inv",	"bal",	"cld",	"ply",	"can",	"has",	"ckl",	"vpr",	"dry",	"lit",	"drl",	"glo",	"flo",	"fgr",	"sca",	"hld",	"stp",	"tel",	"mfi", /* 31 */	"sph",	"gen",	"sum",	"wtw",	"alt",	"per" };char *spelname[]={	"protection",				"magic missile",		"dexterity",	"sleep",					"charm monster",		"sonic spear",	"web",						"strength",				"enlightenment",	"healing",					"cure blindness",		"create monster",	"phantasmal forces",		"invisibility",	"fireball",					"cold",					"polymorph",	"cancellation",				"haste self",			"cloud kill",	"vaporize rock",	"dehydration",				"lightning",			"drain life",	"invulnerability",			"flood",				"finger of death",	"scare monster",			"hold monster",			"time stop",	"teleport away",			"magic fire",	"sphere of annihilation",	"genocide",				"summon demon",	"walk through walls",		"alter reality",		"permanence",	"" };char *speldescript[]={/* 1 */	"generates a +2 protection field",	"creates and hurls a magic missile equivalent to a + 1 magic arrow",	"adds +2 to the casters dexterity",	"causes some monsters to go to sleep",	"some monsters may be awed at your magnificence",	"causes your hands to emit a screeching sound toward what they point",/* 7 */	"causes strands of sticky thread to entangle an enemy",	"adds +2 to the casters strength for a short term",	"the caster becomes aware of things around him",	"restores some hp to the caster",	"restores sight to one so unfortunate as to be blinded",	"creates a monster near the caster appropriate for the location",	"creates illusions, and if believed, monsters die",	"the caster becomes invisible",/* 15 */	"makes a ball of fire that burns on what it hits",	"sends forth a cone of cold which freezes what it touches",	"you can find out what this does for yourself",	"negates the ability of a monster to use his special abilities",	"speeds up the casters movements",	"creates a fog of poisonous gas which kills all that is within it",	"this changes rock to air",/* 22 */	"dries up water in the immediate vicinity",	"you finger will emit a lightning bolt when this spell is cast",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -