forked from JailDoctor/cacaus
- New hurt system
This commit is contained in:
@@ -36,8 +36,7 @@ function zombie:update_normal()
|
||||
|
||||
if self.hab==abad.hab then
|
||||
if aabb(abad,self) then
|
||||
if abad.energia>0 then abad.energia=abad.energia-1 end
|
||||
cls(3)
|
||||
abad_hurt(1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user