forked from InclusiveRec/Legacy-Magic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spells-school-stone.yml
305 lines (284 loc) · 7.22 KB
/
spells-school-stone.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
predefined-items:
stone_grimoire:
type: "enchanted_book"
name: "&8Stone Tablet"
lore:
- "The passage of time"
- "has etched into Stone"
- "the magical secrets"
- "found deep underground."
minepick:
type: 257
name: "&8Miner's Pick"
lore:
- "This pick carries"
- "a powerful enchantment"
- "of stone magic."
enchants:
- "efficiency 5"
- "unbreaking 3"
stonecutter_pick:
type: 270
name: "&8Stonecutter's Pick"
lore:
- "This pick is used by stonecutters"
- "stonecutters to cut through large"
- "areas of stone and not much else."
enchants:
- "efficiency 20"
- "unbreaking 10"
iron_trowel:
name: "&8Mason's Trowel"
lore:
- "An enchanted tool."
type: IRON_SPADE
enchants:
- "dig_speed 2"
- "durability 2"
- "silk_touch 1"
# Custom reagent
mortar:
name: "&8Mortar"
lore:
- "A wet, sticky mixture"
- "of sand and ground bone"
- "used in masonry."
type: "351:7"
#################################
# #
# Item creation spells #
# #
#################################
#
# The item factory
#
lore_of_the_rock:
spell-class: ".instant.ConjureSpell"
cast-item: book
spell-icon: enchanted_book
xp-granted:
- stone 1
cost:
- book 1
- levels 30
- obsidian 1
memory: 10
items:
- stone_grimoire
str-cost: "A book, 30 levels, and 1 obsidian."
description: |
&2Stone Lore: Stone Masters' Spell
Creates a Stone grimoire.
Requires mix_mortar, trowel, and magic_pickaxe spells.
#
# Cast items
#
magic_pickaxe:
permission-name: stone
spell-class: ".instant.ConjureSpell"
cast-item: stone_grimoire
spell-icon: 257
xp-granted:
- stone 1
cost:
- levels 10
- iron_pickaxe 1
memory: 3
items:
- minepick
str-cost: "10 levels and an iron pick."
description: |
&8Magic Pickaxe: 3 Memory Stone Spell
cutter_pickaxe:
permission-name: stone
spell-class: ".instant.ConjureSpell"
cast-item: stone_grimoire
spell-icon: 270
xp-granted:
- stone 1
cost:
- levels 10
- wood_pickaxe 1
memory: 3
items:
- stonecutter_pick
str-cost: "10 levels and a wood pick."
description: |
&8Cutter Pickaxe: 3 Memory Stone Spell
masons_trowel:
permission-name: stone
spell-class: ".instant.ConjureSpell"
spell-icon: IRON_SPADE
xp-granted:
- stone 1
cost:
- iron_spade 1
- levels 5
prerequisites:
- scroll
- mix_mortar
memory: 2
items:
- iron_trowel 1
str-cost: "5 experience levels and an iron shovel."
description: |
&rTrowel 2 Memory Stone Spell
&3Crafts an iron trowel.
#
# Reagents
#
mix_mortar:
permission-name: stone
spell-class: ".instant.ConjureSpell"
spell-icon: "351:7"
xp-granted:
- stone 1
cast-item: stick, iron_trowel
cost:
- mana 4
- sand 16
- "351:15 8"
cooldown: 1
memory: 1
items:
- mortar 64
modifiers:
- holding "256|&8Mason's Trowel" cooldown 0.1
str-cost: "4 mana, 16 sand, and 8 bone meal."
str-on-cooldown: ""
description: |
&rMix Mortar 1 Memory Stone Spell
&3Mixes mortar out of raw materials.
##########################
# #
# Trowel #
# #
# Stoneworking spells #
# to enable fast #
# construction. #
# Many require mortar #
# or cobblestone, but #
# have low mana #
# costs and cooldowns #
# #
##########################
patchwork:
permission-name: stone
spell-class: ".targeted.ReplaceSpell"
xp-granted:
- stone 1
cast-item: iron_trowel
cost:
- mana 10
- mortar 2
memory: 5
radius-down: 2
radius-horiz: 2
radius-up: 2
range: 8
replace-blocks:
- cobblestone
replace-with:
- stonebrick
str-cost: "10 mana and 2 mortar."
bindable: false
description: |
&rPatchwork 5 Memory Stone Spell
&3Patches up cobblestone as stonebrick.
repair:
permission-name: stone
spell-class: ".instant.RepairSpell"
cast-item: iron_trowel
spell-icon: workbench
xp-granted:
- stone 1
cost:
- mana 50
- diamond_block 1
cooldown: 120
memory: 2
ignore-items:
- 259
repair-amount: 200
to-repair:
- held
- hotbar
- inventory
- helmet
- chestplate
- leggings
- boots
str-cast-self: "You've repaired your gear!"
str-cost: "50 mana and 1 diamond block"
str-nothing-to-repair: "You have nothing to repair."
description: |
&rRepair 2 Memory: &4Stone Spell
&3Repairs your gear.
#####################
# #
# Minepick #
# #
#####################
dowse:
permission-name: Stone
spell-class: ".instant.DowseSpell"
cast-item: minepick
spell-icon: compass
xp-granted:
- stone 1
cost:
- mana 20
- mortar 2
cooldown: 60
memory: 2
block-type: iron_ore
entity-type: ""
radius: 5
rotate-player: true
set-compass: true
str-cast-self: "There is iron ore nearby."
str-cost: "20 mana and 2 mortar"
str-not-found: "No iron ore found nearby."
description: |
&rDowse 2 Memory: &4Stone Spell
&3Dowse for iron ore.
mighty_swing:
permission-name: stone
spell-class: ".targeted.PotionEffectSpell"
xp-granted:
- stone 1
cast-item: minepick
cost:
- mana 15
- 17 1
cooldown: 30
memory: 5
duration: 200
strength: 1
target-self: true
type: 3
str-cost: "15 mana and an oak log."
str-cast-self: "Your arms pulse with new strength!"
description: |
&rMighty Swing 5 Memory: &4Stone Spell
&3Your muscles bulge with strength, and you cut through stone with ease.
stonevision:
permission-name: stone
spell-class: ".buff.StonevisionSpell"
xp-granted:
- stone 1
cast-item: minepick
cost:
- mana 30
- 20 1
use-cost:
- 20 1
use-cost-interval: 5
memory: 6
duration: 60
range: 5
str-cast-self: "The stone around you flickers and fades away..."
str-cost: "30 mana and 1 glass, plus 1 glass for every five blocks walked."
description: |
&rStonevision 6 Memory Stone Spell
&3With great concentration, you can see through stone.