hid rangedweapons_hit

This commit is contained in:
Vitaliy Olkhin 2024-07-22 15:44:49 +05:00
parent bbe33a8151
commit 6a5f4939fc

View File

@ -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