sorcery  Diff

Differences From Artifact [655b36ebed]:

To Artifact [269be1ec2d]:


     1      1   -- a rune is an abstract object created by a runeforge, which can be
     2      2   -- applied to an amulet in order to imbue that amulet with unique
     3      3   -- and fearsome powers. the specific spell depends on the stone the
     4      4   -- rune is applied to, and not all runes can necessarily be applied
     5      5   -- to all stones.
     6      6   
            7  +-- TODO add blood ritual that adds an extra "charge" to an amulet
            8  +
     7      9   local L = sorcery.lib
     8     10   local sparkle_region = function(s)
     9     11   	s.spell.visual_subjects {
    10     12   		amount = s.amt, time = s.time, -- attached = s;
    11     13   		minpos = s.minpos;
    12     14   		maxpos = s.maxpos;
    13     15   		minvel = { x = -0.4, y = -0.2, z = -0.4 };
................................................................................
   662    664   									wreck[#wreck+1] = pos
   663    665   								end
   664    666   							end
   665    667   							sorcery.spell.cast {
   666    668   								name = 'sorcery:spellshatter';
   667    669   								caster = ctx.caster;
   668    670   								anchor = epicenter;
   669         -								--disjunction = true;
   670         -								--range = radius;
          671  +								disjunction = true;
          672  +								range = radius;
   671    673   								duration = 10;
   672    674   								timeline = {
   673    675   									[0] = function(s)
   674    676   										s.visual_caster {
   675    677   											texture = tex;
   676    678   											amount = 100, time = 0.2;
   677    679   											minpos = { x = -0.1, y = -0.5, z = -0.1 };
................................................................................
  1017   1019   					sorcery.vfx.bloodburst(vector.add(tgt:get_pos(),{x=0,y=tgth/2,z=0}),20)
  1018   1020   					minetest.sound_play('sorcery_bloody_burst', { pos = pos, gain = 1.5 })
  1019   1021   					tgt:set_hp(0)
  1020   1022   				end;
  1021   1023   				frame = {
  1022   1024   					iridium = {
  1023   1025   						name = 'Massacre';
  1024         -						desc = "Unleash the dark and wicked force that lurks within this fell amulet to instantaneously slay all those who surround you, friend and foe alike";
         1026  +						desc = "Unleash the dark and wicked force that lurks within this fell amulet to instantaneously slay all those who surround you — friend and foe alike";
  1025   1027   					};
  1026   1028   				};
  1027   1029   			};
  1028   1030   		};
  1029   1031   	};
  1030   1032   	excavate = {
  1031   1033   		name = 'Excavate';