Date: 2015/03/20 13:28:25 UTC-07:00
Type: Denizen Script
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]>
}