From 4b30e3fab86d80aa0bfae1699d8bd1f822e5b9e8 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 8 Feb 2026 18:11:02 +0200 Subject: [PATCH] Healers may get tiny damage increase with knives Styled as anatomy knowledge, a healer attacking a monster in melee with a knife gets +1 damage per 6 dead monsters of that type, capped at +3 damage. Handwaving away the fact we're not keeping track who actually killed the monsters... Idea from aosdict. --- doc/fixes3-7-0.txt | 1 + src/weapon.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index afeb8c249..3bcb9e172 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1578,6 +1578,7 @@ slow monster effects are more effective against faster enemies light-spell is clerical, if playing a priest boomerang can hit multiple monsters the "bustling town" minetown has more peacefuls +healers may get tiny damage increase when attacking with knives Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/weapon.c b/src/weapon.c index bd21b93b2..9a12df652 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -319,6 +319,10 @@ dmgval(struct obj *otmp, struct monst *mon) } } + /* Healer with anatomy knowledge */ + if (Role_if(PM_HEALER) && objects[otmp->otyp].oc_skill == P_KNIFE) + tmp += min(3, svm.mvitals[monsndx(ptr)].died / 6); + /* Put weapon vs. monster type damage bonuses in below: */ if (Is_weapon || otmp->oclass == GEM_CLASS || otmp->oclass == BALL_CLASS || otmp->oclass == CHAIN_CLASS) {