Knights get no caitiff penalty against undead

This commit is contained in:
Pasi Kallinen
2022-02-18 21:29:31 +02:00
parent d1b5b39e6d
commit cd14456b02
2 changed files with 2 additions and 0 deletions

View File

@@ -268,6 +268,7 @@ check_caitiff(struct monst *mtmp)
return;
if (Role_if(PM_KNIGHT) && u.ualign.type == A_LAWFUL
&& !is_undead(mtmp->data)
&& (!mtmp->mcanmove || mtmp->msleeping
|| (mtmp->mflee && !mtmp->mavenge))) {
You("caitiff!");