Example #1
0
        internal static TitanSpawn TitansSpawningSoon()
        {
            var result = new TitanSpawn();

            if (!Main.Character.buttons.adventure.IsInteractable())
            {
                return(result);
            }
            for (var i = 0; i < TitanZones.Length; i++)
            {
                result.Merge(GetTitanSpawn(i));
            }
            return(result);
        }
Example #2
0
        internal static TitanSpawn TitansSpawningSoon()
        {
            var result = new TitanSpawn
            {
                IsHighest    = false,
                SpawningSoon = false
            };

            if (!Main.Character.buttons.adventure.IsInteractable())
            {
                result.SpawningSoon = false;
                return(result);
            }

            if (Main.Character.bossID >= 58)
            {
                result.Merge(GetTitanSpawn(1));
            }

            if (Main.Character.bossID >= 66)
            {
                result.Merge(GetTitanSpawn(2));
            }

            if (Main.Character.bossID >= 82)
            {
                result.Merge(GetTitanSpawn(3));
            }

            if (Main.Character.bossID >= 100)
            {
                result.Merge(GetTitanSpawn(4));
            }

            if (Main.Character.bossID >= 116)
            {
                result.Merge(GetTitanSpawn(5));
            }

            if (Main.Character.bossID >= 132)
            {
                result.Merge(GetTitanSpawn(6));
            }

            if (Main.Character.effectiveBossID() >= 426)
            {
                result.Merge(GetTitanSpawn(7));
            }

            if (Main.Character.effectiveBossID() >= 467)
            {
                result.Merge(GetTitanSpawn(8));
            }

            if (Main.Character.effectiveBossID() >= 491)
            {
                result.Merge(GetTitanSpawn(9));
            }

            if (Main.Character.effectiveBossID() >= 727)
            {
                result.Merge(GetTitanSpawn(10));
            }

            if (Main.Character.effectiveBossID() >= 826)
            {
                result.Merge(GetTitanSpawn(11));
            }

            if (Main.Character.effectiveBossID() >= 848)
            {
                result.Merge(GetTitanSpawn(12));
            }

            return(result);
        }