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
+1
View File
@@ -784,6 +784,7 @@ use silly names for rays (such as breath weapons) when hallucinating
zombies groan instead of being silent zombies groan instead of being silent
martial arts users, sasquatches, and heroes wearing kicking boots can martial arts users, sasquatches, and heroes wearing kicking boots can
no longer miss a monster completely with a clumsy kick no longer miss a monster completely with a clumsy kick
knights get no caitiff penalty against undead
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
+1
View File
@@ -268,6 +268,7 @@ check_caitiff(struct monst *mtmp)
return; return;
if (Role_if(PM_KNIGHT) && u.ualign.type == A_LAWFUL if (Role_if(PM_KNIGHT) && u.ualign.type == A_LAWFUL
&& !is_undead(mtmp->data)
&& (!mtmp->mcanmove || mtmp->msleeping && (!mtmp->mcanmove || mtmp->msleeping
|| (mtmp->mflee && !mtmp->mavenge))) { || (mtmp->mflee && !mtmp->mavenge))) {
You("caitiff!"); You("caitiff!");