Paste #37351: Edit of P#37350 - Untitled Paste

Date: 2016/11/02 07:25:58 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5


- if <server.flag[<context.location.tc_biome.name>ZOMBIEMaxSpawnedEntities]> <= <util.random.int[<def[3]>].to[<def[2]>]> {
            - announce "if <server.flag[<context.location.tc_biome.name>ZOMBIEMaxSpawnedEntities]> is smaller then <util.random.int[<def[3]>].to[<def[2]>]> do stuff"
            - flag server <context.entity.location.tc_biome.name>ZOMBIEMaxSpawnedEntities:+:1
            - spawn zombie <context.location> save:<context.entity>
            }