Paste #6360: Untitled Paste

Date: 2014/07/05 04:47:09 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


on player right clicks with REDSTONE_BLOCK: 
          - if !<player.has_flag[xd]> { 
            - flag buffalo duration:10s { 
              - if !<%value%.has_effect[NIGHT_VISION]> cast speed power:3 %value% 
              } 
            - cast INCREASE_DAMAGE power:1 duration:5 
            - announce '<&e><&lb><&6><&l>!<&e><&rb> <&b><player.name> <&e>uzyl <&b>Boski Rog Mocy <&e>kazdy w promieniu 30 kratek od niego otrzymal dodatkowa szybkosc!' 
            - determine fulfilled 
            } else { 
            - narrate "<&e>Przykro mi, ale mozesz uzyc rogu dopiero za <&c><&l><player.flag[xd].expiration.formatted>" 
            - determine fulfilled 
            }