From 217ad7615e7b43361f2d3a07a1e04244bfe20066 Mon Sep 17 00:00:00 2001 From: ElCeejo <40281901+ElCeejo@users.noreply.github.com> Date: Sat, 6 Aug 2022 22:25:00 -0700 Subject: [PATCH] Smooth death --- mob_meta.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mob_meta.lua b/mob_meta.lua index 81a9d34..8671865 100644 --- a/mob_meta.lua +++ b/mob_meta.lua @@ -1123,7 +1123,8 @@ function mob:_execute_utilities() self:initiate_utility(util_data.utility, unpack(util_data.args)) end local func = util_data.func - if util_data.step_delay then + if util_data.step_delay + and self.hp > 0 then self.step_delay = util_data.step_delay else self.step_delay = nil