-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction_definitions.lua
861 lines (810 loc) · 26 KB
/
action_definitions.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
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
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
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
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
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
-- https://github.com/dbltnk/combat-prototype/wiki/Action-Specification
local color_bow = {128,0,0}
local color_scythe = {128,128,128}
local color_staff = {255,64,0}
local color_robe = {0,0,255}
local color_hide_armor = {0,255,64}
local color_splint_mail = {128,0,255}
action_definitions = {
-- -----------------------------------------------------------------------------------
noskill = {
name = "no skill",
description = "This is no skill.",
icon = nil,
sound = nil,
cast_time = 0,
timeout = 999,
energy = 999,
on_the_run = true,
cast_particle_color = color_bow,
application = {
},
},
-- -----------------------------------------------------------------------------------
bow_shot = {
name = "Shot",
description = "Shoot a projectile that damages one target.",
icon = nil,
sound = nil,
cast_time = 0,
timeout = 1.5,
energy = 6,
on_the_run = true,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "projectile", range = 800, speed = 700, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/bow_shot.png"},
effects = {
{effect_type = "damage", str = 15},
},
},
},
-- -----------------------------------------------------------------------------------
bow_puncture = {
name = "Puncture",
description = "Shoot a fast projectile that pierces several targets and makes them bleed.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 12,
energy = 30,
on_the_run = false,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "projectile", range = 600, speed = 700, ae_size = 0, ae_targets = 0, piercing_number = 5, gfx = "/assets/graphics/action_projectiles/bow_puncture.png"},
effects = {
{effect_type = "damage", str = 65},
{effect_type = "damage_over_time", ticks = 4, duration = 20, str = 5},
},
},
},
-- -----------------------------------------------------------------------------------
bow_snare = {
name = "Snare",
description = "Shoot a projectile that slows down up to two targets.",
icon = nil,
sound = nil,
cast_time = 0.5,
timeout = 15,
energy = 45,
on_the_run = true,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "projectile", range = 600, speed = 600, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/bow_snare.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 50, piercing_number = 1, explosion_color = color_bow},
effects = {
{effect_type = "damage_only_others", str = 15},
{effect_type = "snare_only_others", duration = 15, str = config.walkspeed / 2},
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
bow_mark_target = {
name = "Mark Target",
description = "Shoot a projectile that hightlights one target and exposes it so it receives more damage.",
icon = nil,
sound = nil,
cast_time = .5,
timeout = 9,
energy = 12,
on_the_run = false,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "projectile", range = 600, speed = 600, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/bow_mark_target.png"},
effects = {
{effect_type = "damage", str = 45},
{effect_type = "dmgModifier", str = 125, duration = 30},
{effect_type = "mark", duration = 30},
},
},
},
-- -----------------------------------------------------------------------------------
bow_root = {
name = "Root",
description = "Roots a small number of targets in front of you.",
icon = nil,
sound = nil,
cast_time = 0.5,
timeout = 15,
energy = 10,
on_the_run = true,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "cone",
gfx_radius = 200, gfx = "assets/graphics/melee_radians/90_400.png",
range = 200, cone = 90, piercing_number = 3, explosion_color = color_bow},
effects = {
{effect_type = "root_only_others", duration = 5},
},
},
},
-- -----------------------------------------------------------------------------------
bow_blunt_arrow = {
name = "Blunt Arrow",
description = "Shoot a projectile that pushes one target away from you.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 6,
energy = 36,
on_the_run = true,
cast_particle_color = color_bow,
application = {
target_selection = {target_selection_type = "projectile", range = 300, speed = 400, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/bow_blunt_arrow.png"},
effects = {
{effect_type = "moveAwayFromMe", str = 200},
{effect_type = "damage", str = 45},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_sweep = {
name = "Sweep",
description = "Sweeping blow that hits several targets in front of you.",
icon = nil,
sound = nil,
cast_time = 0,
timeout = 1.5,
energy = 5,
on_the_run = true,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "cone",
gfx_radius = 100, gfx = "assets/graphics/melee_radians/90_200.png",
range = 100, cone = 90, piercing_number = 6},
effects = {
{effect_type = "damageOnlyOthers", str = 12},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_pirouette = {
name = "Pirouette",
description = "Sweeping blow that hits a lot of targets all around you.",
icon = nil,
sound = nil,
cast_time = 1,
timeout = 5,
energy = 24,
on_the_run = true,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "ae",
range = 100, piercing_number = 12},
effects = {
{effect_type = "damageOnlyOthers", str = 50},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_jump = {
name = "Jump",
description = "Jump to your target location.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 12,
energy = 20,
on_the_run = true,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "projectile", range = 300, speed = 1200, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/scythe_jump.png"},
effects = {
{effect_type = "moveSelfTo"},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_harpoon = {
name = "Harpoon",
description = "Shoots a projectile that pulls one target to your location.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 9,
energy = 15,
on_the_run = true,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "projectile", range = 800, speed = 600, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/scythe_harpoon.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 50, piercing_number = 1, explosion_color = color_scythe},
effects = {
{effect_type = "damage", str = 25},
{effect_type = "runspeed", duration = 6, str = config.walkspeed / 2},
{effect_type = "moveToMe"},
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_stun = {
name = "Stun",
description = "Stun one target in front of you.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 12,
energy = 24,
on_the_run = true,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "cone",
gfx_radius = 100, gfx = "assets/graphics/melee_radians/90_200.png",
range = 100, cone = 90, piercing_number = 3},
effects = {
{effect_type = "damageOnlyOthers", str = 15},
{effect_type = "stunOnlyOthers", duration = 2},
},
},
},
-- -----------------------------------------------------------------------------------
scythe_gank = {
name = "Gank",
description = "Gank one target in front of you.",
icon = nil,
sound = nil,
cast_time = 4,
timeout = 8,
energy = 50,
on_the_run = false,
cast_particle_color = color_scythe,
application = {
target_selection = {target_selection_type = "cone",
gfx_radius = 100, gfx = "assets/graphics/melee_radians/120_200.png",
range = 100, cone = 120, piercing_number = 3},
effects = {
{effect_type = "gank"},
{effect_type = "damageOnlyOthers", str = 96},
},
},
},
-- -----------------------------------------------------------------------------------
staff_magic_bolt = {
name = "Magic Bolt",
description = "Shoot a small projectile that explodes on impact and damages a few targets in a small area.",
icon = nil,
sound = nil,
cast_time = 0,
timeout = 1.5,
energy = 4,
on_the_run = true,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 300, speed = 500, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_magic_bolt.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 75, piercing_number = 3, explosion_color = color_staff},
effects = {
{effect_type = "damage", str = 10},
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_poison = {
name = "Poison",
description = "Shoot a projectile that slowly decreases one targets life.",
icon = nil,
sound = nil,
cast_time = 1,
timeout = 5,
energy = 30,
on_the_run = true,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 300, speed = 500, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_poison.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 50, piercing_number = 1, explosion_color = color_staff},
effects = {
{effect_type = "damage_over_time", ticks = 3, duration = 15, str = 20}
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_life_leech = {
name = "Life Leech",
description = "Shoot a projectile that drains one targets life while healing you.",
icon = nil,
sound = nil,
cast_time = 0.5,
timeout = 9,
energy = 36,
on_the_run = true,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 300, speed = 500, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_life_leech.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 50, piercing_number = 6, explosion_color = color_staff},
effects = {
{effect_type = "transfer", eff = 1, ticks = 6, duration = 30, str = 10}
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_fireball = {
name = "Fireball",
description = "Shoot a projectile that explodes on impact and damages a lot of targets in the area.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 15,
energy = 50,
on_the_run = false,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 400, speed = 400, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_fireball.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 150, piercing_number = 20, explosion_color = color_staff},
effects = {
{effect_type = "damage", str = 75, },
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_healing_orb = {
name = "Healing Orb",
description = "Shoot a projectile that heals one target.",
icon = nil,
sound = nil,
cast_time = .5,
timeout = 6,
energy = 20,
on_the_run = false,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 700, speed = 600, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_healing_orb.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 75, piercing_number = 1, explosion_color = color_staff},
effects = {
{effect_type = "heal", str = 50, },
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_healing_breeze = {
name = "Healing Breeze",
description = "Shoot a projectile that heals one target slowly over time.",
icon = nil,
sound = nil,
cast_time = .5,
timeout = 10,
energy = 50,
on_the_run = false,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 700, speed = 600, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_healing_breeze.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 75, piercing_number = 3, explosion_color = color_staff},
effects = {
{effect_type = "heal_over_time", ticks = 6, duration = 30, str = 25},
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_mezz = {
name = "Mezz",
description = "Shoot a projectile that mesmerizes one target for some time. Breaks on damage.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 20,
energy = 40,
on_the_run = true,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 400, speed = 600, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/staff_mezz.png"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 50, piercing_number = 1, explosion_color = color_staff},
effects = {
{effect_type = "mezz", duration = 7},
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
staff_wall = {
name = "Wall",
description = "Creates a wall at the target location.",
icon = nil,
sound = nil,
cast_time = 1,
timeout = 12,
energy = 20,
on_the_run = true,
cast_particle_color = color_staff,
application = {
target_selection = {target_selection_type = "projectile", range = 500, speed = 1200, ae_size = 0, ae_targets = 0, piercing_number = 1, gfx = "/assets/graphics/action_projectiles/scythe_jump.png"},
effects = {
{effect_type = "createWallAt"},
},
},
},
-- -----------------------------------------------------------------------------------
robe_bandage = {
name = "Bandage",
description = "Heal yourself instantly.",
icon = nil,
sound = nil,
cast_time = 2,
timeout = 5,
energy = 30,
on_the_run = false,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "heal", str = 60},
},
},
},
-- -----------------------------------------------------------------------------------
robe_shrink = {
name = "Shrink",
description = "Decrease your body size for some time but makes you take more damage.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 30,
energy = 30,
on_the_run = true,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "changeSize", str = 66, duration = 15},
{effect_type = "dmgModifier", str = 125, duration = 15},
},
},
},
-- -----------------------------------------------------------------------------------
robe_sonic_boom = {
name = "Sonic Boom",
description = "Stuns a lot of targets in the area around you for a brief time.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 12,
energy = 20,
on_the_run = true,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "ae", range = 150, piercing_number = 20, explosion_color = color_robe},
effects = {
{effect_type = "stunOnlyOthers", duration = 1 },
},
},
},
-- -----------------------------------------------------------------------------------
robe_fade = {
name = "Fade",
description = "Renders you invisible and invulnerable for a very short time.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 30,
energy = 30,
on_the_run = true,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "invul", duration = 3},
{effect_type = "sneak", duration = 3, speedPenalty = 0.5},
},
},
},
-- -----------------------------------------------------------------------------------
robe_quake = {
name = "Quake",
description = "Damages a lot of targets in the area around you.",
icon = nil,
sound = nil,
cast_time = 3,
timeout = 15,
energy = 70,
on_the_run = false,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "ae", range = 100, piercing_number = 20, explosion_color = color_robe},
effects = {
{effect_type = "damageOnlyOthers", str = 90, },
},
},
},
-- -----------------------------------------------------------------------------------
robe_gust = {
name = "Gust",
description = "Push away a lot of targets in the area around you.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 15,
energy = 60,
on_the_run = false,
cast_particle_color = color_robe,
application = {
target_selection = {target_selection_type = "ae", range = 200, piercing_number = 20, explosion_color = color_robe},
effects = {
{effect_type = "moveAwayFromMe", str = 200},
{effect_type = "damageOnlyOthers", str = 15},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_sprint = {
name = "Sprint",
description = "Increases your movement speed for a short time.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 30,
energy = 50,
on_the_run = true,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "runspeed", str = config.runspeed, duration = 5},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_sneak = {
name = "Sneak",
description = "Renders you invisible for a short time even when moving.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 60,
energy = 100,
on_the_run = true,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "sneak", duration = 30, speedPenalty = 0.75},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_freedom = {
name = "Freedom",
description = "Break all root and snare effects.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 6,
energy = 25,
on_the_run = true,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "root_break"},
{effect_type = "snare_break"},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_mend_wounds = {
name = "Mend Wounds",
description = "Break all damage-over-time effects.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 6,
energy = 25,
on_the_run = true,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "stop_dots"},
{effect_type = "heal", str = 20},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_regenerate = {
name = "Regenerate",
description = "Decreases your pain slowly over time.",
icon = nil,
sound = nil,
cast_time = 2,
timeout = 15,
energy = 35,
on_the_run = false,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "heal_over_time", ticks = 3, duration = 15, str = 15},
},
},
},
-- -----------------------------------------------------------------------------------
hide_armor_second_wind = {
name = "Second Wind",
description = "Instantly decreases your fatigue a little.",
icon = nil,
sound = nil,
cast_time = 1.5,
timeout = 60,
energy = 0,
on_the_run = false,
cast_particle_color = color_hide_armor,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "stamHeal", str = 100},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_absorb = {
name = "Absorb",
description = "Drains the health of a lot of targets around you.",
icon = nil,
sound = nil,
cast_time = 2,
timeout = 20,
energy = 50,
on_the_run = false,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "spawn", application = {
target_selection = {target_selection_type = "ae", range = 150, piercing_number = 20, explosion_color = color_splint_mail},
effects = {
{effect_type = "transfer", eff = -0.5, ticks = 1, duration = .1, str = 75}
},
}},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_ignore_pain = {
name = "Ignore Pain",
description = "Increases your pain resistance for some time.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 60,
energy = 15,
on_the_run = false,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "buff_max_pain", str = 150, duration = 30},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_clarity = {
name = "Clarity",
description = "Break all stun, mezz and powerblock effects in a large area around you.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 6,
energy = 25,
on_the_run = true,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "ae", range = 400, piercing_number = 20, explosion_color = color_splint_mail},
effects = {
{effect_type = "clarity"},
{effect_type = "heal_only_others", str = 20}
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_grow = {
name = "Grow",
description = "Increase your body size for some time and decreases the damage you take.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 60,
energy = 20,
on_the_run = true,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "changeSize", str = 200, duration = 30},
{effect_type = "dmgModifier", str = 75, duration = 30},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_shout = {
name = "Shout",
description = "Makes a lot of targets in the area around you unable to use actions for a brief time.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 15,
energy = 30,
on_the_run = true,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "ae", range = 150, piercing_number = 20, explosion_color = color_splint_mail},
effects = {
{effect_type = "powerblockOnlyOthers", duration = 3},
{effect_type = "damageOnlyOthers", str = 15},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_invulnerability = {
name = "Invulnerability",
description = "Renders you invulnerable to damage for a short amount of time.",
icon = nil,
sound = nil,
cast_time = .1,
timeout = 30,
energy = 40,
on_the_run = true,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "invul", duration = 5},
},
},
},
-- -----------------------------------------------------------------------------------
splint_mail_bulwark = {
name = "Bulwark",
description = "Creates a bulwark at your location.",
icon = nil,
sound = nil,
cast_time = 0.1,
timeout = 30,
energy = 30,
on_the_run = false,
cast_particle_color = color_splint_mail,
application = {
target_selection = {target_selection_type = "self"},
effects = {
{effect_type = "createBollwerkAt", radius = 50},
},
},
},
-- -----------------------------------------------------------------------------------
}
-- fill up asset names with identifiers
for k,v in pairs(action_definitions) do
if not v.icon then v.icon = "/assets/graphics/action_icons/" .. k ..".png" end
if not v.sound then v.sound = "/assets/audio/sfx/" .. k .. ".wav" end
if not love.filesystem.exists(v.sound) then v.sound = "/assets/audio/sfx/missing.wav" end
if not v.key then v.key = k end
end
return action_definitions