forked from InclusiveRec/Legacy-Magic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spells-school-solar.yml
485 lines (454 loc) · 12.6 KB
/
spells-school-solar.yml
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
predefined-items:
# Item factory
sun_grimoire:
type: "enchanted_book"
name: "&eAlmanac"
lore:
- "Detailed observations"
- "of the movements of the sun"
- "and theories of how to"
- "harness its power."
# Custom reagent
sun_amalgam:
type: "351:11"
name: "&eSolar Amalgam"
lore:
- "The elves combine sunflowers"
- "with a druidic amalgam"
- "to create this special mixture"
# Defensive casting
sun_staff:
type: 369
name: "&eSolar Staff"
lore:
- "A golden staff,"
- "glowing with solar"
- "energy."
#############################
# The Grimoire #
#############################
# Creating the Grimoire
lore_of_the_sun:
spell-class: ".instant.ConjureSpell"
cast-item: book
spell-icon: enchanted_book
xp-required:
- solar 500
xp-granted:
- solar 1
bindable: false
can-cast-by-command: false
cost:
- levels 30
- book 1
- gold_block 1
- sun_amalgam 3
memory: 10
items:
- sun_grimoire
str-cost: "A book, 30 levels, a gold block, and 3 solar amalgam."
description: |
&eLore of the Sun: Solar Masters' Spell
Creates an Almanac, the grimoire of the Solar school.
# Item creation spells
solar_staff:
permission-name: solar
spell-class: ".instant.ConjureSpell"
cast-item: sun_grimoire
xp-required:
- solar 500
xp-granted:
- solar 1
bindable: false
can-cast-by-command: false
cost:
- levels 10
- gold_ingot 1
- sun_amalgam 1
prerequisites:
- scroll
- bloom
memory: 5
items:
- sun_staff 1
str-cast-self: "With a flash, the gold shapes itself into a shining golden staff."
str-cost: "100 mana, 2 gold ingots, 2 sticks, and 6 solar amalgam."
description: |
&eSolar Staff - 5 Memory Solar Spell
Infuse your wand with the life-giving energy of the sun.
effects:
kazam:
position: caster
effect: particles
particle-name: fireworksSpark
count: 20
# Bonus spells
dawnrite:
permission-name: solar
spell-class: ".instant.RitualSpell"
cast-item: sun_staff
xp-granted:
- solar 1
- shadow -1
cost:
- mana 100
- 266 1
prerequisites:
- solar_staff
memory: 6
charge-reagents-immediately: false
cooldown: 1800
ritual-duration: 400
spell: sunrise
modifiers:
- night required
str-cast-others: "%a has begun a ritual to summon dawn. Right-click to participate."
str-cast-self: "You have begun the ritual to summon the dawn."
str-cost: "100 mana and 1 gold ingot."
str-modifier-failed: "You can only begin this ritual at night."
str-ritual-fail: "The dawn rite has failed."
str-ritual-interrupted: "The dawn rite has been interrupted!"
str-ritual-joined: "You have joined in the dawn rite."
str-ritual-success: "The dawn is summoned!"
description: |
&eDawnrite: 6 Memory Solar Spell
A ritual which will cause the sun to rise.
This ritual requires three participants and takes 20 seconds of concentration to cast.
Moving will disrupt the ritual. Requires the &eSolar Staff&3 spell.
skycalm:
permission-name: solar
spell-class: ".instant.RitualSpell"
cast-item: sun_staff
xp-granted:
- solar 1
- storm -1
cost:
- mana 80
- sun_amalgam 3
cooldown: 300
prerequisites:
- solar_amalgam
memory: 8
charge-reagents-immediately: true
need-spell-to-participate: false
req-participants: 2
ritual-duration: 400
spell: sunny-helper
modifiers:
- storm required
str-cast-others: "%a has begun a ritual to summon clear skies. Right-click to participate."
str-cast-self: "You begin to calm the skies..."
str-cost: "80 mana and 3 solar amalgam."
str-modifier-failed: "The sky is already clear!"
str-ritual-failed: "You are not able to dispel the storm, and your ingredients are consumed!"
str-ritual-joined: "You begin to calm the skies..."
str-ritual-success: "The weather clears!"
description: |
&eSkycalm: 8 Memory Solar Spell
You clear the skies of bad weather.
#########################################
# Magic Shears #
# #
# Much of solar magic depends on #
# reagents based on forest magic. #
# These are obtained by adding extra #
# spells to magic shears. The solar #
# variants require lightwalk. #
#########################################
solar_amalgam:
permission-name: solar
spell-class: ".instant.ConjureSpell"
cast-item: forest_sickle
spell-icon: "351:11"
xp-granted:
- solar 1
- forest 1
cost:
- mana 10
- 175 2
- forest_amalgam 6
memory: 1
items:
- sun_amalgam 4-6
str-cost: "Add 2 sunflowers to 6 woodland amalgam, using 10 mana."
description: |
&eSolar Amalgam: 1 Memory Solar Spell
Mixes a solar amalgam.
Requires knowledge of the &2woodland amalgam&3 spell.
lightwalk:
permission-name: solar
spell-class: ".buff.LightwalkSpell"
cast-item: stick,forest_sickle
spell-icon: glowstone
xp-granted:
- solar 1
- shadow -1
cost:
- mana 25
- sun_amalgam 2
use-cost:
- sun_amalgam 1
memory: 1
use-cost-interval: 25
str-cost: "25 mana and 2 solar amalgam, plus 1 solar amalgam occasionally."
description: |
&eLightwalk: 1 Memory Solar Spell
Light your path.
bloom:
permission-name: solar
spell-class: ".targeted.FarmSpell"
cast-item: stick,forest_sickle
spell-icon: seeds
xp-granted:
- solar 1
- forest 1
cost:
- mana 2
- seeds 4
cooldown: 2
memory: 3
growth: 1
radius: 3
modifiers:
- holding "359|&2Magic Sickle" cooldown 0.1
- outside continue
- day power 1.5
str-cost: "2 mana and 4 seeds."
str-on-cooldown: ""
description: |
&eBloom: 3 Memory Solar Spell
Greatly accelerate crop growth.
effects:
huzzah:
effect: greensparkle
position: caster
# Solar staff
banish:
permission-name: solar
spell-class: ".instant.PurgeSpell"
cast-item: sun_staff
spell-icon: 377
xp-granted:
- solar 1
- death -1
cost:
- mana 50
memory: 4
power: 1
cooldown: 10
can-target:
- blaze
- cave_spider
- creeper
- enderman
- ghast
- magma_cube
- silverfish
- skeleton
- slime
- spider
- witch
- zombie
- pigzombie
range: 8
str-cast-self: "You banish the encroaching forces of darkness."
str-cost: "50 mana."
str-cast-others: "%a banishes the encroaching forces of darkness."
description: |
&eBanish: 4 Memory Solar Spell
Destroy all monsters near you.
cleanse:
permission-name: solar
spell-class: ".targeted.CleanseSpell"
cast-item: sun_staff
xp-granted:
- death -1
- fire -1
precludes:
- sacrifice
cost:
- mana 20
- 175 1
cooldown: 60
memory: 3
remove:
- fire
- 17
- 19
- 20
target-self: true
str-cost: "20 mana and a sunflower."
str-cast-self: "You cleanse yourself of negative effects."
description: |
&eCleanse: 3 Memory Solar Spell
Remove negative effects from yourself.
prayer:
permission-name: solar
spell-class: ".instant.PrayerSpell"
cast-item: sun_staff, stick
spell-icon: yellow_flower
xp-granted:
- death -1
precludes:
- sacrifice
prerequisites:
- heal
cost:
- mana 30
cooldown: 3
memory: 3
amount-healed: 10
str-at-full-health: "You are already at full health."
str-cast-self: "You have healed yourself."
str-cost: "30 mana"
description: |
&ePrayer: 3 Memory Solar Spell
&3Heals yourself for five hearts.
heal:
permission-name: solar
spell-class: ".targeted.HealSpell"
cast-item: sun_staff
spell-icon: red_rose
xp-granted:
- solar 1
- knight 1
- death -1
cost:
- mana 10
memory: 4
can-target: players,wolf,cat,horse
cancel-if-full: true
heal-amount: 4
obey-los: true
range: 12
str-cost: "10 mana"
str-cast-self: "You have healed %t."
str-cast-target: "%a has healed you."
str-no-target: "No target to heal."
str-max-health: "%t is already at max health."
description: |
&eHeal: 4 Memory Solar Spell
Heals a nearby target player.
effects:
- target potion FF0000 40
soothe:
permission-name: solar
spell-class: ".targeted.ChainSpell"
cast-item: sun_staff
xp-granted:
- solar 1
- knight 1
- death -1
cost:
- mana 25
- sun_amalgam
prerequisites:
- heal
memory: 6
bounce-range: 8
bounces: 5
cooldown: 30
interval: 15
range: 20
spell: heal
target-non-players: false
target-players: true
modifiers:
- wearing "314|&eKnight's Helm" continue
- wearing "315|&eKnight's Cuirass" continue
- wearing "316|&eKnight's Greaves" continue
- wearing "317|&eKnight's Sabatons" power 1
str-cast-others: "A wave of soothing energy emanates from %a."
str-cast-self: "You send forth a wave of soothing energy."
str-cost: "25 mana and one solar amalgam."
description: |
&eSoothe: 6 Memory Solar Spell
A wave of healing energy emanates from the caster, passing
through nearby individuals and restoring their health.
solar_ray:
permission-name: solar
spell-class: ".instant.ParticleProjectileSpell"
cast-item: sun_staff
spell-icon: 377
xp-granted:
- death -1
cost:
- mana 40
- sun_amalgam 6
memory: 4
prerequisites:
- solar_staff
bindable: false
cooldown: 5
hit-players: true
max-distance: 120
particle-name: mobSpell
particle-velocity: 40
projectile-gravity: 0.1
spell: punch
stop-on-hit-entity: false
str-no-target: "No target found."
str-cast-others: "%a blasts %t with a ray of solar energy!"
str-cast-target: "%a blasts you with a ray of solar energy!"
str-cast: "You blast %t with a ray of solar energy!"
str-cost: "40 mana and 6 solar amalgam"
description: |
&eSolar Ray: 4 Memory Solar Spell
Blasts your enemy with solar energy, forcing them back and disorienting them.
Requires the &eSolar Staff&3 spell.
# Passive spells
solar_guard:
permission-name: solar
spell-class: ".PassiveSpell"
xp-granted:
- death -1
cost:
- mana 40
- sun_amalgam 6
memory: 7
prerequisites:
- solar_ray
spells:
- solar_ray
triggers:
- takedamage ENTITY_ATTACK
- takedamage PROJECTILE
- takedamage MAGIC
description: |
&eSolar Guard: 7 Memory Solar Spell
Passively protect yourself with solar energy, forcing foes back and disorienting them.
Requires the &eSolar Ray&3 spell.
# Settlement Magic
populate:
permission-name: solar
spell-class: ".targeted.SpawnMonsterSpell"
cast-item: book
spell-icon: emerald
xp-granted:
- solar 1
- death -1
cost:
- mana 20
- 133 1
memory: 6
entity-type: villager
range: 10
str-cast-self: "You summon a villager."
str-cost: "20 mana and an emerald block."
description: |
&rPopulate 6 Memory Solar Spell
&3Spawns a random villager.
effects:
spit:
position: line
effect: itemspray
type: bread
quantity: 13
duration: 20
force: 1.2
huzzah:
position: target
effect: greensparkle
yay:
position: caster
effect: sound