Paste #35779: Untitled Paste

Date: 2016/09/04 10:23:39 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
13
14
15
16
17
18
19


CustomEnchantments:
  type: world
  events: 
    on player equips i@BootsofSwiftness:
    - narrate "<&7><&o>You have been granted Swiftness I"
    - cast speed d:9999 p:0

    on player unequips boots:
    - if <item.lore.contains[Swiftness]> {
      - narrate "<&7><&o>Your swiftness has ran out"
      - cast speed d:0 P:0
    }

BootsofSwiftness:
  type: item
  material: i@Diamond_boots
  display name: <&b>Boots of Swiftness
  lore:
  - "Swiftness I"