From e93f0dedbf8b52e23254299fda149bd54bb22d30 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 10 Jan 2026 14:05:03 +0200 Subject: [PATCH] Make lyncanthropy less crippling Now, the were-creature instincts will keep the hero from unintentionally changing shape while next to hostile creatures. --- doc/fixes3-7-0.txt | 1 + src/were.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 227ad02e7..08436ca6e 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1560,6 +1560,7 @@ monster elves shooting arrows weren't getting intended small to-hit and damage safe armor enchantment limit is lowered by one for magical armor luck has a reduced effect on to-hit chance monsters use wand of teleportation to move hero away from item pile +lycanthrope instincts keep hero from changing shape while next to hostiles Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/were.c b/src/were.c index aa65341cb..59197177f 100644 --- a/src/were.c +++ b/src/were.c @@ -202,6 +202,8 @@ you_were(void) an(mons[u.ulycn].pmnames[NEUTRAL] + 4)); if (!paranoid_query(ParanoidWerechange, qbuf)) return; + } else if (monster_nearby()) { + return; } gw.were_changes++; (void) polymon(u.ulycn); @@ -217,6 +219,7 @@ you_unwere(boolean purify) set_ulycn(NON_PM); /* cure lycanthropy */ } if (!Unchanging && is_were(gy.youmonst.data) + && !monster_nearby() && (!controllable_poly || !paranoid_query(ParanoidWerechange, "Remain in beast form?"))) rehumanize();