From 822396c2e0edd158a2c2686fb4e2b6553ae1c1de Mon Sep 17 00:00:00 2001 From: Greg Kennedy Date: Sun, 30 Mar 2025 13:46:27 -0500 Subject: [PATCH] Attribute adjustment resets abuse / exercise counter --- src/attrib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/attrib.c b/src/attrib.c index 405cbf7da..23e8117c7 100644 --- a/src/attrib.c +++ b/src/attrib.c @@ -187,6 +187,9 @@ adjattrib( return FALSE; } + /* Any successful change also resets abuse / exercise level */ + AEXE(ndx) = 0; + disp.botl = TRUE; if (msgflg <= 0) You_feel("%s%s!", (incr > 1 || incr < -1) ? "very " : "", attrstr);