Commit e5730c1 1 parent 4349ecb commit e5730c1 Copy full SHA for e5730c1
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3432,4 +3432,5 @@ The following changes to date are:
3432
3432
- Draugr and various interactions with NPC's
3433
3433
- Draugr can regenerate hit points while in the Valley of the Dead
3434
3434
- More role-specific bits for Draugr
3435
+ - Ensure unique undead monsters are appropriately hostile towards Draugr
3435
3436
Original file line number Diff line number Diff line change @@ -3969,8 +3969,8 @@ register struct monst *mtmp;
3969
3969
being non-hostile to unaligned, then the usual check for coaligned.
3970
3970
For crowned Infidels, the random check is bypassed. Followers of
3971
3971
Lolth - if they are Drow, stay chaotic, and are at least fervently
3972
- aligned, she will spawn peaceful. Undead will be peaceful towards
3973
- Draugr more often than not */
3972
+ aligned, she will spawn peaceful. Undead (non-uniques) will be
3973
+ peaceful towards Draugr more often than not */
3974
3974
if (always_hostile (ptr )) {
3975
3975
if (Role_if (PM_INFIDEL ) && is_demon (ptr )
3976
3976
&& (u .uevent .uhand_of_elbereth || rn2 (2 ))) {
@@ -3980,7 +3980,8 @@ register struct monst *mtmp;
3980
3980
&& !Upolyd && Race_if (PM_DROW )) {
3981
3981
return TRUE;
3982
3982
} else if (!Upolyd && Race_if (PM_DRAUGR )
3983
- && is_undead (ptr ) && rn2 (3 )) {
3983
+ && is_undead (ptr )
3984
+ && !unique_corpstat (ptr ) && rn2 (3 )) {
3984
3985
return TRUE;
3985
3986
} else {
3986
3987
return FALSE;
You can’t perform that action at this time.
0 commit comments