ki-rin's horn

Let ki-rin cure themselves (of being stunned, confused, or blinded)
with their own horn, and make them be poison resistant.  They
aren't unicorns but their horn is very much like a unicorn horn.
They're flagged no-corpse so this hasn't changed them to leave
behind a horn upon death.

They were flagged as animals who neighed but they are also spell
casters.  I took the animal flag off (they're still no-hands so
shouldn't be able to use items; also, unicorns aren't flagged as
animals either) and changed sound to 'ms_spell'.
This commit is contained in:
PatR
2020-11-18 11:16:21 -08:00
parent db90e7907c
commit 27b93148c0
4 changed files with 36 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 monst.c $NHDT-Date: 1596498187 2020/08/03 23:43:07 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.76 $ */
/* NetHack 3.7 monst.c $NHDT-Date: 1605726850 2020/11/18 19:14:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.78 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Michael Allison, 2006. */
/* NetHack may be freely redistributed. See license for details. */
@@ -1020,13 +1020,15 @@ NEARDATA struct permonst mons_init[] = {
M1_FLY | M1_HUMANOID | M1_SEE_INVIS,
M2_NOPOLY | M2_MINION | M2_STALK | M2_STRONG | M2_NASTY | M2_COLLECT,
M3_INFRAVISIBLE | M3_INFRAVISION, 19, CLR_WHITE),
/* the AD&D Monster Manual depicts ki-rin as very similar to unicorns
except that they fly (without wings) and can cast spells */
MON("ki-rin", S_ANGEL, LVL(16, 18, -5, 90, 15),
(G_NOHELL | G_NOCORPSE | 1),
A(ATTK(AT_KICK, AD_PHYS, 2, 4), ATTK(AT_KICK, AD_PHYS, 2, 4),
ATTK(AT_BUTT, AD_PHYS, 3, 6), ATTK(AT_MAGC, AD_SPEL, 2, 6), NO_ATTK,
NO_ATTK),
SIZ(WT_HUMAN, 400, MS_NEIGH, MZ_LARGE), 0, 0,
M1_FLY | M1_ANIMAL | M1_NOHANDS | M1_SEE_INVIS,
SIZ(WT_HUMAN, 400, MS_SPELL, MZ_LARGE), MR_POISON, 0,
M1_FLY | M1_NOHANDS | M1_SEE_INVIS,
M2_NOPOLY | M2_MINION | M2_STALK | M2_STRONG | M2_NASTY | M2_LORD,
M3_INFRAVISIBLE | M3_INFRAVISION, 21, HI_GOLD),
MON("Archon", S_ANGEL, LVL(19, 16, -6, 80, 15),