Date: 2015/03/21 19:16:09 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
#########################################
# Custom Item Script #
# #
# Ersteller: BloodEko #
# #
#########################################
# Rohlinge #
#########################################
#item6
# type: item
# material: ITEM
# display name: NAME DES ITEM
# lore:
# - Texte texte texte
#########################################
schwert:
type: world
debug: false
events:
on entity damaged:
- if <context.damager.item_in_hand.scriptname||null> == item1 {
- narrate 'Fine'
- playeffect <e@entity.location> LARGE_EXPLODE
- adjust <context.entity> walk_speed:0.0
- wait 5s
- adjust <context.entity> walk_speed:0.2
}
- if <context.damager.item_in_hand.scriptname||null> == item2 {
- narrate Fine2
- announce <context.final_damage>
- playeffect <entity.location> LARGE_EXPLODE
- heal <context.final_damage> <context.damager>
}
- if <context.damager.item_in_hand.scriptname||null> == item3 {
- narrate Fine3
- flag
- playeffect <entity.location> LARGE_EXPLODE
- scoreboard add obj:Timer lines:Zeit score:3 viewers:<context.player>
- wait 1s
- scoreboard add obj:Timer lines:Zeit score:2 viewers:<context.player>
- wait 1s
- scoreboard add obj:Timer lines:Zeit score:1 viewers:<context.player>
- wait 1s
- hurt <40.0> <context.entity>
- scoreboard remove viewers:<context.player>
}
- if <context.damager.item_in_hand.scriptname||null> == item4 {
- narrate Fine 4
- cast BLINDNESS duration:10s <context.entity>
- announce " Casting Blindness 10s"
}
- if <context.damager.item_in_hand.scriptname||null> == item5 {
- narrate Fine5
- cast SPEED duration:6s power:3 <context.player>
- announce 'JA !'
}
# - if <context.damager.item_in_hand.scriptname||null> == NAME_DES_ITEMSCIPT {
# - cast NAME_DES_TRANKEFFEKT duration:6s power:3 <context.player>
# }
on entity shoots bow:
- if <context.entity.item_in_hand.scriptname||null> == item6 {
- flag <context.entity> shooter
}
on entity shoots block
- if !<context.shooter.has_flag[shooter]> queue clear
- flag <context.shooter> shooter:!
- teleport <context.shooter> <context.location>
item1:
type: item
material: paper
display name: Ein dreckiges Stueck Papier
lore:
- Explosion mit Festhalten
- <red>Legendaeres Schwert
item2:
type: item
material : paper
display name: Custom Item 2
lore:
- Gibt leben zur<ü>ck
- <blue> Eine Lore
item3:
type: item
material : paper
display name : Custom Item 3
lore:
- Verz<&uoml>gert den Tod.
- <green> G<ü>ne Lore !
item4:
type: item
material: paper
display name: Custom Item 4
lore:
- Blendet den Gegner
- Irgendeine Lore
item5:
type: item
material: paper
display name: Custom Item 5
lore:
- Vergiftet den Gegner
item6:
type: item
material: bow
display name: Superbogen
lore:
- Bogen teleportiert