0
0
Fork 0

Only burning arrows set objects on fire

This commit is contained in:
HimbeerserverDE 2021-01-28 20:16:26 +01:00
parent a3ccb54376
commit 000dd3cbc9
1 changed files with 3 additions and 1 deletions

View File

@ -251,7 +251,9 @@ ARROW_ENTITY.on_step = function(self, dtime)
armor.last_damage_types[obj:get_player_name()] = "projectile" armor.last_damage_types[obj:get_player_name()] = "projectile"
end end
damage_particles(self.object:get_pos(), self._is_critical) damage_particles(self.object:get_pos(), self._is_critical)
mcl_burning.set_on_fire(obj, 4) if mcl_burning.is_burning(self.object) then
mcl_burning.set_on_fire(obj, 4)
end
obj:punch(self.object, 1.0, { obj:punch(self.object, 1.0, {
full_punch_interval=1.0, full_punch_interval=1.0,
damage_groups={fleshy=self._damage}, damage_groups={fleshy=self._damage},