From d6dd5c743c6520652a82937063f788d7be747014 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 13 Apr 2025 20:13:54 +0300 Subject: [PATCH] Reinstate some of the mind flayer amnesia When I reworked amnesia to not forget levels or objects, I removed the forgetting from the mind flayer attacks. I intended to add something to replace it, but forgot ... --- src/uhitm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/uhitm.c b/src/uhitm.c index 581c6287e..fecd46228 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -3197,7 +3197,14 @@ mhitm_ad_drin( } /* adjattrib gives dunce cap message when appropriate */ (void) adjattrib(A_INT, -rnd(2), FALSE); - + if (!rn2(5)) { + losespells(); + gs.skipdrin = TRUE; + } + if (!rn2(5)) { + drain_weapon_skill(rnd(2)); + gs.skipdrin = TRUE; + } } else { /* mhitm */ char buf[BUFSZ];