pull request #792 - pet w/ engulf+digest \
can gain intrinsics by swallowing monsters whole Pull request #792 from entrez: monsters can gain instrinsics now but the case for an engulfer digesting a live monster was overlooked. Add the same for non-pet monsters digesting other monsters, likely under the influence of conflict but possibly counter-attacking a pet. Closes #792
This commit is contained in:
@@ -969,6 +969,7 @@ mdamagem(struct monst *magr, struct monst *mdef,
|
||||
} else if (pd == &mons[PM_NURSE]) {
|
||||
magr->mhp = magr->mhpmax;
|
||||
}
|
||||
mon_givit(magr, pd);
|
||||
}
|
||||
/* caveat: above digestion handling doesn't keep `pa' up to date */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user