Reduce reach of hostile mobs

master
Wuzzy 2017-07-20 16:01:51 +02:00
parent 68882b555d
commit a83b585f25
20 changed files with 20 additions and 1 deletions

View File

@ -34,6 +34,7 @@ mobs:register_mob("mobs_mc:blaze", {
walk_velocity = .8,
run_velocity = 1.6,
damage = 6,
reach = 1,
pathfinding = 1,
drops = {
{name = mobs_mc.items.blaze_rod,

View File

@ -42,6 +42,7 @@ mobs:register_mob("mobs_mc:enderman", {
walk_velocity = 0.2,
run_velocity = 3.4,
damage = 7,
reach = 1,
drops = {
{name = mobs_mc.items.ender_pearl,
chance = 1,

View File

@ -33,6 +33,7 @@ mobs:register_mob("mobs_mc:endermite", {
fear_height = 4,
view_range = 16,
damage = 2,
reach = 1,
blood_amount = 0,
})

View File

@ -19,6 +19,7 @@ mobs:register_mob("mobs_mc:guardian", {
walk_velocity = 2,
run_velocity = 4,
damage = 6,
reach = 3,
collisionbox = {-0.425, 0.25, -0.425, 0.425, 1.1, 0.425},
visual = "mesh",
mesh = "mobs_mc_guardian.b3d",

View File

@ -19,6 +19,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
walk_velocity = 2,
run_velocity = 4,
damage = 8,
reach = 3,
collisionbox = {-0.99875, 0.5, -0.99875, 0.99875, 2.4975, 0.99875},
visual = "mesh",
mesh = "mobs_mc_guardian.b3d",

View File

@ -40,6 +40,7 @@ mobs:register_mob("mobs_mc:iron_golem", {
run_velocity = 1.2,
-- Approximation
damage = 14,
reach = 3,
group_attack = true,
attacks_monsters = true,
attack_type = "dogfight",

View File

@ -64,6 +64,7 @@ local ocelot = {
attack_type = "dogfight",
pathfinding = 1,
damage = 2,
reach = 1,
attack_animals = true,
specific_attack = { "mobs_mc:chicken" },
on_rightclick = function(self, clicker)

View File

@ -27,6 +27,7 @@ mobs:register_mob("mobs_mc:polar_bear", {
visual_size = {x=3.0, y=3.0},
makes_footstep_sound = true,
damage = 6,
reach = 2,
walk_velocity = 1.2,
run_velocity = 2.4,
group_attack = true,

View File

@ -7,7 +7,7 @@ local S, NS = dofile(MP.."/intllib.lua")
local rabbit = {
type = "animal",
passive = true,
reach = 2,
reach = 1,
hp_min = 3,
hp_max = 3,

View File

@ -41,6 +41,7 @@ mobs:register_mob("mobs_mc:silverfish", {
view_range = 16,
attack_type = "dogfight",
damage = 1,
reach = 1,
blood_amount = 0,
})

View File

@ -39,6 +39,7 @@ local skeleton = {
walk_velocity = 1.2,
run_velocity = 2.4,
damage = 2,
reach = 1,
drops = {
{name = mobs_mc.items.arrow,
chance = 1,

View File

@ -39,6 +39,7 @@ mobs:register_mob("mobs_mc:witherskeleton", {
walk_velocity = 1.2,
run_velocity = 2.4,
damage = 7,
reach = 1,
drops = {
{name = mobs_mc.items.coal,
chance = 1,

View File

@ -23,6 +23,7 @@ local spider = {
attack_type = "dogfight",
pathfinding = 1,
damage = 2,
reach = 1,
hp_min = 16,
hp_max = 16,
collisionbox = {-0.7, -0.01, -0.7, 0.7, 0.89, 0.7},

View File

@ -31,6 +31,7 @@ mobs:register_mob("mobs_mc:vex", {
},
visual_size = {x=1.25, y=1.25},
damage = 9,
reach = 1,
view_range = 16,
walk_velocity = 3.2,
run_velocity = 5.9,

View File

@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:vindicator", {
visual_size = {x=3, y=3},
makes_footstep_sound = true,
damage = 13,
reach = 1,
walk_velocity = 1.2,
run_velocity = 2.4,
attack_type = "dogfight",

View File

@ -33,6 +33,7 @@ mobs:register_mob("mobs_mc:villager_zombie", {
visual_size = {x=3, y=3},
makes_footstep_sound = true,
damage = 3,
reach = 1,
walk_velocity = 1.2,
run_velocity = 2.4,
attack_type = "dogfight",

View File

@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:witch", {
visual_size = {x=3, y=3},
makes_footstep_sound = true,
damage = 2,
reach = 1,
walk_velocity = 1.2,
run_velocity = 2.4,
pathfinding = 1,

View File

@ -47,6 +47,7 @@ local wolf = {
run_velocity = 3,
stepheight = 1.1,
damage = 4,
reach = 1,
attack_type = "dogfight",
fear_height = 4,
water_damage = 0,

View File

@ -38,6 +38,7 @@ local zombie = {
walk_velocity = .8,
run_velocity = 1.6,
damage = 3,
reach = 1,
fear_height = 4,
pathfinding = 1,
jump = true,

View File

@ -23,6 +23,7 @@ local pigman = {
attack_type = "dogfight",
group_attack = true,
damage = 9,
reach = 1,
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
visual = "mesh",
mesh = "mobs_mc_zombie_pigman.b3d",