fix github issue #1038 - vampshifted Vlad in bones
Reported by vultur-cadens: if Vlad made it to a level which allowed bones and was in wolf or bat or cloud form when the hero died, he would not be excluded from the bones file as intended. When those bones got loaded in another game, Vlad would become flagged as extinct. If that happened before his own level was reached, he wouldn't be created when hero arrived thus there would be no way to acquire the Candelabrum of Invocation. (Even if his vampshifted form had been carrying it, it wouldn't be present in the bones data because it would have been converted into candles.) Fixes #1038
This commit is contained in:
@@ -391,6 +391,7 @@ remove_mon_from_bones(struct monst *mtmp)
|
||||
if (mtmp->iswiz || mptr == &mons[PM_MEDUSA]
|
||||
|| mptr->msound == MS_NEMESIS || mptr->msound == MS_LEADER
|
||||
|| mptr == &mons[PM_VLAD_THE_IMPALER]
|
||||
|| mtmp->cham == PM_VLAD_THE_IMPALER /* in case he's vampshifted */
|
||||
|| (mptr == &mons[PM_ORACLE] && !fixuporacle(mtmp)))
|
||||
mongone(mtmp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user