Ejemplo n.º 1
0
        public Store()
        {
            this.AreaName = "General Store";
            cid           = new StoreKeeper("StoreKeeper Cid");
            ItemList      = new List <Items>();
            //name str vit bprice sprice dmg
            ItemList.Add(new Weapons("Short Sword", 5, 5, 10, 2, "3-12"));
            ItemList.Add(new Weapons("Long Sword", 10, 5, 30, 10, "7-18"));
            ItemList.Add(new Weapons("Masamune", 15, 10, 60, 10, "12-24"));
            ItemList.Add(new Weapons("Soul Edge", 25, 15, 100, 10, "18-28"));
            ItemList.Add(new Weapons("Blade of Chaos", 50, 30, 150, 10, "28-42"));
            // name  str vit bprice sprice
            ItemList.Add(new Armor("Chain Mail", 5, 10, 10, 5));
            ItemList.Add(new Armor("Plate Mail", 10, 15, 25, 2));
            ItemList.Add(new Armor("Gold Armor", 15, 25, 50, 2));
            ItemList.Add(new Armor("Mythril Armor", 25, 40, 100, 2));

            ItemList.Add(new Shields("Wooden Shield", 2, 5, 10, 3));
            ItemList.Add(new Shields("Plate Shield", 9, 13, 25, 5));
            ItemList.Add(new Shields("Gold Shield", 13, 30, 50, 5));
            ItemList.Add(new Shields("Magic Shield", 25, 40, 100, 5));
        }