#region The-Monster #region SnowBanshee if (Copra_Times.Start.SnowBanshee && Kernel.SpawnBanshee == false) { MonsterSpawn.SpawnSnowBanshee(); foreach (var client in Program.Values) { client.MessageBox("The SnowBanshee appeared in Deityland. Would you like to Defeat it?", p => { p.Entity.Teleport(10250, 496, 189); }, null); } Kernel.SendWorldMessage(new Message("The Snow Banshee appeared in Deityland (496,189)! Defeat it!", Color.White, Message.System)); } #endregion #region NemesisTyrant if (Copra_Times.Start.NemesisTyrant && Kernel.SpawnNemesis == false) { MonsterSpawn.SpawnNemesisTyrant(); foreach (var client in Program.Values) { client.MessageBox("The NemesisTyrant appeared in Deityland Island. Would you like to Defeat it?", p => { p.Entity.Teleport(10250, 190, 450); }, null); } Kernel.SendWorldMessage(new Message("The NemesisTyrant has shown up in Deityland in (190, 450)", Color.White, Message.System)); } #endregion #region ThrillingSpook if (Copra_Times.Start.ThrillingSpook && Kernel.ThrillingSpook == false) { MonsterSpawn.SpawnThrillingSpook(); foreach (var client in Program.Values) { client.MessageBox("The ThrillingSpook appeared in Deityland. Would you like to Defeat it?", p => { p.Entity.Teleport(10250, 1017, 700); }, null); } Kernel.SendWorldMessage(new Message("The ThrillingSpook appeared in Deityland (" + 1017 + ", " + 700 + ")! Defeat it!", Color.White, Message.System)); } #endregion #region NetherTyrant if (Copra_Times.Start.NetherTyrant && Kernel.NetherTyrant == false) { MonsterSpawn.NetherTyrant(); foreach (var client in Program.Values) { client.MessageBox("The NetherTyrant appeared in Deityland. Would you like to Defeat it?", p => { p.Entity.Teleport(10250, 190, 450); }, null); } Kernel.SendWorldMessage(new Message("The NetherTyrant appeared in Deityland (" + 190 + ", " + 450 + ")! Defeat it!", Color.White, Message.System)); } #endregion #endregion
namespace ConquerVirusX.Database { using Game; using Client; using System; using System.Linq; using System.Drawing; using Network.GamePackets; public class MonsterSpawn { public static ushort nemesisX = 0, nemesisY = 0; public static Time32 LastDragonWraith, LastQueenofEvil, LastNetherTyrant, LastBloodyBanshee, LastChillingSpook, LastThrillingSpook, LastSnowBanshee, LastNemesisTyrant, GoldenOctopustime; public static void SpawnThrillingSpook() { Kernel.ThrillingSpook = true; LastThrillingSpook = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(4172, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 1020, 697); } public static void ChillingSpook() { Kernel.ChillingSpook = true; LastChillingSpook = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(3977, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 1020, 697); } public static void SpawnSnowBanshee() { Kernel.SpawnBanshee = true; LastSnowBanshee = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(4171, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 496, 189); } public static void SpawnNemesisTyrant() { Kernel.SpawnNemesis = true; LastNemesisTyrant = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(4220, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 190, 450); } public static void NetherTyrant() { Kernel.NetherTyrant = true; LastNetherTyrant = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(3978, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 190, 450); } public static void QueenofEvil() { Kernel.QueenofEvil = true; LastQueenofEvil = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(3970, out mob); Kernel.Maps[1002].Spawnthiskingdom(mob, 509, 747); } public static void DragonWraith() { Kernel.DragonWraith = true; LastDragonWraith = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(3970, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 509, 747); } public static void BloodyBanshee() { Kernel.BloodyBanshee = true; LastBloodyBanshee = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(3972, out mob); Kernel.Maps[10250].Spawnthiskingdom(mob, 496, 189); } public static void GoldenOctopus(ushort x, ushort y) { Kernel.GoldenOctopus = true; GoldenOctopustime = Time32.Now; Database.MonsterInformation mob; Database.MonsterInformation.MonsterInformations.TryGetValue(2700, out mob); Kernel.Maps[3071].Spawnthiskingdom(mob, x, y); } } }