Paste #13204: Edit of P#13203 - Edit of P#13202 - Untitled Paste

Date: 2015/01/21 16:07:10 UTC-08: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


"speedsword":
  type: world 
  debug: true 
  events: 


    on player right clicks with stone: 
    - if !<player.has_flag[crystal]> { 
      - if !<def[value].has_effect[NIGHT_VISION]> { 
        - foreach <player.location.find.players.within[50].exclude[<player>]> { 
          - if <def[value].has_effect[NIGHT_VISION]> {
            - push <def[value]> origin:<def[value].location> destination:<player.location.sub[<def[value].location>].normalize.mul[20]> 
            }
          }
        }
      }