hid rangedweapons_hit
This commit is contained in:
parent
bbe33a8151
commit
6a5f4939fc
2
ammo.lua
2
ammo.lua
@ -316,10 +316,12 @@ if math.random(1,100) <= crit+((skill*10)-10) then
|
|||||||
|
|
||||||
|
|
||||||
local entpos = self.object:get_pos()
|
local entpos = self.object:get_pos()
|
||||||
|
--[[
|
||||||
minetest.add_particle ({
|
minetest.add_particle ({
|
||||||
pos = entpos, velocity = 0, acceleration = {x=0, y=5, z=0},
|
pos = entpos, velocity = 0, acceleration = {x=0, y=5, z=0},
|
||||||
expirationtime = 0.75, size = 12, collisiondetection = false,
|
expirationtime = 0.75, size = 12, collisiondetection = false,
|
||||||
vertical = false, texture = "rangedweapons_crit.png", glow = 30,})
|
vertical = false, texture = "rangedweapons_crit.png", glow = 30,})
|
||||||
|
]]
|
||||||
hit_texture = "rangedweapons_crithit.png"
|
hit_texture = "rangedweapons_crithit.png"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user