1
0
Fork 0

Only burning arrows set objects on fire

objects
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"
end
damage_particles(self.object:get_pos(), self._is_critical)
if mcl_burning.is_burning(self.object) then
mcl_burning.set_on_fire(obj, 4)
end
obj:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups={fleshy=self._damage},