Exemplo n.º 1
0
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public static Item CreateMetalShield()
        {
            Item item = null;

            switch (Utility.RandomMinMax(0, 7))
            {
            case 0:         item = new BronzeShield();              item.Name = "shield";                   break;

            case 1:         item = new Buckler();                   item.Name = "buckler";                  break;

            case 2:         item = new MetalKiteShield();   item.Name = "kite shield";              break;

            case 3:         item = new HeaterShield();              item.Name = "large shield";             break;

            case 4:         item = new MetalShield();               item.Name = "small shield";             break;

            case 5:         item = new ChaosShield();               item.Name = "chaos shield";             break;

            case 6:         item = new OrderShield();               item.Name = "order shield";             break;

            case 7:         item = new RoyalShield();               item.Name = "royal shield";             break;
            }

            return(item);
        }
Exemplo n.º 2
0
        public virtual void GiveEquipment()
        {
            RadiantWarSword weapon = new RadiantWarSword();

            weapon.Hue        = 2407;
            weapon.Identified = true;
            weapon.Movable    = false;
            AddItem(Immovable(weapon));

            RoyalShield shield = new RoyalShield();

            shield.Hue        = 2407;
            shield.Identified = true;
            shield.Movable    = false;
            AddItem(Immovable(shield));

            RoyalPlateHelm helm = new RoyalPlateHelm();

            helm.Hue        = 2407;
            helm.Identified = true;
            AddItem(Immovable(helm));

            RoyalPlateArms arms = new RoyalPlateArms();

            arms.Hue        = 2407;
            arms.Identified = true;
            AddItem(Immovable(arms));

            RoyalPlateGloves gloves = new RoyalPlateGloves();

            gloves.Hue        = 2407;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            RoyalPlateChest tunic = new RoyalPlateChest();

            tunic.Hue        = 2407;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            RoyalPlateLegs legs = new RoyalPlateLegs();

            legs.Hue        = 2407;
            legs.Identified = true;
            AddItem(Immovable(legs));

            RoyalPlateGorget gorget = new RoyalPlateGorget();

            gorget.Hue        = 2407;
            gorget.Identified = true;
            AddItem(Immovable(gorget));

            RoyalPlateBoots boots = new RoyalPlateBoots();

            boots.Hue        = 2407;
            boots.Identified = true;
            AddItem(Immovable(boots));
        }