Exemple #1
0
        public override float SpawnChance(NPCSpawnInfo spawnInfo)
        {
            Player player = spawnInfo.player;

            if (ModHelper.NormalSpawn(spawnInfo) && player.ZoneOverworldHeight)
            {
                return(0.001f);
            }
            return(base.SpawnChance(spawnInfo));
        }