mobs balancing

This commit is contained in:
Juraj Vajda 2018-01-10 15:30:32 -05:00
parent d5961c5289
commit b334029484
3 changed files with 27 additions and 27 deletions

View File

@ -8,9 +8,9 @@ local bunny_evil_def = {
pathfinding = false, pathfinding = false,
reach = 2, reach = 2,
damage = 3, damage = 3,
hp_min = 25, hp_min = 35,
hp_max = 35, hp_max = 65,
armor = 200, armor = 100,
collisionbox = {-0.268, -0.5, -0.268, 0.268, 0.167, 0.268}, collisionbox = {-0.268, -0.5, -0.268, 0.268, 0.167, 0.268},
visual = "mesh", visual = "mesh",
mesh = "spawners_mobs_evil_bunny.b3d", mesh = "spawners_mobs_evil_bunny.b3d",
@ -24,16 +24,16 @@ local bunny_evil_def = {
makes_footstep_sound = false, makes_footstep_sound = false,
walk_velocity = 1.5, walk_velocity = 1.5,
run_velocity = 4, run_velocity = 4,
view_range = 15, view_range = 5,
jump = true, jump = true,
floats = 1, floats = 1,
drops = { drops = {
{name = "mobs:meat_raw", chance = 5, min = 1, max = 1}, {name = "mobs:meat_raw", chance = 5, min = 1, max = 1},
}, },
water_damage = 3, water_damage = 5,
lava_damage = 4, lava_damage = 10,
light_damage = 10, light_damage = 10,
fear_height = 2, fear_height = 3,
animation = { animation = {
speed_normal = 15, speed_normal = 15,
stand_start = 1, stand_start = 1,
@ -44,14 +44,14 @@ local bunny_evil_def = {
punch_end = 24, punch_end = 24,
}, },
-- follow = {"mobs:lava_orb"}, -- follow = {"mobs:lava_orb"},
on_rightclick = function(self, clicker) -- on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 3, true, true) then -- if mobs:feed_tame(self, clicker, 3, true, true) then
return -- return
end -- end
mobs:capture_mob(self, clicker, 30, 50, 80, false, nil) -- mobs:capture_mob(self, clicker, 30, 50, 80, false, nil)
end, -- end,
} }
mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def) mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def)
@ -59,9 +59,9 @@ mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def)
mobs:spawn({ mobs:spawn({
name = "spawners_mobs:bunny_evil", name = "spawners_mobs:bunny_evil",
nodes = {"default:snowblock", "default:dirt_with_snow", "default:ice"}, nodes = {"default:snowblock", "default:dirt_with_snow", "default:ice"},
min_light = 0,
max_light = 20,
chance = 7000, chance = 7000,
min_light = 0,
max_light = 14,
active_object_count = 3, active_object_count = 3,
day_toggle = false, day_toggle = false,
}) })

View File

@ -5,7 +5,7 @@ local mummy_def = {
passive = false, passive = false,
pathfinding = false, pathfinding = false,
attack_type = "dogshoot", attack_type = "dogshoot",
owner_loyal = true, -- owner_loyal = true,
shoot_interval = 2, shoot_interval = 2,
dogshoot_switch = 1, dogshoot_switch = 1,
dogshoot_count_max = 10, dogshoot_count_max = 10,
@ -30,7 +30,7 @@ local mummy_def = {
}, },
walk_velocity = .75, walk_velocity = .75,
run_velocity = 1.5, run_velocity = 1.5,
view_range = 15, view_range = 5,
jump = true, jump = true,
floats = 1, floats = 1,
drops = { drops = {
@ -43,10 +43,10 @@ local mummy_def = {
{name = "default:mese_crystal", chance = 3, min = 1, max = 2}, {name = "default:mese_crystal", chance = 3, min = 1, max = 2},
{name = "spawners_mobs:mummy", chance = 25, min = 1, max = 1}, {name = "spawners_mobs:mummy", chance = 25, min = 1, max = 1},
}, },
water_damage = 4, water_damage = 5,
lava_damage = 8, lava_damage = 10,
light_damage = 10, light_damage = 10,
fear_height = 4, fear_height = 3,
animation = { animation = {
speed_normal = 15, speed_normal = 15,
speed_run = 15, speed_run = 15,
@ -64,7 +64,7 @@ local mummy_def = {
minetest.sound_play("spawners_mobs_mummy_death", { minetest.sound_play("spawners_mobs_mummy_death", {
object = self.object, object = self.object,
pos = pos, pos = pos,
max_hear_distance = 10 max_hear_distance = 8
}) })
end, end,
-- on_rightclick = function(self, clicker) -- on_rightclick = function(self, clicker)
@ -82,9 +82,9 @@ mobs:register_mob("spawners_mobs:mummy", mummy_def)
mobs:spawn({ mobs:spawn({
name = "spawners_mobs:mummy", name = "spawners_mobs:mummy",
nodes = {"default:desert_sand", "default:sand"}, nodes = {"default:desert_sand", "default:sand"},
min_light = 0,
max_light = 20,
chance = 7000, chance = 7000,
min_light = 0,
max_light = 14,
active_object_count = 2, active_object_count = 2,
day_toggle = false, day_toggle = false,
}) })

View File

@ -30,7 +30,7 @@ local uruk_hai_def = {
}, },
walk_velocity = 1, walk_velocity = 1,
run_velocity = 3, run_velocity = 3,
view_range = 15, view_range = 5,
jump = true, jump = true,
floats = 1, floats = 1,
drops = { drops = {
@ -44,10 +44,10 @@ local uruk_hai_def = {
{name = "bones:bones", chance = 5, min = 1, max = 1}, {name = "bones:bones", chance = 5, min = 1, max = 1},
{name = "spawners_mobs:uruk_hai", chance = 20, min = 1, max = 1}, {name = "spawners_mobs:uruk_hai", chance = 20, min = 1, max = 1},
}, },
water_damage = 0, water_damage = 5,
lava_damage = 0, lava_damage = 10,
light_damage = 0, light_damage = 0,
fear_height = 4, fear_height = 3,
animation = { animation = {
speed_normal = 15, speed_normal = 15,
speed_run = 15, speed_run = 15,