private static void DecorateTOL_OnCommand(CommandEventArgs e) { e.Mobile.SendMessage("Generating Time Of Legends world decoration, please wait."); Decorate.Generate("tol", "Data/Decoration/TimeOfLegends/TerMur", Map.TerMur); Decorate.Generate("tol", "Data/Decoration/TimeOfLegends/Felucca", Map.Felucca); ChampionSpawn sp = new ChampionSpawn(); sp.Type = ChampionSpawnType.DragonTurtle; sp.MoveToWorld(new Point3D(451, 1696, 65), Map.TerMur); sp.Active = true; WeakEntityCollection.Add("tol", sp); sp = new ChampionSpawn(); sp.SpawnRadius = 35; sp.Type = ChampionSpawnType.DragonTurtle; sp.MoveToWorld(new Point3D(7042, 1889, 60), Map.Felucca); sp.Active = true; WeakEntityCollection.Add("tol", sp); PublicMoongate gate = new PublicMoongate(); gate.MoveToWorld(new Point3D(719, 1863, 40), Map.TerMur); ShadowguardController.SetupShadowguard(e.Mobile); Server.Engines.MyrmidexInvasion.GenerateMyrmidexQuest.Generate(); MacawSpawner.Generate(); CommandSystem.Handle(e.Mobile, Server.Commands.CommandSystem.Prefix + "XmlLoad Spawns/Eodon.xml"); e.Mobile.SendMessage("Time Of Legends world generating complete."); }
public static void Generate(Map map) { PublicMoongate gate = new PublicMoongate(); gate.MoveToWorld(new Point3D(761, 641, 0), map); AnkhOfSacrificeAddon ankh = new AnkhOfSacrificeAddon(true); ankh.MoveToWorld(new Point3D(757, 641, 0), map); }