mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix baby zombie/husk size
This commit is contained in:
parent
34656e0e69
commit
bc7c88ee69
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ mobs:register_mob("mobs_mc:zombie", zombie)
|
|||
|
||||
local baby_zombie = table.copy(zombie)
|
||||
baby_zombie.collisionbox = {-0.25, -0.01, -0.25, 0.25, 0.94, 0.25}
|
||||
baby_zombie.visual_size = {x=0.75, y=0.75}
|
||||
baby_zombie.visual_size = {x=zombie.visual_size.x/2, y=zombie.visual_size.y/2}
|
||||
baby_zombie.walk_velocity = 1.2
|
||||
baby_zombie.run_velocity = 2.4
|
||||
baby_zombie.light_damage = 0
|
||||
|
@ -111,7 +111,7 @@ mobs:register_mob("mobs_mc:husk", husk)
|
|||
-- A smaller and more dangerous variant of the husk
|
||||
local baby_husk = table.copy(husk)
|
||||
baby_husk.collisionbox = {-0.25, -0.01, -0.25, 0.25, 0.94, 0.25}
|
||||
baby_husk.visual_size = {x=0.75, y=0.75}
|
||||
baby_husk.visual_size = {x=zombie.visual_size.x/2, y=zombie.visual_size.y/2}
|
||||
baby_husk.walk_velocity = 1.2
|
||||
baby_husk.run_velocity = 2.4
|
||||
|
||||
|
|
Loading…
Reference in a new issue