Ejemplo n.º 1
0
        public void SpawnAGuard(int guardX, int guardY, int guardZ, ushort heading)
        {
            GameStairGuard guard = new GameStairGuard();

            guard.Model           = 1349;
            guard.Size            = 37;
            guard.Level           = 80;   //level 70 on live
            guard.Name            = "daleros ephoros";
            guard.CurrentRegionID = (ushort)Ianetor.playerregion;
            guard.Heading         = heading;
            guard.Realm           = 0;
            guard.CurrentSpeed    = 0;
            guard.MaxSpeedBase    = 300;
            guard.GuildName       = "";
            guard.X               = guardX;
            guard.Y               = guardY;
            guard.Z               = guardZ;
            guard.RoamingRange    = 0;
            guard.RespawnInterval = 0;
            guard.BodyType        = 0;
            guard.Strength        = 600;

            StandardMobBrain brain = new StandardMobBrain();

            brain.AggroLevel = 100;
            brain.AggroRange = 200;
            guard.SetOwnBrain(brain);

            guard.AddToWorld();
            StairGuardList.Add(guard);

            return;
        }
Ejemplo n.º 2
0
		public void SpawnAGuard(int guardX, int guardY, int guardZ, ushort heading)
		{
			GameStairGuard guard = new GameStairGuard();
			guard.Model = 1349;
			guard.Size = 37;
			guard.Level = 80; //level 70 on live
			guard.Name = "daleros ephoros";
			guard.CurrentRegionID = (ushort)Ianetor.playerregion;
			guard.Heading = heading;
			guard.Realm = 0;
			guard.CurrentSpeed = 0;
			guard.MaxSpeedBase = 300;
			guard.GuildName = "";
			guard.X = guardX;
			guard.Y = guardY;
			guard.Z = guardZ;
			guard.RoamingRange = 0;
			guard.RespawnInterval = 0;
			guard.BodyType = 0;
			guard.Strength = 600;

			StandardMobBrain brain = new StandardMobBrain();
			brain.AggroLevel = 100;
			brain.AggroRange = 200;
			guard.SetOwnBrain(brain);

			guard.AddToWorld();
			StairGuardList.Add(guard);

			return;
		}