non-humanoid lawful minions wearing armor

<Someone> reported that couatl and ki-rin could wear boots and gloves.
Two problems: 1. all minions were created with a sword and armor, even those
that couldn't use them.  2. couatl and ki-rin were missing some important
bits in their M1 flags.
Now neither couatl or ki-rin are created with armor, and they won't try
to wear any armor they cross in the dungeon.
This commit is contained in:
cohrs
2003-03-10 20:57:49 +00:00
parent 4e1c4a5f74
commit 1a428307f3
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -11,6 +11,7 @@ expert fireball/cone of cold could not target a monster seen only with
infravision or ESP infravision or ESP
display "lotus juice", not "lotu juice" for the fruit juice name display "lotus juice", not "lotu juice" for the fruit juice name
statue of any golem hit with stone-to-flesh spell animates as flesh golem statue of any golem hit with stone-to-flesh spell animates as flesh golem
only humanoid angelic minions should get/use sword and armor
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes
+1 -1
View File
@@ -258,7 +258,7 @@ register struct monst *mtmp;
break; break;
case S_ANGEL: case S_ANGEL:
{ if (humanoid(ptr)) {
int spe2; int spe2;
/* create minion stuff; can't use mongets */ /* create minion stuff; can't use mongets */
+2 -2
View File
@@ -1072,7 +1072,7 @@ NEARDATA struct permonst mons[] = {
A(ATTK(AT_BITE, AD_DRST, 2, 4), ATTK(AT_BITE, AD_PHYS, 1, 3), A(ATTK(AT_BITE, AD_DRST, 2, 4), ATTK(AT_BITE, AD_PHYS, 1, 3),
ATTK(AT_HUGS, AD_WRAP, 2, 4), NO_ATTK, NO_ATTK, NO_ATTK), ATTK(AT_HUGS, AD_WRAP, 2, 4), NO_ATTK, NO_ATTK, NO_ATTK),
SIZ(900, 400, 0, MS_HISS, MZ_LARGE), MR_POISON, 0, SIZ(900, 400, 0, MS_HISS, MZ_LARGE), MR_POISON, 0,
M1_FLY|M1_POIS, M1_FLY|M1_NOHANDS|M1_SLITHY|M1_POIS,
M2_MINION|M2_STALK|M2_STRONG|M2_NASTY, M3_INFRAVISIBLE|M3_INFRAVISION, M2_MINION|M2_STALK|M2_STRONG|M2_NASTY, M3_INFRAVISIBLE|M3_INFRAVISION,
CLR_GREEN), CLR_GREEN),
MON("Aleax", S_ANGEL, MON("Aleax", S_ANGEL,
@@ -1100,7 +1100,7 @@ NEARDATA struct permonst mons[] = {
ATTK(AT_BUTT, AD_PHYS, 3, 6), ATTK(AT_MAGC, AD_SPEL, 2, 6), ATTK(AT_BUTT, AD_PHYS, 3, 6), ATTK(AT_MAGC, AD_SPEL, 2, 6),
NO_ATTK, NO_ATTK), NO_ATTK, NO_ATTK),
SIZ(WT_HUMAN, 400, 0, MS_NEIGH, MZ_LARGE), 0, 0, SIZ(WT_HUMAN, 400, 0, MS_NEIGH, MZ_LARGE), 0, 0,
M1_FLY|M1_SEE_INVIS, M1_FLY|M1_ANIMAL|M1_NOHANDS|M1_SEE_INVIS,
M2_NOPOLY|M2_MINION|M2_STALK|M2_STRONG|M2_NASTY|M2_LORD, M2_NOPOLY|M2_MINION|M2_STALK|M2_STRONG|M2_NASTY|M2_LORD,
M3_INFRAVISIBLE|M3_INFRAVISION, HI_GOLD), M3_INFRAVISIBLE|M3_INFRAVISION, HI_GOLD),
MON("Archon", S_ANGEL, MON("Archon", S_ANGEL,