Differences From Artifact [343a5ccf55]:
- File vfx.lua — part of check-in [83426a2748] at 2020-10-22 15:51:39 on branch trunk — balance amulets better, add sound effects, add debugging privilege for runes, swat various glitches and bugs (user: lexi, size: 2914) [annotate] [blame] [check-ins using]
To Artifact [aaa85eb70f]:
- File vfx.lua — part of check-in [00922196a9] at 2020-10-24 01:21:08 on branch trunk — add some more spells, add spell infrastructure to support metamagic, especially disjunction, various tweaks and bugfixes. [emergency commit] (user: lexi, size: 3055) [annotate] [blame] [check-ins using]
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 {