Paste #9935: Untitled Paste

Date: 2014/09/21 14:42:24 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Playerequipmentspecialscript:
    type: task
    debug: false
    script:
      - if <player.equipment.boots> == i@DragonBoots {
        - ^playeffect effect:PORTAL  l@<player.location.add[0,2,0]> qty:20
        - ^run s@Playerequipmentspecialscript
        }
        else if <player.equipment.chestplate> == i@DragonMail {
        - ^playeffect effect:PORTAL  l@<player.location.add[0,2,0]> qty:20
        - ^run s@Playerequipmentspecialscript
        }
        else if <player.equipment.helmet> == i@DragonHelmet {
        - ^playeffect effect:PORTAL  l@<player.location.add[0,2,0]> qty:20
        - ^run s@Playerequipmentspecialscript
        }
        else if <player.equipment.leggings> == i@DragonLegs {
        - ^playeffect effect:PORTAL  l@<player.location.add[0,2,0]> qty:20
        - ^run s@Playerequipmentspecialscript
        }
        else if <player.item_in_hand> == i@DragonSword {
        - ^playeffect effect:PORTAL  l@<player.location.add[0,2,0]> qty:20
        - ^run s@Playerequipmentspecialscript
        }