sorcery  Diff

Differences From Artifact [343a5ccf55]:

To Artifact [aaa85eb70f]:


     1      1   sorcery.vfx = {}
            2  +
            3  +sorcery.vfx.glowspark = function(color)
            4  +	local spark = sorcery.lib.image('sorcery_spark.png')
            5  +	return spark:blit(spark:multiply(color))
            6  +end
     2      7   
     3      8   sorcery.vfx.cast_sparkle = function(caster,color,strength,duration,pos)
     4      9   	local ofs = pos
     5     10   		and function(x) return vector.add(pos,x) end
     6     11   		or  function(x) return x end
     7     12   	local height = caster:get_properties().eye_height
     8     13   	minetest.add_particlespawner {