1
0
Fork 0

Slow down creeper type mobs explosion buildup

This commit is contained in:
jordan4ibanez 2021-04-20 21:35:19 -04:00
parent bf367fffd0
commit fabd4d64e6
1 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ mobs.explode_attack_walk = function(self,dtime)
mobs.handle_explosion_animation(self)
self.explosion_animation = self.explosion_animation + (dtime/2)
self.explosion_animation = self.explosion_animation + (dtime/2.5)
end
--make explosive mobs jump
@ -59,7 +59,6 @@ end
--this is a small helper function to make working with explosion animations easier
mobs.reverse_explosion_animation = function(self,dtime)
--if explosion animation was greater than 0 then reverse it
if self.explosion_animation ~= nil and self.explosion_animation > 0 then
self.explosion_animation = self.explosion_animation - dtime