Date: 2015/01/21 16:07:10 UTC-08:00
Type: Denizen Script
"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]>
}
}
}
}