@@ -56,27 +56,9 @@ inv:remove_item('main',btl) inv:add_item('main',blood) target:punch(user, 1.0, caps, nil) - for i=0, 48 do - minetest.add_particle{ - texture = 'sorcery_blood_' .. math.random(5) .. '.png', - size = 7, - expirationtime = 2 + math.random(), - glow = 1, - pos = pos, - velocity = { - x = (math.random() * 3.0) - 1.5, - y = math.random(), - z = (math.random() * 3.0) - 1.5 - }, - acceleration = { - x = 0, - y = -1, - z = 0 - } - } - end + sorcery.vfx.bloodburst(pos) if math.random(3 + sorcery.enchant.strength(stack,'sanctify') * 6) == 1 then -- we've used up the consecration local unholy = ItemStack("sorcery:dagger")