forked from InclusiveRec/Legacy-Magic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spell-cantrips.yml
197 lines (183 loc) · 7.02 KB
/
spell-cantrips.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
# Plugin functions
list:
permission-name: cantrip
spell-class: ".command.ListSpell"
always-granted: true
only-show-castable-spells: true
reload-granted-spells: true
spells-to-hide: []
str-no-spells: "You do not know any spells."
str-prefix: "Known spells:"
description: |
&rList - Cantrip
&3List all the spells you know.
help:
permission-name: cantrip
spell-class: ".command.HelpSpell"
always-granted: true
require-known-spell: true
str-cost-line: "Cost: %c"
str-desc-line: "%d"
str-no-spell: "You do not know a spell by that name."
str-usage: "Usage: /cast help <spell>"
description: |
&rHelp - Cantrip
&3Get information about a specified spell that you already know.
forget:
permission-name: cantrip
spell-class: ".command.ForgetSpell"
always-granted: true
allow-self-forget: true
str-doesnt-know: "That person does not know that spell."
str-no-spell: "You do not know a spell by that name."
str-no-target: "No such player."
str-cast-self: "You made %t forget the %s spell."
str-cast-self-target: "You have forgotten the %s spell."
str-cast-target: "%a has made you forget the %s spell."
str-reset-self: "You have forgotten all of your spells."
str-reset-target: "You have reset %t's spellbook."
str-usage: "Usage: /cast forget <target> <spell>"
description: |
&rForget - Cantrip
&3Make a player forget a spell.
# Bonus spells
firework:
enabled: true
permission-name: cantrip
spell-class: ".instant.ParticleProjectileSpell"
spell-icon: firework
xp-granted:
- test 10
always-granted: true
cost:
- mana 10
cooldown: 0
spell: fireworkblast
hit-air-at-end: true
max-distance: 20
max-duration: 20
projectile-vert-offset: 1.5
projectile-velocity: 20
projectile-gravity: .05
tick-interval: 2
modifiers:
- outside required
str-cost: "10 mana"
despription: |
&rFirework: Cantrip
&3Shoots a firework from fingertips.
effects:
- caster sound fireworks.launch 1.0 1.0
# Apprentice level
bind:
permission-name: apprentice
spell-class: ".command.BindSpell"
allow-bind-to-fist: true
str-cant-bind-item: "That spell cannot be bound to that item."
str-cant-bind-spell: "That spell cannot be bound to an item."
str-cast-self: "You have successfully bound the %s spell to the \nitem you are holding."
str-no-spell: "You do not know a spell by that name."
str-usage: "You must specify a spell name and hold an item in your hand."
description: |
Bind: L05 Cantrip
Binds a spell to a wand item.
Requires the scroll spell.
unbind:
permission-name: apprentice
spell-class: ".command.UnbindSpell"
str-cant-bind-spell: "That spell cannot be bound to an item."
str-cast-self: "You have successfully unbound the %s spell."
str-no-spell: "You do not know a spell by that name."
str-not-bound: "That spell is not bound to that item."
str-usage: "You must specify a spell name."
description: |
Unbind: L05 Cantrip
Unbinds a spell from its assigned wand item.
Reqiuires the scroll spell.
# Journeyman level
scroll:
permission-name: journeyman
spell-class: ".command.ScrollSpell"
cast-item: book
spell-icon: paper
default-uses: 1
charge-reagents-for-spell-per-charge: true
ignore-cast-perm: true
item-id: 339
left-click-cast: false
max-uses: 10
remove-scroll-when-depleted: true
require-scroll-cast-perm-on-use: false
require-teach-perm: false
right-click-cast: true
str-scroll-name: "Magic Scroll: %s"
str-scroll-over: "Spell Scroll: %s (%u uses remaining)"
str-scroll-subtext: "Uses remaining: %u"
str-cant-teach: "You cannot create a scroll with that spell."
str-cast-self: "You have created a %s spell scroll."
str-no-spell: "You do not know a spell by that name."
str-on-use: "Spell Scroll: %s used. %u uses remaining."
str-usage: |
You must hold a single blank paper
and type /cast scroll <spell> <uses>.
str-use-fail: "Unable to use this scroll right now."
description: |
Scroll: Cantrip
Create a limited use spell scroll.
# Master level
tome:
permission-name: master
spell-class: ".command.TomeSpell"
allow-overwrite: false
cancel-read-on-learn: false
consume-book: false
default-uses: 1
max-uses: 3
require-teach-perm: true
str-usage: "Usage: Write and sign a book describing the spell's usage; while holding it, type /cast tome <spell>"
str-no-spell: "You do not know a spell with that name."
str-cant-teach: "You have not mastered that school of magic."
str-no-book: "You must be holding a written book."
str-already-has-spell: "A mage has already filled these pages with instructions on the %s spell."
str-already-known: "You already know the %s spell."
str-cant-learn: "The %s spell is too advanced for you."
str-learned: "You have learned the %s spell."
str-cast-self: "You have created a %s tome."
description: |
&rTome - Cantrip
&3Create a tome that teaches a spell.
Requires the bind, unbind and scroll spells.
spellbook:
permission-name: master
spell-class: ".command.SpellbookSpell"
default-uses: 10
destroy-when-used-up: false
spellbook-block: 116
str-already-known: "You already know the %s spell."
str-cant-destroy: "You cannot destroy an enchanting table with a spellbook."
str-cant-learn: "Try as you might, you fail to learn the %s spell."
str-cast-self: "You have created a spellbook with the %s spell."
str-cant-teach: "You can't create a spellbook with that spell."
str-has-spellbook: "That enchanting table already has a spellbook."
str-learned: "You have learned the %s spell!"
str-no-target: "You must target an enchanting table to create a spellbook."
str-no-spell: "You do not know a spell by that name."
str-use: "Usage: /cast spellbook <spell> [uses]"
description: |
&rSpellbook - Cantrip
&3Create a spellbook that teaches a spell.
Requires the bind, unbind, scroll, and tome spells.
teach:
permission-name: master
spell-class: ".command.TeachSpell"
require-known-spell: true
str-cant-learn: "That person cannot learn that spell."
str-cast-self: "You have taught %t the %s spell."
str-cast-target: "%a has taught you the %s spell."
str-no-spell: "You do not know a spell by that name."
str-no-target: "No such player."
str-cant-teach: "You can't teach that spell."
str-usage: "Usage: /cast teach <target> <spell>"
description: |
&rTeach - Cantrip
&3Teach a spell to another player. Requires the bind, unbind, scroll, tome, and spellbook spells.