From a560248527bd6b9c20799eeb0bf64250a3283d8f Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Tue, 31 May 2016 00:43:01 +1000 Subject: [PATCH] - no critical hits when exhausted --- attack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/attack.c b/attack.c index 5b7f58f..8859478 100644 --- a/attack.c +++ b/attack.c @@ -1032,6 +1032,8 @@ int attacklf(lifeform_t *lf, lifeform_t *victim, object_t *wep, flag_t *damflag) hit = rolltohit(lf, victim, wep, &critical, &fumble, &missby); if (lfhasflag(victim, F_HEAVENARM)) { critical = B_FALSE; + } else if (isexhausted(lf)) { + critical = B_FALSE; } if (critical && !lfhasflag(lf, F_PHANTASM)) {