1
0
Fork 0

Make ghasts not insta-kill

This commit is contained in:
jordan4ibanez 2021-04-23 13:06:57 -04:00
parent b6f19699e9
commit dd76b15c50
1 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ mobs:register_arrow("mobs_mc:fireball", {
}, nil) }, nil)
]]-- ]]--
--mobs:boom(self, self.object:get_pos(), 1, true) --mobs:boom(self, self.object:get_pos(), 1, true)
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 }) mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
end, end,
hit_mob = function(self, mob) hit_mob = function(self, mob)
@ -123,12 +123,12 @@ mobs:register_arrow("mobs_mc:fireball", {
damage_groups = {fleshy = 6}, damage_groups = {fleshy = 6},
}, nil) }, nil)
--mobs:boom(self, self.object:get_pos(), 1, true) --mobs:boom(self, self.object:get_pos(), 1, true)
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 }) mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
end, end,
hit_node = function(self, pos, node) hit_node = function(self, pos, node)
--mobs:boom(self, pos, 1, true) --mobs:boom(self, pos, 1, true)
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 }) mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
end end
}) })