Don't pacify unique monsters when untrapping them from web
This commit is contained in:
@@ -861,6 +861,7 @@ try to avoid locations with engraved Elbereth or scare monster scroll when
|
||||
who are susceptible to those
|
||||
be more flexible when wishing checks for artifact name matches; now allows
|
||||
"firebrand" or "fire-brand" to yield "Fire Brand"
|
||||
exclude unique monsters from pacification when untrapped from web
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -4704,6 +4704,7 @@ reward_untrap(struct trap* ttmp, struct monst* mtmp)
|
||||
if (!ttmp->madeby_u) {
|
||||
if (rnl(10) < 8 && !mtmp->mpeaceful && !helpless(mtmp)
|
||||
&& !mtmp->mfrozen && !mindless(mtmp->data)
|
||||
&& unique_corpstat(mtmp->data)
|
||||
&& mtmp->data->mlet != S_HUMAN) {
|
||||
mtmp->mpeaceful = 1;
|
||||
set_malign(mtmp); /* reset alignment */
|
||||
|
||||
Reference in New Issue
Block a user