Specify rain damage for rovers

This commit is contained in:
teknomunk 2024-11-24 09:47:04 -06:00
parent 5148d65866
commit 654d9fb453
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,7 @@ mcl_mobs.register_mob("mobs_mc:rover", {
--rain hurts enderman --rain hurts enderman
self.object:punch(self.object, 1.0, { self.object:punch(self.object, 1.0, {
full_punch_interval=1.0, full_punch_interval=1.0,
damage_groups={fleshy=self._damage}, damage_groups={fleshy=self.rain_damage},
}, nil) }, nil)
--randomly teleport hopefully under something. --randomly teleport hopefully under something.
self:teleport(nil) self:teleport(nil)
@ -466,6 +466,7 @@ mcl_mobs.register_mob("mobs_mc:rover", {
end, end,
armor = { fleshy = 100, water_vulnerable = 100 }, armor = { fleshy = 100, water_vulnerable = 100 },
water_damage = 8, water_damage = 8,
rain_damage = 2,
view_range = 64, view_range = 64,
fear_height = 4, fear_height = 4,
attack_type = "dogfight", attack_type = "dogfight",