Пример #1
0
        public void RemoveVase(AncientClayVase vase)
        {
            if (Vases != null)
            {
                if (Vases.Contains(vase))
                {
                    Vases.Remove(vase);
                }

                if (TreasuresOfDoomEvent.Instance.Running && Vases.Count < VaseCount)
                {
                    Timer.DelayCall(TimeSpan.FromMinutes(Utility.RandomMinMax(MinSpawn, MaxSpawn)), () =>
                    {
                        CreateVases(1);
                    });
                }
            }
        }
Пример #2
0
        public void RemoveVase(AncientClayVase vase)
        {
            if (Vases != null)
            {
                if (Vases.Contains(vase))
                {
                    Vases.Remove(vase);
                }

                if (PointsSystem.TreasuresOfDoom.InSeason && Vases.Count < VaseCount)
                {
                    Timer.DelayCall(TimeSpan.FromMinutes(Utility.RandomMinMax(MinSpawn, MaxSpawn)), () =>
                    {
                        CreateVases(1);
                    });
                }
            }
        }