mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Changed drop chance
This commit is contained in:
parent
a31ed90a81
commit
299099116b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ local function crystal_explode(self, puncher)
|
||||||
if self._exploded then return end
|
if self._exploded then return end
|
||||||
self._exploded = true
|
self._exploded = true
|
||||||
local strength = puncher and explosion_strength or 1
|
local strength = puncher and explosion_strength or 1
|
||||||
mcl_explosions.explode(vector.add(self.object:get_pos(), {x = 0, y = 1.5, z = 0}), strength, {drop_chance = 0}, puncher)
|
mcl_explosions.explode(vector.add(self.object:get_pos(), {x = 0, y = 1.5, z = 0}), strength, {drop_chance = 1}, puncher)
|
||||||
minetest.after(0, self.object.remove, self.object)
|
minetest.after(0, self.object.remove, self.object)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue