Paste #14614: Edit of P#14613 - Untitled Paste

Date: 2015/03/20 13:28:25 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


MSPriestSpawn:
  type: task
  debug: true
  script:
  - flag global mschurhcryptspawn duration:10s
  - ^define roll <util.random.int[1].to[100].asint>
  - ^if <def[roll]> > 5 {
    - foreach <cu@mschurchcrypt.list_entities[skeleton|slime|zombie]> {
      - if <def[value].as_entity.custom_name.strip_color.contains[*Really Angry Skeleton]||null> {
        - announce "Really Angry Skeleton already spawned!" }
      }
      - run s@ReallyAngrySkeleton d:<def[location]>
    }