vampire bit (trunk only)
Vampires' aversion to altars is retained when they've shapeshifted into their assorted alternate forms.
This commit is contained in:
@@ -125,12 +125,13 @@ struct monst *mtmp;
|
||||
is_rider(mtmp->data) || mtmp->data == &mons[PM_MINOTAUR])
|
||||
return(FALSE);
|
||||
|
||||
return (boolean)(sobj_at(SCR_SCARE_MONSTER, x, y)
|
||||
return (boolean)(sobj_at(SCR_SCARE_MONSTER, x, y) ||
|
||||
#ifdef ELBERETH
|
||||
|| sengr_at("Elbereth", x, y)
|
||||
sengr_at("Elbereth", x, y) ||
|
||||
#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 */
|
||||
|
||||
Reference in New Issue
Block a user