Make erinyes scale with alignment abuse
Consistent with their mythological role of punishing those who had violated societal taboos -- oathbreakers, hosts who attacked their guests, etc -- erinyes scale with the cumulative amount of alignment abuse the hero has committed over the course of the game. This is tracked separately from the alignment record, and cannot be cleared by the hero improving her favor with her god via "good deeds" as the normal alignment record can. Erinyes will gain abilities, levels, and attacks as the hero's alignment abuse worsens. They will also aggravate monsters when near the hero.
This commit is contained in:
@@ -10,6 +10,7 @@ typedef schar aligntyp; /* basic alignment type */
|
||||
typedef struct align { /* alignment & record */
|
||||
aligntyp type;
|
||||
int record;
|
||||
unsigned abuse;
|
||||
} align;
|
||||
|
||||
/* bounds for "record" -- respect initial alignments of 10 */
|
||||
|
||||
@@ -1759,6 +1759,7 @@ extern void copy_mextra(struct monst *, struct monst *);
|
||||
extern void dealloc_mextra(struct monst *);
|
||||
extern boolean usmellmon(struct permonst *);
|
||||
extern void mimic_hit_msg(struct monst *, short);
|
||||
extern void adj_erinys(unsigned);
|
||||
|
||||
/* ### mondata.c ### */
|
||||
|
||||
|
||||
@@ -2492,12 +2492,14 @@
|
||||
and spelled this way */
|
||||
MON("erinys", S_DEMON, LVL(7, 12, 2, 30, 10),
|
||||
(G_HELL | G_NOCORPSE | G_SGROUP | 2),
|
||||
/* erinys attacks (among other things) are variable depending on your
|
||||
alignment abuse, can be increased from here by adj_erinys(mon.c) */
|
||||
A(ATTK(AT_WEAP, AD_DRST, 2, 4), NO_ATTK, NO_ATTK, NO_ATTK, NO_ATTK,
|
||||
NO_ATTK),
|
||||
SIZ(WT_HUMAN, 400, MS_SILENT, MZ_HUMAN), MR_FIRE | MR_POISON, 0,
|
||||
M1_HUMANOID | M1_POIS,
|
||||
M2_NOPOLY | M2_DEMON | M2_STALK | M2_HOSTILE | M2_STRONG | M2_NASTY
|
||||
| M2_FEMALE | M2_COLLECT,
|
||||
M2_NOPOLY | M2_DEMON | M2_STALK | M2_STRONG | M2_NASTY | M2_FEMALE
|
||||
| M2_COLLECT,
|
||||
M3_INFRAVISIBLE | M3_INFRAVISION, 10, CLR_RED, ERINYS),
|
||||
MON("barbed devil", S_DEMON, LVL(8, 12, 0, 35, 8),
|
||||
(G_HELL | G_NOCORPSE | G_SGROUP | 2),
|
||||
|
||||
Reference in New Issue
Block a user