Make creepers even more deadly

This commit is contained in:
jordan4ibanez 2021-04-20 20:43:45 -04:00
parent 9678b556e1
commit cd6f07537f
2 changed files with 15 additions and 13 deletions

View File

@ -32,13 +32,15 @@ mobs.explode_attack_walk = function(self,dtime)
mobs.handle_explosion_animation(self)
self.explosion_animation = self.explosion_animation + (dtime/3)
self.explosion_animation = self.explosion_animation + (dtime/2)
print(self.explosion_animation)
end
--do biggening explosion thing
if self.explosion_animation and self.explosion_animation > self.explosion_timer then
mcl_explosions.explode(self.object:get_pos(), self.explosion_strength)
mcl_explosions.explode(self.object:get_pos(), self.explosion_strength,{ drop_chance = 1.0 })
self.object:remove()
end
end

View File

@ -36,7 +36,7 @@ mobs:register_mob("mobs_mc:creeper", {
explode = "tnt_explode",
distance = 16,
},
makes_footstep_sound = true,
makes_footstep_sound = false,
walk_velocity = 1.05,
run_velocity = 2.1,
runaway_from = { "mobs_mc:ocelot", "mobs_mc:cat" },
@ -44,12 +44,12 @@ mobs:register_mob("mobs_mc:creeper", {
--hssssssssssss
explosion_strength = 3,
explosion_radius = 3.5,
explosion_damage_radius = 3.5,
explosion_strength = 12,
explosion_radius = 6,
explosion_damage_radius = 8,
explosiontimer_reset_radius = 6,
reach = 3,
explosion_timer = 1.5,
explosion_timer = 0.3,
allow_fuse_reset = true,
stop_to_explode = true,
@ -159,18 +159,18 @@ mobs:register_mob("mobs_mc:creeper_charged", {
explode = "tnt_explode",
distance = 16,
},
makes_footstep_sound = true,
makes_footstep_sound = false,
walk_velocity = 1.05,
run_velocity = 2.1,
runaway_from = { "mobs_mc:ocelot", "mobs_mc:cat" },
attack_type = "explode",
explosion_strength = 6,
explosion_radius = 8,
explosion_damage_radius = 8,
explosiontimer_reset_radius = 6,
explosion_strength = 24,
explosion_radius = 12,
explosion_damage_radius = 18,
explosiontimer_reset_radius = 10,
reach = 2,
explosion_timer = 0.75,
explosion_timer = 0.3,
allow_fuse_reset = true,
stop_to_explode = true,