Date: 2015/07/07 01:53:46 UTC-07:00
Type: Denizen Script
GuardianSpawner:
type: world
default constants:
- guardianSpawnChance: 6
events:
on squid spawns:
- define randomSelection <util.random.int[1].to[10]>
- if <def[randomSelection]> >= <script.constant[guardianSpawnChance]> {
- determine CANCELLED
- spawn guardian <context.location>
}