Ejemplo n.º 1
0
		0, 1, 0, 0,  6, 1, 50,	50, 9, 0, IRON, HI_METAL),
ARMOR("helm of telepathy", "visored helmet",
		0, 1, 0, TELEPAT, 2, 1, 50, 50, 9, 0, IRON, HI_METAL),

/* suits of armor */
/*
 * There is code in polyself.c that assumes (1) and (2).
 * There is code in objnam.c, mon.c, read.c that assumes (2).
 *
 *	(1) The dragon scale mails and the dragon scales are together.
 *	(2) That the order of the dragon scale mail and dragon scales is the
 *	    the same defined in monst.c.
 */
#define DRGN_ARMR(name,power,cost,ac,color) \
	ARMOR(name,NULL,1,0,1,power,0,5,40,cost,ac,0,DRAGON_HIDE,color)
DRGN_ARMR("gray dragon scale mail",   ANTIMAGIC,  1200, 1, GRAY),
DRGN_ARMR("red dragon scale mail",    FIRE_RES,    900, 1, RED),
DRGN_ARMR("white dragon scale mail",  COLD_RES,    900, 1, WHITE),
DRGN_ARMR("orange dragon scale mail", SLEEP_RES,   900, 1, ORANGE_COLORED),
DRGN_ARMR("black dragon scale mail",  DISINT_RES, 1200, 1, BLACK),
DRGN_ARMR("blue dragon scale mail",   SHOCK_RES,   900, 1, BLUE),
DRGN_ARMR("green dragon scale mail",  POISON_RES,  900, 1, GREEN),
DRGN_ARMR("yellow dragon scale mail", 0,           900, 1, YELLOW),

/* For now, only dragons leave these. */
DRGN_ARMR("gray dragon scales",   ANTIMAGIC,  700, 7, GRAY),
DRGN_ARMR("red dragon scales",    FIRE_RES,   500, 7, RED),
DRGN_ARMR("white dragon scales",  COLD_RES,   500, 7, WHITE),
DRGN_ARMR("orange dragon scales", SLEEP_RES,  500, 7, ORANGE_COLORED),
DRGN_ARMR("black dragon scales",  DISINT_RES, 700, 7, BLACK),
DRGN_ARMR("blue dragon scales",   SHOCK_RES,  500, 7, BLUE),
Ejemplo n.º 2
0
		0, 1,  0,	6, 1, 50,  50, 9, 0, IRON, CLR_GREEN),
HELM("helm of opposite alignment", "crested helmet",
		0, 1,  0,	6, 1, 50,  50, 9, 0, IRON, HI_METAL),
HELM("helm of telepathy", "visored helmet",
		0, 1,  TELEPAT, 2, 1, 50,  50, 9, 0, IRON, HI_METAL),

/* suits of armor */
/*
 * There is code in polyself.c that assumes (1) and (2).
 * There is code in objnam.c, mon.c, read.c that assumes (2).
 *
 *	(1) The dragon scale mails and the dragon scales are together.
 *	(2) That the order of the dragon scale mail and dragon scales is the
 *	    the same defined in monst.c.
 */
DRGN_ARMR("gray dragon scale mail",   ANTIMAGIC,  1200, 1, CLR_GRAY),
DRGN_ARMR("silver dragon scale mail", REFLECTING, 1200, 1, SILVER),
#if 0	/* DEFERRED */
DRGN_ARMR("shimmering dragon scale mail", DISPLACED, 1200, 1, CLR_CYAN),
#endif
DRGN_ARMR("red dragon scale mail",    FIRE_RES,    900, 1, CLR_RED),
DRGN_ARMR("white dragon scale mail",  COLD_RES,    900, 1, CLR_WHITE),
DRGN_ARMR("orange dragon scale mail", SLEEP_RES,   900, 1, CLR_ORANGE),
DRGN_ARMR("black dragon scale mail",  DISINT_RES, 1200, 1, CLR_BLACK),
DRGN_ARMR("blue dragon scale mail",   SHOCK_RES,   900, 1, CLR_BLUE),
DRGN_ARMR("green dragon scale mail",  POISON_RES,  900, 1, CLR_GREEN),
DRGN_ARMR("yellow dragon scale mail", ACID_RES,    900, 1, CLR_YELLOW),

/* For now, only dragons leave these. */
DRGN_ARMR("gray dragon scales",   ANTIMAGIC,  700, 7, CLR_GRAY),
DRGN_ARMR("silver dragon scales", REFLECTING, 700, 7, SILVER),