Exemple #1
0
        private void SpawnDaemon(Mobile owner)
        {
            Daemon  daemon = new Daemon();
            Point3D point  = new Point3D(owner.X + 2, owner.Y + 2, owner.Z);

            daemon.MoveToWorld(point, owner.Map);
            daemon.Controlled    = true;
            daemon.ControlMaster = owner;
            daemon.ControlOrder  = OrderType.Follow;
            daemon.ControlTarget = owner;

            Effects.SendLocationEffect(new Point3D(daemon.X, daemon.Y, daemon.Z + 1), daemon.Map, 0x3709, 13);
            Effects.SendLocationEffect(new Point3D(daemon.X, daemon.Y, daemon.Z), daemon.Map, 0x37CC, 13);
            daemon.BoltEffect(3);
        }