Date: 2014/07/07 00:15:37 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
VillagerSlayer:
type: assignment
actions:
on spawn:
#- anchor id:home add l@275,64,141,World
- trigger name:proximity state:true
- health 150 state:true
- equip <hand:267>
- equip <head:306>
- equip <chest:307>
- equip <legs:308>
- equip <feet:309>
on death:
- give <context.killer> xp qty:1000
- give <context.killer> money qty:1000
on proximity move:
- ^if <npc.flag[wait]> == null {
- ^flag npc wait d:5s
- ^flag npc wait2 d:8.5s
- attack <npc> target:<npc.location.find.players.within[3]>
- chat "&4You don't stand a chance!"
}
- ^if <npc.flag[wait2]> == null {
- playeffect <npc.location> e:lava qty:20
- playeffect <npc.location> e:Blaze_shoot qty:20
- foreach <npc.location.find.players.within[5]> {
- potion harm %value% p:1 d:0.5
}
}
- ^if <npc.flag[mobspawn]> == null {
- ^flag npc mobspawn d:60s
- chat "Aid me my soldiers!"
- run newzombietask def:<npc.location>
}
interact scripts:
- 10 bogus
bogus:
type: interact
script:
steps:
1:
- repeat 0
newzombietask:
type: task
script:
- create zombie namehere %1%
- assignment set script:Warrior