Exemplo n.º 1
0
        private void SpawnGuardians()
        {
            Mobile lordArcher = new LordArcher();

            lordArcher.MoveToWorld(new Point3D(this.Location.X + 1, this.Location.Y, this.Location.Z), this.Map);

            Mobile lordWarrior = new LordWarrior();

            lordWarrior.MoveToWorld(new Point3D(this.Location.X, this.Location.Y + 1, this.Location.Z), this.Map);

            Mobile lordVeteran;

            if (Utility.RandomBool())
            {
                lordVeteran = new LordVeteranArcher();
            }
            else
            {
                lordVeteran = new LordVeteranWarrior();
            }
            lordVeteran.MoveToWorld(new Point3D(this.Location.X + 1, this.Location.Y + 1, this.Location.Z), this.Map);
        }
Exemplo n.º 2
0
        private void SpawnGuardians()
        {
            Mobile lordArcher = new LordArcher();
            lordArcher.MoveToWorld(new Point3D(this.Location.X + 1, this.Location.Y, this.Location.Z), this.Map);

            Mobile lordWarrior = new LordWarrior();
            lordWarrior.MoveToWorld(new Point3D(this.Location.X, this.Location.Y + 1, this.Location.Z), this.Map);

            Mobile lordVeteran;
            if (Utility.RandomBool())
                lordVeteran = new LordVeteranArcher();
            else
                lordVeteran = new LordVeteranWarrior();
            lordVeteran.MoveToWorld(new Point3D(this.Location.X + 1, this.Location.Y + 1, this.Location.Z), this.Map);
        }