Exhaust player for being hit by mob projectile
This commit is contained in:
parent
c1ad39febd
commit
6083c4895d
3 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,7 @@ mobs:register_arrow("mobs_mc:blaze_fireball", {
|
|||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 5},
|
||||
}, nil)
|
||||
mcl_hunger.exhaust(player:get_player_name(), mcl_hunger.EXHAUST_DAMAGE)
|
||||
end,
|
||||
|
||||
hit_mob = function(self, player)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue