Date: 2015/03/03 15:20:01 UTC-08: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
rustung:
type: world
events:
on player equips armor:
- announce Script1
- if <player.has_flag[loop_running]> queue clear
- if <context.armor.scriptname||null> == eisenschuhe {
- flag player loop_running
- announce 'Starting Loop'
- run s@armortask1
}
on player equips armor:
- announce Script2
- if <player.has_flag[loop_running2]> queue clear
- if <context.armor.scriptname||null> == eisenhose {
- flag player loop_running2
- announce 'Starting Loop2'
- run s@armortask2
}
on player equips armor:
- announce Script3
- if <player.has_flag[loop_running3]> queue clear
- if <context.armor.scriptname||null> == eisenbrust {
- flag player loop_running3
- announce 'Starting Loop3'
- run s@armortask3
}
#on player equips armor:
#- announce Script4
#- if <player.has_flag[loop_running4]> queue clear
#- if <context.armor.scriptname||null> == eisenhelm {
# - flag player loop_running4
# - announce 'Starting Loop4'
# - run s@armortask4
# }
eisenschuhe:
type: item
debug: true
material: iron_boots
display name: Neue schuhe
lore:
- Zauber 1
- Zauber 2
- <red>Legend<รค>re Schuhe
eisenhose:
type: item
debug: true
material: iron_leggings
display name: Eine neue Hose
lore:
- Lore 1
- Lore 2
- <blue>Eine blaue Lore
eisenhelm:
type: item
debug: true
material: iron_helmet
display name: Ein Helm
lore:
- Lore 1
- Lore 2
eisenbrust:
type: item
debug: false
material: iron_chestplate
display name: Eine Brustplatte
lore:
- Lore 1
- Lore2
armortask1:
type: task
script:
- announce " Task script starting. Castion potion to <player.name>. "
- cast JUMP duration:6s power:3
- wait 3s
- flag player loop_running:!
- if <player.equipment.boots.scriptname||null> == eisenschuhe {
- announce " If case running "
- run s@armortask1
}
- announce " Script is closing now"
armortask2:
type: task
script:
- announce " Task script 2 starting. Castion potion to <player.name>. "
- cast CONFUSION duration:6s power:3
- wait 3s
- flag player loop_running2:!
- if <player.equipment.leggings.scriptname||null> == eisenhose {
- announce " If case2 running "
- run s@armortask2
}
- announce " Script2 is closing now"
armortask3:
type: task
script:
- announce " Task script 3 starting. Castion potion to <player.name>. "
- cast INVISIBILITY duration:6s power:3
- wait 3s
- flag player loop_running3:!
- if <player.equipment.chestplate.scriptname||null> == eisenbrust {
- announce " If case3 running "
- run s@armortask3
}
- announce " Script3 is closing now"
armortask4:
type: task
script:
- announce " Task script 4 starting. Castion potion to <player.name>. "
- cast SPEED duration:6s power:3
- wait 3s
- flag player loop_running4:!
- if <player.equipment.helmet.scriptname||null> == eisenhelm {
- announce " If case4 running "
- run s@armortask4
}
- announce " Script4 is closing now"