mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-04-30 05:41:46 -04:00
Smooth death
This commit is contained in:
parent
8ba75101ae
commit
217ad7615e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue