forked from MineClone5/MineClone5
Only burning arrows set objects on fire
This commit is contained in:
parent
a3ccb54376
commit
000dd3cbc9
|
@ -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)
|
||||||
|
if mcl_burning.is_burning(self.object) then
|
||||||
mcl_burning.set_on_fire(obj, 4)
|
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},
|
||||||
|
|
Loading…
Reference in New Issue