mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-05 14:49:32 +01:00
Specify rain damage for rovers
This commit is contained in:
parent
ae263a19c9
commit
a643424726
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,7 @@ mcl_mobs.register_mob("mobs_mc:rover", {
|
|||
--rain hurts enderman
|
||||
self.object:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups={fleshy=self._damage},
|
||||
damage_groups={fleshy=self.rain_damage},
|
||||
}, nil)
|
||||
--randomly teleport hopefully under something.
|
||||
self:teleport(nil)
|
||||
|
@ -466,6 +466,7 @@ mcl_mobs.register_mob("mobs_mc:rover", {
|
|||
end,
|
||||
armor = { fleshy = 100, water_vulnerable = 100 },
|
||||
water_damage = 8,
|
||||
rain_damage = 2,
|
||||
view_range = 64,
|
||||
fear_height = 4,
|
||||
attack_type = "dogfight",
|
||||
|
|
Loading…
Reference in a new issue