Paste #38185: Untitled Paste

Date: 2016/12/06 16:56:02 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5


- foreach <player.location.find.entities.within[20].exclude[<player>]>:
  - wait <util.random.int[1].to[5]>t
  - if <def[value].is_spawned> && <def[value].location.distance[<player.location>]> < 20 {
    - hurt <def[value]> <def[value].health>
    }