- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


Titleconstants
TypeDenizen Script
Date2015/05/02 07:05:58 UTC-07:00
ByGuest
Other
Paste
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
5700
azTheDeprived:
    type: assignment
    
    default contants:
    
    Entity Type: player
    Age: adult
    
    Weapon: none
    Health: 10
    Strength: 1
    Armor: 1
    Aggro Range: 5
    Movement Speed: 1
    
    Respawn Delay: 30
    
    Drop Loot on Death: true
    
    Scoreboard: bosskills
    
    Engage: damage
    
    Current Phase: One|Two
    
    #Handles First Phase
    P1 HP: 100
    Aura: none
    Special Attack: none
    
    #Handles Second Phase
    P2 HP: 40
    Aura: flame
    Special Attack: Blaze
    Special Attack Delay: 20s
    interact scripts:
    - azFight Script
    
    actions:
        on assignment:
        - trigger name:click
        - trigger name:proximity toggle:true "radius:<npc.constant[Aggro Range]>"
        - trigger name:damage toggle:true
        
        - execute as_server "npc sel <npc.id>"
        - execute as_server "npc type <npc.constant[Entity Type]>"
        - execute as_server "trait sentry"
        - execute as_server "sentry health <npc.constant[Health]>"
        - execute as_server "sentry respawn <npc.constant[Respawn Delay]>"
        - execute as_server "sentry strength <npc.constant[Strength]>"
        - execute as_server "sentry armor <npc.constant[Armor]>"
        - execute as_server "sentry range <npc.constant[Aggro Range]>"
        - if "npc.constant[Weapon]" != none execute as_server "sentry equip <npc.constant[Weapon]">
        
        #Flags the NPC with the current Boss Phase
        - flag npc "Enabled Boss Stages:<npc.constant[Current Phase]>"



RawRaw



Pastes made: 79782