sorcery  Diff

Differences From Artifact [47b0c7f3e9]:

To Artifact [a738b55bd0]:


   384    384   			local duration = (ctx.base.gem == 'amethyst' and 60) or 30
   385    385   			if ctx.base.gem == 'diamond' then
   386    386   				power = power * (math.random()*2)
   387    387   				range = range * (math.random()*2)
   388    388   				duration = duration * (math.random()*2)
   389    389   			end
   390    390   			local lum = math.ceil((power/maxpower) * minetest.LIGHT_MAX)
   391         -			print('setting lum',lum)
   392    391   			for i=1,power do
   393    392   				local pos = vector.add(center, {
   394    393   					x = math.random(-range,range);
   395    394   					z = math.random(-range,range);
   396    395   					y = math.random(0,range/2);
   397    396   				})
   398    397   				local delta = vector.subtract(pos,center)