mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-18 20:36:41 -04:00
Small fixes
This commit is contained in:
parent
0af4c2ba24
commit
7b3d55fef8
2 changed files with 6 additions and 6 deletions
|
@ -1167,7 +1167,7 @@ function mob:_vitals()
|
|||
if on_ground then
|
||||
damage = fall_start - pos.y
|
||||
if damage < max_fall then
|
||||
damage = nil
|
||||
damage = 0
|
||||
else
|
||||
local resist = self.fall_resistance or 0
|
||||
damage = damage - damage * resist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue