forked from InclusiveRec/Legacy-Magic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspells-school-dragon.yml
144 lines (136 loc) · 3.63 KB
/
spells-school-dragon.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
predefined-items:
dragon_grimoire:
type: enchanted_book
name: "&5Dragon Grimoire"
lore: |
A detailed account
of every type of dragon.
# Item factory
lore_of_dragons:
permission-name: dragon
spell-class: ".instant.ConjureSpell"
cast-item: book
spell-icon: enchanted_book
xp-granted:
- dragon 1
cost:
- book 1
- levels 30
- diamond_block 1
- dragon_egg 5
memory: 10
items:
- dragon_grimoire 1
str-cost: "A book, 30 levels, a diamond block, and six dragon eggs."
description: |
&5Lore of Dragons: Dragon Masters' Spell
Creates a Dragon grimoire.
#Bonus Spells
enderchest:
permission-name: dragon
spell-class: ".instant.EnderchestSpell"
cast-item: book
spell-icon: ender_chest
memory: 5
cost:
- mana 50
- 368 1
cooldown: 300
str-cost: "50 mana and an enderpearl."
description: |
&rEnderchest: Cantrip
&3Opens your ender chest inventory.
# Transportation Spells
gate:
permission-name: dragon
spell-class: ".instant.GateSpell"
cast-item: book
spell-icon: 358
memory: 7
xp-granted:
- dragon 1
- knights -1
- stone -1
cost:
- mana 30
cooldown: 60
shared-cooldowns:
- summon_helper 120
- recall 120
can-cast-with-item: false
world: WORLD
coordinates: SPAWN
str-cost: "30 mana"
str-cast-others: "%a appears!"
str-cast-self: "You have teleported."
str-gate-failed: "Unable to teleport."
description: |
&rGate 7 Dragon
&3Teleport to Sunfield.
effects:
- pos1 ender
- pos2 ender
recall:
permission-name: dragon
spell-class: ".instant.RecallSpell"
cast-item: book
spell-icon: bed
memory: 7
xp-granted:
- dragon 1
- knights -1
- stone -1
cost:
- mana 50
cooldown: 120
shared-cooldowns:
- summon_helper 120
- gate 60
allow-cross-world: false
max-range: 1000
use-bed-location: true
str-cast-others: "%a disappears!"
str-cost: "50 mana"
str-cast-self: "You teleport back home."
str-no-mark: "You have no bed to return to."
str-other-world: "You cannot recall to another world."
str-too-far: "Your bed is too far away."
description: |
&rRecall - Dragon
&3Teleports you to the last bed you slept in.
summon_helper:
permission-name: dragon
spell-class: ".targeted.SummonSpell"
name: summon
spell-icon: 358
xp-granted:
- dragon 1
- knights -1
- stone -1
cost:
- mana 60
- emerald_block 1
memory: 7
prerequisites:
- gate
- recall
cooldown: 120
shared-cooldowns:
- gate 30
- recall 120
max-accept-delay: 90
range: 1000
require-acceptance: true
require-exact-name: false
accept-command: "accept"
str-cost: "60 mana and an emerald blocks"
str-summon-accepted: "You have been summoned."
str-summon-expired: "The summon has expired."
str-no-target: "Target player not found."
str-summon-pending: "%a is summoning you! Type /accept to teleport."
str-usage: |
Usage: /cast summon <playername>, or /cast summon
while looking at a sign with a player name on the first line.
description: |
Summon 7 Dragon
Summons an ally to your location.