Date: 2014/12/08 16:33:08 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
Strah:
type: assignment
actions:
on assignment:
- trigger name:damage state:true
- trigger name:proximity state:true radius:15
- trigger name:click state:true
- vulnerable state:true
- health 150 state:true
- heal
on spawn:
- health 150 state:true
- heal
- announce "<&6>Strah has been reset!"
on enter proximity:
- narrate "<&4>Fear can be a powerful enemy..."
- wait 1s
- narrate "<&4>Let's see how well you handle it."
- wait 1s
- cast CONFUSION duration:10s power:10 <player>
on move proximity:
- look <npc> <player.location>
- walk <npc> <player.location> speed:5
- attack <npc> target:<player>
- if <npc.health> <= 50 {
- narrate "<&4>Gah! I need more health!"
- cast WITHER duration:10s power:10 <player>
}
- if <npc.health> <= 100 {
- narrate "<&4>I have run out of patience..."
- wait 1s
- narrate "<&4>Let's see how well you fight without your eyes!"
- cast BLINDNESS duration:20s <player>
}
on death:
- cast CONFUSION remove
- cast WITHER remove
- cast BLINDNESS remove
- wait 1t
- give i@gems qty:10
- wait 1t
- give i@VladsPick
- wait 1t
- firework <npc> <trail> primary:red
- firework <npc> <trail> primary:orange
- firework <npc> <trail> primary:yellow
- firework <npc> <trail> primary:green
- firework <npc> <trail> primary:blue
- firework <npc> <trail> primary:purple
- firework <npc> <trail> primary:magenta
- announce "<&6>Strah has fallen!"