1
2
3
4
5
6
7
8
9
10
11
12
13
...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
...
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
...
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
...
469
470
471
472
473
474
475
476
477
478
479
480
481
482
...
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
...
623
624
625
626
627
628
629
630
631
632
633
634
635
636
...
685
686
687
688
689
690
691
692
693
694
695
696
697
698
...
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
...
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
...
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
...
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
...
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
...
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
....
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
....
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
|
-- a rune is an abstract object created by a runeforge, which can be
-- applied to an amulet in order to imbue that amulet with unique
-- and fearsome powers. the specific spell depends on the stone the
-- rune is applied to, and not all runes can necessarily be applied
-- to all stones.
local sparkle_region = function(s)
s.spell.visual_subjects {
amount = s.amt, time = s.time, -- attached = s;
minpos = s.minpos;
maxpos = s.maxpos;
minvel = { x = -0.4, y = -0.2, z = -0.4 };
maxvel = { x = 0.4, y = 0.2, z = 0.4 };
................................................................................
sorcery.spell.disjoin{target=target}
end
return {
translocate = {
name = 'Translocate';
tone = {0,235,233};
minpower = 3;
rarity = 7;
amulets = {
amethyst = {
name = 'Joining';
desc = 'Give this amulet to another and with a snap of their fingers they can arrive safely at your side from anywhere in the world — though returning whence they came may be a more difficult matter';
apply = function(ctx)
local maker = ctx.user:get_player_name()
ctx.meta:set_string('rune_join_target',maker)
................................................................................
};
};
};
disjoin = {
name = 'Disjoin';
tone = {159,235,0};
minpower = 4;
rarity = 34;
amulets = {
sapphire = {
name = 'Unsealing';
desc = 'Wielding this amulet, a touch of your hand will unravel even the mightiest protective magics, leaving doors unsealed and walls free to tear down';
cast = function(ctx)
if ctx.target.type ~= 'node' then return false end
local r = 2 + math.floor(ctx.stats.power / 2)
local cast = false
for x = -r,r do
for y = -r,r do
for z = -r,r do
................................................................................
end
return cast
end;
};
amethyst = {
name = 'Purging';
desc = 'Free yourself from the grip of any malicious spellwork with a snap of your fingers — interrupting all of your own active spells in the process, including impending translocations';
cast = function(ctx) purge(ctx.caster) end;
};
emerald = {
name = 'Disjunction Field';
desc = 'Render an area totally opaque to spellwork for a period of time, disrupting any existing spells and preventing further spellcasting therein';
};
ruby = {
name = 'Disjunction';
desc = 'Wield this amulet against a spellcaster to disrupt and abort all their spells in progress, perhaps to trap a foe intent on translocating away, or unleash its force upon the victim of a malign hex to free them from its clutches';
mingrade = 3;
cast = function(ctx)
if ctx.target.type == 'object'
then purge(ctx.target.ref)
else return false
end
end;
frame = {
................................................................................
desc = 'Not only will your victim\'s spells be nullified, but all enchanted objects they carry will be stripped of their power — or possibly even destroyed outright';
};
};
};
luxite = {
name = 'Disjunctive Aura';
desc = 'For a time, all magic undertaken in your vicinity will fail totally — including your own';
cast = function(ctx)
local h = ctx.heading.eyeheight*1.1
sorcery.spell.cast {
name = 'sorcery:disjunctive-aura';
caster = ctx.caster, attach = 'caster';
subjects = {{player=ctx.caster}};
disjunction = true, range = 4 + ctx.stats.power;
................................................................................
minpos = { x = 0-range, y = -0.5, z = 0-range };
maxpos = { x = range, y = h, z = range };
img = sorcery.lib.image('sorcery_flicker.png'):glow(sorcery.lib.color(120,255,30));
}
end;
};
sounds = {
[0.00] = {sound='sorcery_disjoin', where='caster'};
[{whence=0,secs=0.8}] = {
sound='sorcery_disjoin_bg', where='subjects';
gain=0.5, stop = {whence=1,secs=-1.5}
};
[1.00] = {sound='sorcery_powerdown', where='caster'};
};
}
end
};
diamond = {
name = 'Mundanity';
desc = 'Strip away the effects of all active potions and spells in your immediate vicinity, leaving adversaries without their magicks to enhance and protect them, and allies free of any curses they may be hobbled by -- and, of course, vice versa';
cast = function(ctx)
local where = ctx.caster:get_pos()
local what = minetest.get_objects_inside_radius(where, 3 + (2*ctx.stats.power))
local who = {}
local pfac = math.min(1, ctx.stats.power/8)
for _, w in pairs(what) do
if w:is_player() and w ~= ctx.caster then
................................................................................
};
}
end;
frame = {
iridium = {
name = 'Spellshatter';
desc = 'Blast out a tidal wave of anti-magic that will nullify active spells, but also disenchant or destroy all magical items in range of its violently mundane grip';
cast = function(ctx)
local where = ctx.caster:get_pos()
local radius = 3 + (2*ctx.stats.power)
local what = minetest.get_objects_inside_radius(where, radius)
local who = {}
local pfac = math.min(1, ctx.stats.power/8)
for _, w in pairs(what) do
................................................................................
minsize = 0.7, maxsize = 2;
animation = {
type = 'vertical_frames', length = (21/6) + 0.1;
aspect_w = 16, aspect_h = 16;
}
}
end;
};
intervals = {
{period = 0.1, after = 0.15, fn = function(c)
for i = 1,80 do
local life = 0.2 + math.random() * 2
local dir = vector.new(math.random()-0.5,0,math.random()-0.5):normalize()
local pos = epicenter + (dir * (math.random()*radius))
................................................................................
}
}
end
if next(wreck) then
local k,p = sorcery.lib.tbl.pick(wreck)
minetest.add_particle {
texture = sorcery.lib.image('sorcery_sparking.png'):glow(sorcery.lib.color(255,0,0)):render();
pos = vector.offset(p,math.random(),math.random(),math.random());
expirationtime = 1;
size = 5 + math.random() * 4;
glow = 14;
animation = {
type = 'vertical_frames', length = 0.3;
aspect_w = 64, aspect_h = 64;
}
}
minetest.add_particle {
texture = sorcery.lib.image('sorcery_crackle.png'):glow(sorcery.lib.color(255,0,0)):render();
pos = vector.offset(p,math.random(),math.random(),math.random());
expirationtime = 1;
size = 4 + math.random() * 6;
glow = 14;
animation = {
type = 'vertical_frames', length = 0.6;
aspect_w = 64, aspect_h = 64;
}
}
end
end};
};
}
end;
};
};
................................................................................
};
}
};
repulse = {
name = 'Repulse';
tone = {0,180,235};
minpower = 1;
rarity = 5;
amulets = {
amethyst = {
name = 'Hurling';
desc = 'Wielding this amulet, a mere flick of your fingers will lift any target of your choice bodily into the air and press upon them with tremendous repulsive force, throwing them like a hapless ragdoll out of your path';
cast = function(ctx)
if not (ctx.target and ctx.target.type == 'object') then return false end
local tgt = ctx.target.ref
local line = vector.subtract(ctx.caster:get_pos(), tgt:get_pos())
-- direction vector from target to caster
local dir,mag = sorcery.lib.math.vsep(line)
if mag > 6 then return false end -- no cheating!
local force = 20 + (ctx.stats.power * 2.5)
minetest.sound_play('sorcery_hurl',{pos=tgt:get_pos()},true)
local immortal = tgt:get_luaentity():get_armor_groups().immortal or 0
if minetest.is_player(tgt) or immortal == 0 then
tgt:punch(ctx.caster, 1, {
full_punch_interval = 1;
damage_groups = { fleshy = force / 10 };
})
end
sparktrail(nil,tgt,sorcery.lib.color(101,226,255))
................................................................................
end;
[{whence=0, secs=1}] = function(s)
s.affect {
duration = power * 0.50;
raise = 0.5;
-- fall = (power * 0.25) * 0.3;
impacts = {
gravity = 0.1;
};
}
end;
};
intervals = {
{period = 0.2, after = {whence=0, secs=2}; fn = function(c)
-- return gravity to normal once they touch down
................................................................................
for _,sub in pairs(s.subjects) do
sub.player:add_velocity{y=-power*2;x=0,z=0}
end
end or nil;
};
sounds = {
[0.3] = {
sound = 'sorcery_hurl';
where = 'subjects';
ephemeral = true;
};
[1] = (ctx.amulet.frame == 'cobalt') and {
sound = 'sorcery_hurl';
where = 'subjects';
ephemeral = true;
................................................................................
desc = 'Unleash a tidal wave of force in every direction, blasting friends and foes alike away from you with enough violence to sprain and fracture bone';
};
};
};
obliterate = {
name = 'Obliterate';
tone = {255,0,10};
minpower = 5;
rarity = 30;
amulets = {
amethyst = {
name = 'Sapping';
desc = 'Punch a hole in enemy fortifications big enough to slip through but small enough to avoid immediate attention';
};
ruby = {
name = 'Shattering';
................................................................................
};
};
};
};
excavate = {
name = 'Excavate';
tone = {0,68,235};
minpower = 3;
rarity = 17;
amulets = {
luxite = {
name = 'Stonestride';
desc = 'Rock walls will open up before you when you brandish this amulet before them, closing up again behind you without leaving a trace of your passage';
};
sapphire = {
name = 'Tunnelling';
................................................................................
desc = 'Cut a wide shaft up into the ceiling of a cavern';
};
};
};
genesis = {
name = 'Genesis';
tone = {235,0,175};
minpower = 5;
rarity = 23;
amulets = {
amethyst = {
name = 'Shelter';
desc = 'Pour the power of this amulet into the soil or sand and out will grow a warm and well-lit place of shelter, no matter how far you may be from civilization.';
cast = function(ctx)
local ctr = ctx.caster:get_pos()
local dim = { rmax = 2 + 6 * (ctx.stats.power*0.1) }
................................................................................
};
};
};
};
dominate = {
name = 'Dominate';
tone = {235,0,228};
minpower = 4;
rarity = 13;
amulets = {
amethyst = {
name = 'Suffocation';
desc = 'Wrap this spell tightly around your victim\'s throat, cutting off their oxygen until you release them.';
};
emerald = {
name = 'Caging';
|
>
|
|
|
>
>
>
>
>
|
>
>
>
>
>
>
>
>
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
|
>
>
|
>
|
|
|
|
|
|
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
...
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
...
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
...
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
...
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
...
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
...
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
...
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
...
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
...
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
...
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
...
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
....
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
....
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
....
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
|
-- a rune is an abstract object created by a runeforge, which can be
-- applied to an amulet in order to imbue that amulet with unique
-- and fearsome powers. the specific spell depends on the stone the
-- rune is applied to, and not all runes can necessarily be applied
-- to all stones.
local L = sorcery.lib
local sparkle_region = function(s)
s.spell.visual_subjects {
amount = s.amt, time = s.time, -- attached = s;
minpos = s.minpos;
maxpos = s.maxpos;
minvel = { x = -0.4, y = -0.2, z = -0.4 };
maxvel = { x = 0.4, y = 0.2, z = 0.4 };
................................................................................
sorcery.spell.disjoin{target=target}
end
return {
translocate = {
name = 'Translocate';
tone = {0,235,233};
minpower = 2;
rarity = 8;
amulets = {
amethyst = {
name = 'Joining';
desc = 'Give this amulet to another and with a snap of their fingers they can arrive safely at your side from anywhere in the world — though returning whence they came may be a more difficult matter';
apply = function(ctx)
local maker = ctx.user:get_player_name()
ctx.meta:set_string('rune_join_target',maker)
................................................................................
};
};
};
disjoin = {
name = 'Disjoin';
tone = {159,235,0};
minpower = 4;
rarity = 10;
amulets = {
sapphire = {
name = 'Unsealing';
desc = 'Wielding this amulet, a touch of your hand will unravel even the mightiest protective magics, leaving doors unsealed and walls free to tear down';
sound = 'sorcery_disjoin';
cast = function(ctx)
if ctx.target.type ~= 'node' then return false end
local r = 2 + math.floor(ctx.stats.power / 2)
local cast = false
for x = -r,r do
for y = -r,r do
for z = -r,r do
................................................................................
end
return cast
end;
};
amethyst = {
name = 'Purging';
desc = 'Free yourself from the grip of any malicious spellwork with a snap of your fingers — interrupting all of your own active spells in the process, including impending translocations';
sound = 'sorcery_disjoin';
cast = function(ctx) purge(ctx.caster) end;
};
emerald = {
name = 'Disjunction Field';
desc = 'Render an area totally opaque to spellwork for a period of time, disrupting any existing spells and preventing further spellcasting therein';
sound = 'sorcery_disjoin';
};
ruby = {
name = 'Disjunction';
desc = 'Wield this amulet against a spellcaster to disrupt and abort all their spells in progress, perhaps to trap a foe intent on translocating away, or unleash its force upon the victim of a malign hex to free them from its clutches';
mingrade = 3;
sound = 'sorcery_disjoin';
cast = function(ctx)
if ctx.target.type == 'object'
then purge(ctx.target.ref)
else return false
end
end;
frame = {
................................................................................
desc = 'Not only will your victim\'s spells be nullified, but all enchanted objects they carry will be stripped of their power — or possibly even destroyed outright';
};
};
};
luxite = {
name = 'Disjunctive Aura';
desc = 'For a time, all magic undertaken in your vicinity will fail totally — including your own';
sound = 'sorcery_disjoin';
cast = function(ctx)
local h = ctx.heading.eyeheight*1.1
sorcery.spell.cast {
name = 'sorcery:disjunctive-aura';
caster = ctx.caster, attach = 'caster';
subjects = {{player=ctx.caster}};
disjunction = true, range = 4 + ctx.stats.power;
................................................................................
minpos = { x = 0-range, y = -0.5, z = 0-range };
maxpos = { x = range, y = h, z = range };
img = sorcery.lib.image('sorcery_flicker.png'):glow(sorcery.lib.color(120,255,30));
}
end;
};
sounds = {
-- [0.00] = {sound='sorcery_disjoin', where='caster'};
[{whence=0,secs=0.8}] = {
sound='sorcery_disjoin_bg', where='subjects';
gain=0.5, stop = {whence=1,secs=-1.5}
};
[1.00] = {sound='sorcery_powerdown', where='caster'};
};
}
end
};
diamond = {
name = 'Mundanity';
desc = 'Strip away the effects of all active potions and spells in your immediate vicinity, leaving adversaries without their magicks to enhance and protect them, and allies free of any curses they may be hobbled by -- and, of course, vice versa';
sound = 'sorcery_disjoin';
cast = function(ctx)
local where = ctx.caster:get_pos()
local what = minetest.get_objects_inside_radius(where, 3 + (2*ctx.stats.power))
local who = {}
local pfac = math.min(1, ctx.stats.power/8)
for _, w in pairs(what) do
if w:is_player() and w ~= ctx.caster then
................................................................................
};
}
end;
frame = {
iridium = {
name = 'Spellshatter';
desc = 'Blast out a tidal wave of anti-magic that will nullify active spells, but also disenchant or destroy all magical items in range of its violently mundane grip';
sound = 'sorcery_disjoin';
cast = function(ctx)
local where = ctx.caster:get_pos()
local radius = 3 + (2*ctx.stats.power)
local what = minetest.get_objects_inside_radius(where, radius)
local who = {}
local pfac = math.min(1, ctx.stats.power/8)
for _, w in pairs(what) do
................................................................................
minsize = 0.7, maxsize = 2;
animation = {
type = 'vertical_frames', length = (21/6) + 0.1;
aspect_w = 16, aspect_h = 16;
}
}
end;
};
sounds = {
[{whence=0,secs=0.8}] = {
sound='sorcery_disjoin_bg', where=where;
gain=0.5, stop = {whence=1,secs=-0.6}
};
};
intervals = {
{period = 0.1, after = 0.15, fn = function(c)
for i = 1,80 do
local life = 0.2 + math.random() * 2
local dir = vector.new(math.random()-0.5,0,math.random()-0.5):normalize()
local pos = epicenter + (dir * (math.random()*radius))
................................................................................
}
}
end
if next(wreck) then
local k,p = sorcery.lib.tbl.pick(wreck)
minetest.add_particle {
texture = L.image('sorcery_sparking.png'):glow(L.color(0,255,0)):render();
pos = vector.offset(p,math.random(),math.random(),math.random());
expirationtime = 1;
size = 5 + math.random() * 4;
glow = 14;
animation = {
type = 'vertical_frames', length = 0.3;
aspect_w = 64, aspect_h = 64;
}
}
minetest.add_particle {
texture = L.image('sorcery_crackle.png'):glow(L.color(0,255,0)):render();
pos = vector.offset(p,math.random(),math.random(),math.random());
expirationtime = 1;
size = 4 + math.random() * 6;
glow = 14;
animation = {
type = 'vertical_frames', length = 1.1;
aspect_w = 64, aspect_h = 64;
}
}
if math.random(1,7) == 1 then
minetest.sound_play('sorcery_' .. (math.random(1,2)==1 and 'rip' or 'crunch'), {
pos = p;
gain = math.random(5,13)*0.1;
}, true)
minetest.after(0.2, function() minetest.remove_node(p) end)
sorcery.vfx.show {
amount = 120, time = 0.3;
kind = 'flicker', color = L.color(80,255,10);--(255,12,0);
pos = p, radius = 0.4;
velrange = 1, accrange = vector.new(0.0,0.2,0.0);
minsize = 5, maxsize = 20;
life = 0.6, varylife = 0.1;
}
sorcery.vfx.show {
amount = 80, time = 0.2;
minsize = 0.1, maxsize = 0.8;
pos = p, radius = 0.6;
node = minetest.get_node(p);
vel = vector.new(0,7,0);
velrange = vector.new(2, 4, 2);
acc = vector.new(0,-9,0);
life = 3, varylife = 0.4;
}
-- minetest.add_particlespawner {
-- amount = 60, time = 0.2;
-- texture = L.image('sorcery_flicker.png'):glow():render();
-- minpos = vector.offset(p, -0.5, -0.5, -0.5);
-- maxpos = vector.offset(p, 0.5, 0.5, 0.5);
-- minacc = vector.new(0.0, -0.2, 0.0);
-- maxacc = vector.new(0.0, 0.2, 0.0);
-- minvel = vector.new(-1,-1,-1);
-- maxvel = vector.new(1,1,1);
-- minsize = 0.5, maxsize = 4;
-- minexptime = 0.6, maxexptime = 0.7;
-- animation = {
-- type = 'vertical_frames';
-- aspect_w = 16, aspect_h = 16;
-- length = 0.8;
-- }
-- }
table.remove(wreck,k)
end
end
end};
};
}
end;
};
};
................................................................................
};
}
};
repulse = {
name = 'Repulse';
tone = {0,180,235};
minpower = 1;
rarity = 7;
amulets = {
amethyst = {
name = 'Hurling';
desc = 'Wielding this amulet, a mere flick of your fingers will lift any target of your choice bodily into the air and press upon them with tremendous repulsive force, throwing them like a hapless ragdoll out of your path';
cast = function(ctx)
if not (ctx.target and ctx.target.type == 'object') then return false end
local tgt = ctx.target.ref
local line = vector.subtract(ctx.caster:get_pos(), tgt:get_pos())
-- direction vector from target to caster
local dir,mag = sorcery.lib.math.vsep(line)
if mag > 6 then return false end -- no cheating!
local force = 20 + (ctx.stats.power * 2.5)
minetest.sound_play('sorcery_slide',{pos=tgt:get_pos()},true)
local immortal = 0
-- if tgt and tgt.get_armor_groups then
immortal = tgt:get_armor_groups().immortal or 0
-- end
if minetest.is_player(tgt) or immortal == 0 then
tgt:punch(ctx.caster, 1, {
full_punch_interval = 1;
damage_groups = { fleshy = force / 10 };
})
end
sparktrail(nil,tgt,sorcery.lib.color(101,226,255))
................................................................................
end;
[{whence=0, secs=1}] = function(s)
s.affect {
duration = power * 0.50;
raise = 0.5;
-- fall = (power * 0.25) * 0.3;
impacts = {
gravity = 0.2;
};
}
end;
};
intervals = {
{period = 0.2, after = {whence=0, secs=2}; fn = function(c)
-- return gravity to normal once they touch down
................................................................................
for _,sub in pairs(s.subjects) do
sub.player:add_velocity{y=-power*2;x=0,z=0}
end
end or nil;
};
sounds = {
[0.3] = {
sound = 'sorcery_slide';
where = 'subjects';
ephemeral = true;
};
[1] = (ctx.amulet.frame == 'cobalt') and {
sound = 'sorcery_hurl';
where = 'subjects';
ephemeral = true;
................................................................................
desc = 'Unleash a tidal wave of force in every direction, blasting friends and foes alike away from you with enough violence to sprain and fracture bone';
};
};
};
obliterate = {
name = 'Obliterate';
tone = {255,0,10};
minpower = 4;
rarity = 10;
amulets = {
amethyst = {
name = 'Sapping';
desc = 'Punch a hole in enemy fortifications big enough to slip through but small enough to avoid immediate attention';
};
ruby = {
name = 'Shattering';
................................................................................
};
};
};
};
excavate = {
name = 'Excavate';
tone = {0,68,235};
minpower = 2;
rarity = 9;
amulets = {
luxite = {
name = 'Stonestride';
desc = 'Rock walls will open up before you when you brandish this amulet before them, closing up again behind you without leaving a trace of your passage';
};
sapphire = {
name = 'Tunnelling';
................................................................................
desc = 'Cut a wide shaft up into the ceiling of a cavern';
};
};
};
genesis = {
name = 'Genesis';
tone = {235,0,175};
minpower = 3;
rarity = 12;
amulets = {
amethyst = {
name = 'Shelter';
desc = 'Pour the power of this amulet into the soil or sand and out will grow a warm and well-lit place of shelter, no matter how far you may be from civilization.';
cast = function(ctx)
local ctr = ctx.caster:get_pos()
local dim = { rmax = 2 + 6 * (ctx.stats.power*0.1) }
................................................................................
};
};
};
};
dominate = {
name = 'Dominate';
tone = {235,0,228};
minpower = 3;
rarity = 12;
amulets = {
amethyst = {
name = 'Suffocation';
desc = 'Wrap this spell tightly around your victim\'s throat, cutting off their oxygen until you release them.';
};
emerald = {
name = 'Caging';
|