Ejemplo n.º 1
0
        public 登山鞋()
        {
            EquipmentType = EquipmentCHRType.Foot;
            Icon.Name     = "icon_foot";

            Name     = "登山鞋";
            Defense  = 5;
            Missrate = 1.5f;
            Worth    = 220;
            string str = ""; str += "品质:" + Quality.ToString(); str += "\n";

            str        += "防御:" + Defense.ToString("f1");
            str        += "\n";
            str        += "闪避:" + Missrate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "只记得挺贵的。";
            Description = str;
        }
Ejemplo n.º 2
0
        public 棒球帽()
        {
            EquipmentType = EquipmentCHRType.Head;
            Icon.Name     = "icon_head";

            Name     = "棒球帽";
            Defense  = 1;
            Missrate = 1f;
            Worth    = 38;
            string str = ""; str += "品质:" + Quality.ToString(); str += "\n";

            str        += "防御:" + Defense.ToString("f1");
            str        += "\n";
            str        += "闪避:" + Missrate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "很漂亮的帽子。";
            Description = str;
        }
Ejemplo n.º 3
0
        public 运动裤()
        {
            EquipmentType = EquipmentCHRType.Leg;
            Icon.Name     = "icon_leg";

            Name     = "运动裤";
            Defense  = 5;
            Missrate = 2.5f;
            Worth    = 180;
            string str = ""; str += "品质:" + Quality.ToString(); str += "\n";

            str        += "防御:" + Defense.ToString("f1");
            str        += "\n";
            str        += "闪避:" + Missrate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "姐姐给买的。";
            Description = str;
        }