Date: 2020/04/23 09:58:06 UTC-07:00
Type: Denizen Script
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
################
# Zc Race Menu # (Created with help By Marshall, Finalized by Ichikuro)
################
###############
###Definition##
###############
racemenu_cmd:
type: command
debug: false
description: "Viewing and selecting a ZC race."
name: racemenu
usage: /racemenu
permission: "racemenu"
aliases:
- rm
- changerace
tab complete:
- stop
script:
- inventory open d:racemenu
##############
## MENU ##
##############
racemenu:
type: inventory
debug: false
title: " <&3><&l>Race Menu"
size: 9
slots:
- "[] [hylian] [zora] [goron] [kokiri] [fairyrace] [gerudo] [minish] []"
##################
###RaceHandler####
#################
hylian:
type: item
debug: false
material: iron_sword[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&e><&l>Hylian
lore:
- "<&c>Increases damage dealt by <&c>5 percent"
- "<&7>and reduces damage taken from"
- "<&7>creatures by <&c>20 percent."
zora:
type: item
debug: false
material: cod[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&9><&l>Zora
lore:
- "<&7>When you <&c>damage <&7>a target,"
- "<&7>you have a chance to gain"
- "<&c>2 hearts<&7> of HP."
goron:
type: item
debug: false
material: leather_chestplate[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&4><&l>Goron
lore:
- "<&c>Reduces damage <&7>taken from"
- "<&7>attacks by <&c>10 percent <&7>and from"
- "<&7>arrows by <&c>30 percent."
kokiri:
type: item
debug: false
material: bow[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&2><&l>Kokiri
lore:
- "<&7>Increases <&c>damage <&7>you deal"
- "<&7>with arrows by <&c>30 percent."
fairyrace:
type: item
debug: false
material: dragon_breath[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&d><&l>Fairy
lore:
- "<&7>Your attacks have a <&c>3 percent"
- "<&7>chance to inflict a"
- "<&c>random harmful effect"
- "<&7>on the target."
gerudo:
type: item
debug: false
material: cactus[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&6><&l>Gerudo
lore:
- "<&7>Your attacks deal <&c>50%"
- "<&c>more damage <&7>if the target"
- "<&7>is <&c>at or below 1/4 HP."
minish:
type: item
debug: false
material: rabbit_foot[flags=HIDE_ENCHANTS|Hide_ATTRIBUTES]
enchantments:
- durability:3
display name: <&a><&l>Minish
lore:
- "<&7>You have a <&c>15 percent chance <&7>of"
- "<&c>avoiding all damage <&7>from"
- "<&7>any attack."
############
##Binding ##
############
race_handler:
type: world
debug: false
events:
on player right clicks in racemenu priority:1:
- determine passively cancelled
on player clicks in racemenu priority:1:
- determine passively cancelled
on player drags in racemenu priority:1:
- determine cancelled
on player clicks hylian in racemenu priority:2:
- execute as_player "zc changerace hylian"
- inventory close
on player clicks zora in racemenu priority:2:
- execute as_player "zc changerace zora"
- inventory close
on player clicks goron in racemenu priority:2:
- execute as_player "zc changerace goron"
- inventory close
on player clicks kokiri in racemenu priority:2:
- execute as_player "zc changerace kokiri"
- inventory close
on player clicks fairyrace in racemenu priority:2:
- execute as_player "zc changerace fairy"
- inventory close
on player clicks gerudo in racemenu priority:2:
- execute as_player "zc changerace gerudo"
- inventory close
on player clicks minish in racemenu priority:2:
- execute as_player "zc changerace minish"
- inventory close
####EndScript###