vampire bit (trunk only)
Vampires' aversion to altars is retained when they've shapeshifted into their assorted alternate forms.
This commit is contained in:
+5
-4
@@ -125,12 +125,13 @@ struct monst *mtmp;
|
|||||||
is_rider(mtmp->data) || mtmp->data == &mons[PM_MINOTAUR])
|
is_rider(mtmp->data) || mtmp->data == &mons[PM_MINOTAUR])
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
|
||||||
return (boolean)(sobj_at(SCR_SCARE_MONSTER, x, y)
|
return (boolean)(sobj_at(SCR_SCARE_MONSTER, x, y) ||
|
||||||
#ifdef ELBERETH
|
#ifdef ELBERETH
|
||||||
|| sengr_at("Elbereth", x, y)
|
sengr_at("Elbereth", x, y) ||
|
||||||
#endif
|
#endif
|
||||||
|| (mtmp->data->mlet == S_VAMPIRE
|
(IS_ALTAR(levl[x][y].typ) &&
|
||||||
&& IS_ALTAR(levl[x][y].typ)));
|
(mtmp->data->mlet == S_VAMPIRE ||
|
||||||
|
is_vampshifter(mtmp))));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* regenerate lost hit points */
|
/* regenerate lost hit points */
|
||||||
|
|||||||
Reference in New Issue
Block a user