We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 510f13d commit 4bc6bf1Copy full SHA for 4bc6bf1
doc/evilhack-changelog.md
@@ -4005,4 +4005,5 @@ The following changes to date are:
4005
- Fix: Harbinger was not protecting worn armor from acid damage
4006
- Fix: wearing gloves with elemental object properties and elemental
4007
damage
4008
+- Draugr knights shouldn't start with apples and oranges
4009
src/makemon.c
@@ -355,6 +355,7 @@ extern struct trobj Knight[];
355
extern struct trobj Elven_Knight[];
356
extern struct trobj Dwarvish_Knight[];
357
extern struct trobj Orcish_Knight[];
358
+extern struct trobj Draugr_Knight[];
359
extern struct trobj Monk[];
360
extern struct trobj Draugr_Monk[];
361
extern struct trobj Priest[];
@@ -1136,6 +1137,8 @@ register struct monst *mtmp;
1136
1137
ini_mon_inv(mtmp, Dwarvish_Knight, 1);
1138
else if (racial_orc(mtmp))
1139
ini_mon_inv(mtmp, Orcish_Knight, 1);
1140
+ else if (racial_zombie(mtmp))
1141
+ ini_mon_inv(mtmp, Draugr_Knight, 1);
1142
else
1143
ini_mon_inv(mtmp, Knight, 1);
1144
mongets(mtmp, SKELETON_KEY);
src/u_init.c
@@ -158,6 +158,16 @@ struct trobj Orcish_Knight[] = {
158
{ CARROT, 0, FOOD_CLASS, 10, 0 },
159
{ 0, 0, 0, 0, 0 }
160
};
161
+struct trobj Draugr_Knight[] = {
162
+ { LONG_SWORD, 1, WEAPON_CLASS, 1, UNDEF_BLESS },
163
+ { LANCE, 1, WEAPON_CLASS, 1, UNDEF_BLESS },
164
+ { PLATE_MAIL, 0, ARMOR_CLASS, 1, UNDEF_BLESS },
165
+ { HELMET, 0, ARMOR_CLASS, 1, UNDEF_BLESS },
166
+ { LARGE_SHIELD, 0, ARMOR_CLASS, 1, UNDEF_BLESS },
167
+ { GAUNTLETS, 0, ARMOR_CLASS, 1, UNDEF_BLESS },
168
+ { 0, 0, 0, 0, 0 }
169
+};
170
+
171
struct trobj Monk[] = {
172
#define M_BOOK 2
173
{ GLOVES, 2, ARMOR_CLASS, 1, UNDEF_BLESS },
@@ -1075,6 +1085,8 @@ u_init()
1075
1085
ini_inv(Dwarvish_Knight);
1076
1086
else if (Race_if(PM_ORC))
1077
1087
ini_inv(Orcish_Knight);
1088
+ else if (Race_if(PM_DRAUGR))
1089
+ ini_inv(Draugr_Knight);
1078
1090
1079
1091
ini_inv(Knight);
1080
1092
knows_class(WEAPON_CLASS);
0 commit comments